[MEncoder-users] Remuxing to mp4 on windows
Raimund Berger
raimund.berger at gmail.com
Tue May 13 06:18:24 CEST 2008
James Hastings-Trew <jimht at shaw.ca> writes:
>> mp4box -aviraw video temp.avi
>> mp4box -aviraw audio temp.avi
>> rename temp_audio.raw temp_audio.aac
>> mp4box -add temp_audio.aac temp_audio.m4a
>> mp4box -add temp_video.h264 -add temp_audio.m4a -fps 23.976 -tmp c:\temp
>> MyMP4.mp4
>
> Tried this this morning, and it doesn't work. I'm going with my
> externally encoded .m4a audio solution for now, unless someone else has
> a "caramilk" secret to share about how to this.
OK, for the records, I just encoded a 90 sec clip from the NTSC
Criterion DVD of Godard's "Le Mepris" with standard faac options as
already mentioned in this thread, and muxed it even without the
intermediate step mentioned above. It played back fine with QT 7.2 on
Windows XP, in both respects video and audio. So for me, it works
"out of the box".
Here the precise steps I took (Linux, only 2nd encoding pass shown):
mencoder-svn -msglevel statusline=6 -passlogfile .stats \
-oac faac -faacopts br=128:object=2:mpeg=4 \
-vf filmdint,crop=704:368:10:54,harddup \
-ovc x264 -x264encopts \
-pass=2:bitrate=1000:ref=5:bframes=1:b-rdo:direct=auto:subme=6:\
trellis=1:partitions=p8x8,b8x8,i4x4:me=umh:filter=-2,-2:threads=auto:\
no-psnr:no-ssim \
-ofps 24000/1001 -o clip.avi clip.vob
MP4Box -aviraw video clip.avi
MP4Box -aviraw audio clip.avi
mv clip_audio.raw clip_audio.aac
MP4Box -fps 23.976 -add clip_video.h264:par=32:27 \
-add clip_audio.aac:lang=en clip.mp4
More information about the MEncoder-users
mailing list