[MEncoder-users] mkv to hard sub avi to m4v command line options and sync problems

belcampo belcampo at zonnet.nl
Wed Jan 13 09:57:35 CET 2010


v4r4n wrote:
> I've been having trouble finding out how to properly re-encode an mkv file
> with multiple audio tracks and subtitles.
> 
> $> mkvmerge -i <filename>.mkv
> 
> give me this information:
> 
> File '<filename>.mkv': container: Matroska
> Track ID 1: video (V_MS/VFW/FOURCC, DX50)
> Track ID 2: audio (A_AAC/MPEG4/LC/SBR)
> Track ID 3: audio (A_AAC/MPEG4/LC/SBR)
> Track ID 4: subtitles (S_TEXT/UTF8)
> Track ID 5: subtitles (S_VOBSUB)
> Track ID 6: subtitles (S_VOBSUB)
> 
> $> mkvextract tracks <filename>.mkv 1:video.avi 2:audio.aac 4:subtitles.srt
> 
> gives me the streams of data I'd like to combine into a single .avi or .m4v
> file.  The problem is when I try to do something like this:
> 
> $> mencoder -ovc copy -faac -oac -audiofile audio.aac -o test.avi
> 
> The audio no longer matches the video?
What do you want to achieve ? What do you think the avi can do what the 
mkv file can't do ?
You have a file where audio/video sync is OK. You even have subtitles. 
What more could one want ?
> 
> What am I doing wrong?  How do I use mencoder to combine a divx video file
> and acc audio file?  I thought this would be simple, but I can't find any
> examples/tutorials that work.
> 
> If this is the wrong place to ask for help, please point me in the right
> direction.
> 
> Thanks.
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users



More information about the MEncoder-users mailing list