[MEncoder-users] Transcoding challenge
Grozdan
microchip at telenet.be
Tue Feb 10 21:03:32 CET 2009
On Tuesday 10 February 2009 20:53:15 Jon Drukman wrote:
> Here is a sample file recorded from the Apple's built in camera using
> the "Photo Booth" application. It plays fine in mplayer, Quicktime
> Player, VLC, etc.
>
> http://s3.thismoment.com/test.mov
>
> The ultimate goal is to produce a converted video that contains H.264
> video and AAC audio, compatible with the Apple iPhone and a web-based
> flash player. I have been unable to generate a file that maintains a/v
> sync.
>
> Here is my basic command line:
>
> mencoder test.mov -o test.mp4 -of lavf -oac lavc -ovc lavc -lavcopts
> vcodec=libx264:mbd=1:vbitrate=640:acodec=libfaac
do not use the lavf muxer as mencoder is currently broken when used with it.
Instead output to AVI and then remux with MP4Box
your settings are also a bit odd. Use instead
-ovc x264 -x264encopts
bitrate=640:me=umh:subq=7:frameref=2:nocabac:no8x8dct:bframes=0:level_idc=30
if you still get a/v problems, add -mc 0 -noskip somewhere in the mencoder
line
>
> The end output always contains something like:
> Video stream: 640.591 kbit/s (80073 B/s) size: 1381950 bytes 17.258
> secs 252 frames
>
> Audio stream: 105.388 kbit/s (13173 B/s) size: 233392 bytes 17.717 secs
>
> Notice how the video and audio stream lengths differ by almost 1/2 a
> second.
>
> I've tried various muxers, combinations of harddup, ofps, fps, etc...
> with no luck. I am using MEncoder SVN-r28446-4.0.1.
>
> -jsd-
>
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
More information about the MEncoder-users
mailing list