MEncoder

„MEncoder is a free command line video decoding, encoding and filtering tool released under the GNU General Public License. It is a close sibling to MPlayer and can convert all the formats that MPlayer understands into a variety of compressed and uncompressed formats using different codecs.“

MEncoder. (2008, February 23). In Wikipedia, The Free Encyclopedia. Retrieved 18:57, April 5, 2008, from
http://en.wikipedia.org/w/index.php?title=MEncoder&oldid=193447614


My Blog List

Saturday, May 10, 2008

Re: [MEncoder-users] Remuxing to mp4 on windows

I've run into another problem. Here is the basic rundown on the method
I've been using:

mencoder $input -o NUL -sws 9 -vf harddup -oac copy -ovc x264
-x264encopts
bitrate=3400:vbv_maxrate=7000:vbv_bufsize=1200:bframes=3:nocabac:frameref=1:subq=1:level_idc=31:threads=auto:pass=1:turbo

mencoder $input -o temp.avi -of avi -noodml -sws 9 -vf harddup -oac
faac -faacopts br=160:object=2 -channels 2 -srate 48000 -ovc x264
-x264encopts
bitrate=3400:vbv_maxrate=7000:vbv_bufsize=1200:bframes=3:partitions=all:me=umh:nocabac:frameref=6:subq=6:level_idc=31:threads=auto:pass=2

mp4box -aviraw video temp.avi
mp4box -aviraw audio temp.avi
rename temp_audio.raw temp_audio.aac
mp4box -add temp_video.h264 -add temp_audio.aac -fps 23.976 -tmp c:\temp
MyMP4.mp4

mplayer plays the resulting file fine. The problem is that Quicktime
will not play the file, with the message: Error -2041: An invalid sample
description was found in the movie (MyMP4.mp4).

However, if I separately encode the audio with some other program like
neroAacEnc, Quicktime is quite happy with the file that mp4box produces.
So there is something "funky" about the .aac audio stream that is
produced by the mencoder / mp4box method. Any ideas?

_______________________________________________
MEncoder-users mailing list
MEncoder-users@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users

No comments:

PCBs

Links

Forex brokers, Forex online


Privacy Policy