VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Member
    Join Date
    Apr 2007
    Location
    Belgium
    Search Comp PM
    Hi All, i have a question about encoding a file with mencoder, more specifically i have a problem with adding a certain subtitle file to my newly encoded file.

    I want to convert an Avi i have to a MPG file, included i have .sub/.idx subtitle file.
    When i try to encode it says sub: it can not determine file format. and offcourse my encoded mpg does not have subtitles...

    When i try this action with a .srt file it does work. So i'm wondering if Mencoder supports using .sub/.idx files to put in the encoded file...

    The command i try now to "test" is :mencoder test2.avi -o test.mpg -ovc lavc -lavcopts vcodec=mpeg2video -oac copy -sub test.sub
    (i also tried test.idx with the same result)

    Does anyone have a suggestion ? Thx in Advance
    Quote Quote  
  2. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    The best suggestion is simple.
    Don't!
    Personally I think hardcoding subs in an mpeg2 video file is as close as you can get to a cardinal sin using video software.

    What would be better is to convert your subs to something you can use with an authoring program.
    https://forum.videohelp.com/viewtopic.php?t=267416
    Find useful info at above link.

    As for using mencoder to hardcode subs, afaik you can't do what you want to do.
    Again the simple thing would be to convert to srt subs so you can use them with mencoder.

    I'm pretty sure you can't just use mencoder, but there's a workaround where you use mplayer to dump to a stream of losseles yuv frames with subs overlaid and then encode that stream with mencoder.

    gl
    Quote Quote  
  3. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    -sub would be for a text based sub. Don't think mencoder actually supports vobsub's either that or they end up semi transparent. I really couldn't recommend mencoder for hardsubbing. Didn't work with libass last I checked either. So just because mplayer behaves one way doesn't mean that mencoder will do the same.

    Also with no output format specified I think you will get an avi.
    Quote Quote  
  4. Member
    Join Date
    Apr 2007
    Location
    Belgium
    Search Comp PM
    well, the thing is i use Transcode360 which uses mencoder for it's transcoding so i don't a real option. But anyway, i'm now manually converting my avi's to mpeg with fixed subs for some video's.

    Thx for the tips
    Quote Quote  



Similar Threads

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