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

v4r4n console.cowboy at gmail.com
Wed Jan 13 19:54:21 CET 2010


That in essence is my question.. do I currently need to do something special
to properly identify and copy aac audio with mencoder?

I'll try:

$> mencoder inputfile -ovc copy -oac copy -audiofile audio.aac -o output.avi

tonight and start providing more articulate results.

On Wed, Jan 13, 2010 at 12:11 AM, Grozdan <neutrino8 at gmail.com> wrote:

> On Wed, Jan 13, 2010 at 9:04 AM, v4r4n <console.cowboy at gmail.com> 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 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.
>
> mencoder inputfile -ovc copy -oac copy -audiofile audio.aac -o output.avi
>
> I've no idea if this works with aac though. I recall mencoder had
> (has?) issues when copying aac audio but I only tried on files which
> already carry the aac audio, not when specifying an external aac audio
> file
>
> >
> > 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
> >
> _______________________________________________
> 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