AVI subtitles can they be removed?

Discussion in 'DivX / XviD' started by shand617, Feb 2, 2005.

  1. shand617

    shand617 Member

    Joined:
    Jan 16, 2005
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    11
    I have an avi file that has subtitles on the bottom. Not on the film. Is there a way to remove them?
     
  2. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    Sure, if they are hard encoded, just crop them off. Something like avisource("whatever.avi").crop(0,0,0-32) you could even add the black back if you wanted.

    I really can't see the point though, well unless you wanted to add different subs.
     
  3. shand617

    shand617 Member

    Joined:
    Jan 16, 2005
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    11
    Where do I get this program please. Also I don't want to add subtitles. I have hebrew subtitles running across the bottom of the avi file and don't want to see them when I watch.
     
  4. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    I would just crop them off during playback then. Could be done say by DirectX shader or ffdshow. Re-encoding will cause a loss in quality (or major increase in filesize), plus it takes time.

    In my first reply I was refering to using AVISynth. Basically you would use a script like the above, then re-encode using something like VirtualDubMod. The audio you should re-use though.
     
  5. The_OGS

    The_OGS Active member

    Joined:
    Feb 18, 2004
    Messages:
    1,461
    Likes Received:
    0
    Trophy Points:
    66
    Hmmmmm, shand (LoL) are you watching someone else's backups again...
    Is your video wide aspect ratio, with subtitles below picture on black? Could just crop those off like celtic_d said.
    Don't worry, the black will fill in the void automatically.
    An advanced player (such as the DivX player) will allow you to change aspect ratio, and I believe crop, during playback :)
    I have some AVIs without the anamorphic 'stretch', big trouble to correct, so I just correct their playback individually when viewed, by adjusting the DivX player...
    And no, WMP won't do that.
    L8R
     
  6. shand617

    shand617 Member

    Joined:
    Jan 16, 2005
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    11
    I am a newbie to all of this. I am trying to take the AVI file delete the subtitles running across the bottom in the black in 16:9 format. I have downloaded AVIsynth and FFDshow I have Virtualdub but don't have any idea of how to intergrate these so I can crop them. I can't figure how to get them to work with each other. Is there a guide to this for the video challenged?
     
  7. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    1) Open original file in VDubMod and under the streams menu extract the audio.

    2) Create AVISynth script in notepad, saving as whatever.avs. avisource("whatever.avi",false).crop(0,0,0,-32) using whatever value is required to crop the subtitles off. Note that it is best to keep the resolution divisinle by 16, also to crop all the black pixles off. So to crop the top you would add a positive value such as crop(0,16,0,-32). You can find full details on using crop in the AVISynth docs.

    3) Open AVS as source for encoding with VDubMod or equiv. Setup video codec for first pass, then either run or add to batch. Setup 2nd pass, add original audio and encode.
     
  8. shand617

    shand617 Member

    Joined:
    Jan 16, 2005
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    11
    Newbie strikes again. I opened VirtualDubMod 1.5.10.1 I then open the avi file. I go to the tool bar and under Streams I see VIDEO COMMENTS - VIDEO CHAPTERS - STREAM LIST - REPORT - ERROR MODE. I can't find how to extract the audio. Please understand that I appreciate your help but I am truly new to working in this area. I have downloaded all the programs necessary, this doesn't mean I have an idea of how to do this. Thanks again for your patience.
     
  9. no_cr

    no_cr Member

    Joined:
    Jan 19, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    11
    I'm just dld the Der Untergang avi with NL subs, It's possible remove it from the avi? I don't want to crop it. Help me please??!
    TIA
     

Share This Page