[MEncoder-users] Convert DTS audio to AC-3 in mkv file

Pedro Abranches pedrof.abranches at gmail.com
Tue Dec 15 13:58:30 CET 2009


2009/12/15 The Wanderer <wanderer at fastmail.fm>:
> For one thing, that command line creates an AVI file, and gives it the
> filename you asked for (which happens to have a .mkv extension).
>
> To create a non-AVI file with MEncoder, you need the '-of' option. To
> create an MKV file, if my man page isn't misleadingly incomplete, you
> may actually need to use a different tool (e.g. mkvmerge) to remux after
> your mencoder step - or just use 'ffmpeg -i video.mkv -acodec ac3
> -vcodec copy video2.mkv', and see if that does what you need.

Hi. Thanks for the help. I got it working now :)

I first used mencoder to create a non-avi file, like you said, and
then simply used mkvmerge.

mencoder video.mkv -o video.avi -oac lavc -lavcopts
acodec=ac3:abitrate=448 -ovc copy
mkvmerge video.avi -o video2.mkv

Thanks once again.

Pedro Abranches


More information about the MEncoder-users mailing list