VideoHelp Forum




+ Reply to Thread
Results 1 to 8 of 8
  1. Member
    Join Date
    Apr 2006
    Location
    Croatia
    Search Comp PM
    Hello everyone

    I hope someone has experience with this, since I didn't have any luck..

    The idea is to embed subtitles into the XviD movie and resize it to 16:9 for the purpose of watching on a DVD player (who supports XviD, but doesn't support subtitles).
    Also, I would like to use the vobsubs (idx + sub combination) for embedding.
    I don't want to touch video or audio encoding.. (I guess video must be altered because of the resize?)
    One other thing.. I will watch it on a 4:3 TV (but most of my XviD movies are even narrower than 16:9), so maybe it would be good to use the black area bellow the movie for the subs?

    I guess this can all be done with mencoder, but I haven't been able to make it recognize the idx+sub combination..

    Any help is very welcome!
    TIA!
    Quote Quote  
  2. Member
    Join Date
    Jun 2009
    Location
    Italy
    Search Comp PM
    -vobsub and -vobsubid are what you are looking for.
    Quote Quote  
  3. Member
    Join Date
    Apr 2006
    Location
    Croatia
    Search Comp PM
    Originally Posted by etvideob
    -vobsub and -vobsubid are what you are looking for.
    Those options are only available for MPlayer, not mencoder...:/
    Quote Quote  
  4. Get Slack disturbed1's Avatar
    Join Date
    Apr 2001
    Location
    init 4
    Search Comp PM
    That's a problem with all documentation on mencoder. Even though the man page, and the online docs tell you to use vobsub, mencoder does not support vobsub

    You can try a couple of things though, no idea if they work or not.
    -sid x -slang xx
    -sub x

    Look into converting the subtitles into a format mencoder supports.

    Or, use mplayer to play the file (with -vobsub options) and pipe it to mencoder.

    I don't use vobsub files myself, and can tell you that (for me) mencoder has auto loaded and hard encoded .srt subtitles without user intervention.
    Linux _is_ user-friendly. It is not ignorant-friendly and idiot-friendly.
    Quote Quote  
  5. You would have to re-encode at least the video in order to hardcode subs, and resize/add borders

    Another option on linux is to use avidemux which has a idx/sub subber, ability to add borders, and resize filters
    Quote Quote  
  6. Member
    Join Date
    Jun 2009
    Location
    Italy
    Search Comp PM
    Oh, yes. My bad.

    Since you have to re-encode anyway I am afraid you have to use the long way.
    Even if the sub files contains the mpeg ps1 track I found no way to mux it directly.

    Read here, it explains how to:
    http://wiki.archlinux.org/index.php/Convert_any_Movie_to_DVD_Video
    Quote Quote  
  7. Member
    Join Date
    Apr 2006
    Location
    Croatia
    Search Comp PM
    Hey guys, thnx for the response..

    It seems mencoder can't use vobsubs in any way (using -sub doesn't work).

    I gave Avidemux a shot today, and it seemed pretty decent. Reminds me of VirtualDub.

    So, I added 2 filter options - VobSub (Embed VobSub subtitles into picture) and MPlayer resize (Change image size. Faster than Avisynth's Resize).
    At first, it didn't work because I've set Video to "Copy", but then I changed it to "MPEG-4 ASP (XviD)".
    And after some 30 minutes of re-coding, the result had the wanted effect - it had the vobsubs embedded and the video was resized (I used 640x360 - 16:9 resolution).
    But... the video was strangely lagging. It's hard to describe - it was delaying in a twitchy way
    It seems something went wrong while re-coding... I didn't change anything - left it at the defaults...
    Any ideas? :S
    Quote Quote  
  8. Member
    Join Date
    Jun 2009
    Location
    Italy
    Search Comp PM
    As it is explained in the behind the link I posted I am afraid you have to:

    1- use tcextract to extract the raw ps1 stream from the sub file
    2- extract the pictures using subtitles2pgm
    3- eventually resize
    4- mux in the movie with spumux
    Quote Quote  



Similar Threads

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