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

Monday, May 12, 2008

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

James Hastings-Trew <jimht@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
_______________________________________________
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