1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Baking subtitle with virtualdub

Discussion in 'Subtitle help' started by cultor, Oct 17, 2008.

  1. cultor

    cultor Member

    Joined:
    Feb 14, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    I have some avi files wich I want to add subs. I tryed using virtualdub with the xvid setting like described on this site. BUT the file is almost twice the size now. How do I keep it the same size?
    I tryed toying with the quality settings but I can gain like 50mb on a 400 mb file with allot of loss of quality.

    Do I need another codec? or another programm to compress the avi file?
     
  2. MilesAhed

    MilesAhed Regular member

    Joined:
    Apr 13, 2005
    Messages:
    395
    Likes Received:
    0
    Trophy Points:
    26
    What kind of subtitles do you have?
    Why do you need them hard coded?

    What player is going to be used with the output?
    IOW, I'm trying to find out why soft subs aren't
    an option.. otherwise you could just use AviAddXSubs.

    When specifying subtitle format make sure to tell if
    they are text or binary for formats that could be either.
     
  3. cultor

    cultor Member

    Joined:
    Feb 14, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    first of, thanks for the reply

    ok, I Watch xvid files on my dvd player (TV)
    My dvd player doesn't add the srt files himself (normally if the filenames are identical it automaticly adds that subs) , I have to manually attach it every time a new XVID file starts, wich is annoying.

    I use srt files for subs but found a tutorial here with the virtualdub programm and that uses ssa files, so I just downloaded a converter

    Hope that helps
     
  4. MilesAhed

    MilesAhed Regular member

    Joined:
    Apr 13, 2005
    Messages:
    395
    Likes Received:
    0
    Trophy Points:
    26
    Sounds like you have Philips dvp642 that I used to have.
    If that's so hang onto the silver remote because you may
    at some point want to update to dvp5990. It handles subs much
    better(you can have .divx file with multiple idx/sub and it won't
    do weird stuff) plus when you hit the Stop button when playing an
    .avi it doesn't go back to the begining of the file. I mention
    keeping the silver remote because the main drawback of the Philips
    dvp5990 is the remote is a flimsy brittle black pieced of crap
    and to fast forward you have to hold down the Next Chapter button
    for like 2 seconds!! But the Silver remote will work just like it
    did on the dvp642.

    Ok, to the other point... to be honest I don't do a lot with virtual
    dub. To hard code subs into an .avi I recommend AviDemux 2.4.

    Load your .avi file and select AVI as output type. Under Video
    select XVID and press Configure button..in the xvid settings use Single Pass Bitrate accept the default 1500(unless you have a super high quality avi then you can bump it up a bit maybe to 1800 or 2000) then in Motion & Misc Tab uncheck BVHQ and set Number of B-frames to 0. Quantization Tab only change is to check Trellis quantization. Click OK. Audio you can just leave on Copy.

    Here's where we hard code the subs:
    Convert your .srt to idx/sub.
    In Video click Filters then the Subtitle Menu. Select VobSub
    and click the big + sign. Use Select .idx and accept the defaults.
    Use preview to check it out. When the .avi comes out the other
    end the subs will be burned in. (You select Save from the main
    window toolbar and save the file someplace to process it.)

    Also in AviDemux it's a good idea to set these options in
    Edit=>Preferences: Automation tab.. check them all
    CPU Tab.. top box should be checked if you have a newer processor.
    Threading Tab .. Auto detect and do whatever you like with the priority settings.

    AviDemux is good because many times when you load an .avi file and
    save it as Unpacked Vop with those settings, it will play on a
    stand-alone without reencoding the video.. esp. with the newer
    UltraDivx players. The file save is about 1/2 as fast as a file copy.
    You can watch the progress bar go right across.


    It may seem a little different at first because it has a portable GUI interface for both Windows and Linux but AviDemux is one of the easiest to use. Plus it has extensive docs on the Wiki Docs site.

    http://avidemux.sourceforge.net/
     
    Last edited: Oct 18, 2008
  5. MilesAhed

    MilesAhed Regular member

    Joined:
    Apr 13, 2005
    Messages:
    395
    Likes Received:
    0
    Trophy Points:
    26
    btw the other thing you can do besides hard subs if you do have a
    player that can play divx with soft subtitles embedded is use AviAddXSubs.
    You have an .avi file and a subtitle file with the same base name. Load
    the .avi file and it will output a file with a .divx extension. If you do
    have Philips dvp642 it will work with it. In fact you can set your player
    to turn the subs on automatically. If you use idx/sub format text subs
    make sure there is only one language or dvp642 can have problems. The newer
    divx players can handle it but the older ones seem to spit out funky
    spacing or weird colors if you have more than one language in an idx/sub set. You
    can use VobSubStrip to just get the English subs.
     
    Last edited: Oct 19, 2008

Share This Page