[MEncoder-users] Remuxing to mp4 on windows
James Hastings-Trew
jimht at shaw.ca
Sun May 11 03:19:53 CEST 2008
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?
More information about the MEncoder-users
mailing list