VideoHelp Forum




+ Reply to Thread
Results 1 to 13 of 13
  1. Member
    Join Date
    Aug 2008
    Location
    England
    Search Comp PM
    Hey!
    I downloaded a movie and an srt file (subtitles) and I want to burn them together into a DVD.
    I've just discovered Avisynth and I wrote an .avs file:

    AviSource("D:\vegas\whiv.avi")
    ConvertToYV12()
    AddBorders(0,0,0,128,$000000)
    TextSub("D:\vegas\whiv.srt")

    1. I don't know how to write this code in Avisynth but I want the audio
    to come from another file: "D:\vegas\whiv.wav" instead of the original
    audio on the .avi file. How can I do this?

    2. I want to extend the subs size, font, position... are there any codes that I
    can write in the .avs file so I can change any of those values?

    3. I wonder if instead of export the movie file as DivX .avi file from VirtualDub and then
    transcode the .avi file to DVD format through NeroVision I can transcode an .avs file
    through NeroVision? (skip the VirtualDub step)

    Sarlula.
    Quote Quote  
  2. Banned
    Join Date
    Oct 2004
    Location
    Freedonia
    Search Comp PM
    I would NOT recommend using NeroVision for encoding to DVD. Nero is less than an optimal choice here.

    If you can write AviSynth scripts, you can feed those into the excellent and free HCEnc encoder and it can encode to DVD compatible format (video ONLY though) for you. Then you just need something to use to author the DVD. Then you could use your WAV file as audio. I'm unsure if you want your subs to be burned in or as selectable subs. Most DVD authoring programs won't accept SRT format subs, so you'll probably have to convert to some other format. If you want to have burned in subs that are always on, you can use a setting in ffdshow to turn them on. I did this some weeks ago, so it's definitely possible. Then I was able to encode my video with hard coded subs, which was what I wanted. It required no special lines in my script.

    By the way, while this may not be true for you, on my PC I must without fail first open my AviSynth script with Media Player Classic and be sure it starts OK before trying to encode it. If I try to just feed the script into HCEnc without that step, almost always I get told that my source file can't be found. If Media Player Classic can open the script successfully, then I can feed it to HCEnc and it will begin to encode the file.
    Quote Quote  
  3. video = AVISource("video.avi", false) #false disables audio from video file
    audio = WAVSource("audio.wav")
    AudioDub(video, audio)
    Quote Quote  
  4. You don't need the ConvertToYV12 line as the AVI is almost certainly YV12 already. To confirm, add Info() to the script (without the Convert line) and open it in VDub(Mod).

    Your AddBorders line almost surely gives you bad aspect ratio. Get the crop/resize/addborders line from FitCD. What's the original AVI resolution? Is it really 720x448 for a PAL DVD? You don't need to have $000000 specified as black's the default color anyway. Why not split the eventual AddBorders command between the top and bottom and make the subtitles selectable, like normal people. Why ruin the thing by hard-coding the subs into the video?

    Add the audio during the authoring stage.

    You can't specify anything with SRT subtitles. If you convert them to SSA you can specify about anything; size, font, color, position, etc. But like I said, much better would be to make them selectable.

    You don't need VDub and you sure as heck don't need NeroVision. If the script is good (jman98 explained one way to test), open it directly in HCEnc or another MPEG-2 encoder.
    Quote Quote  
  5. Member
    Join Date
    Aug 2008
    Location
    England
    Search Comp PM
    jman98,
    1. You're saying that HCEnc can only encode video right? so, after using HCEnc I got the VIDEO_TS folder but there is no audio. How can I add the audio and burn them together?

    2. You're right - I want to burn the subs in (NOT selectable). Is TexSub script in the .avs file is right? and do ffdshow and TextSub working together so if I change the properties in ffdshow TextSub will detect it?
    Quote Quote  
  6. ...so, after using HCEnc I got the VIDEO_TS folder but there is no audio.
    HCEnc doesn't author; it encodes. You'll get back an MPV/M2V. You do the authoring yourself, at which time you add the audio.
    Quote Quote  
  7. Member
    Join Date
    Aug 2008
    Location
    England
    Search Comp PM
    Originally Posted by manono
    ...so, after using HCEnc I got the VIDEO_TS folder but there is no audio.
    HCEnc doesn't author; it encodes. You'll get back an MPV/M2V. You do the authoring yourself, at which time you add the audio.
    What is the difference between VirtualDub and HCEnc?
    Why should I just use VirtualDub and then author?
    Why jman98 said to use HCEnc?
    Quote Quote  
  8. Originally Posted by Sarlula

    What is the difference between VirtualDub and HCEnc?
    Why should I just use VirtualDub and then author?
    Why jman98 said to use HCEnc?
    There are many differences.

    For this the purposes of this discussion, vdub can't output MPEG2 (you can't make a DVD then)
    Quote Quote  
  9. Member
    Join Date
    Aug 2008
    Location
    England
    Search Comp PM
    is there any guide how to use HCEnc?
    There are many options and I am kind of confused.
    Quote Quote  
  10. Originally Posted by Sarlula
    is there any guide how to use HCEnc?
    There are many options and I am kind of confused.
    https://www.videohelp.com/guides?tools=762&&archive=%25

    Not to discourage you from learning, but you could use FAVC, which can use HCenc as the backend encoder

    It is really easy to convert avi=>dvd and even authors with subtitles & makes a simple menu for you. It's just a few clicks and simplifies the process; and best of all free. Another option would be DVDFlick
    Quote Quote  
  11. Banned
    Join Date
    Oct 2004
    Location
    Freedonia
    Search Comp PM
    Quote Quote  
  12. Member
    Join Date
    Aug 2008
    Location
    England
    Search Comp PM
    kman98,
    I must ask:
    What is the best author app to use after working with this guide?
    There are the audio and video seperated. I want it to work in a DVD cd.
    Quote Quote  
  13. Man of Steel freebird73717's Avatar
    Join Date
    Dec 2003
    Location
    Smallville, USA
    Search PM
    Originally Posted by Sarlula
    kman98,
    I must ask:
    What is the best author app to use after working with this guide?
    There are the audio and video seperated. I want it to work in a DVD cd.
    Guifordvdauthor is a good free one. I personally like dvdlab (not free though).
    Donadagohvi (Cherokee for "Until we meet again")
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!