[MEncoder-users] Last two frames missing

Mark Himsley mark at mdsh.com
Tue Jul 7 17:35:09 CEST 2009


On Tue, Jul 07, 2009 at 02:59:11PM +0200, Reimar Döffinger wrote:
> On Tue, Jul 07, 2009 at 11:50:45AM +0000, Mark Himsley wrote:
> > I need to make a full table to results and post it somewhere useful so that
> > people more clever than I can say "oh, I know how to fix that" ;-)
> 
> Yes, use threads=1.

Interesting. Changing from threads=0 to threads=1 made no difference to my test
results. I'm very bad^wlazy and am using the mencoder build from
http://oss.netfarm.it/mplayer-win32.php

This looses two frames off the end (sorry about the line length).

@echo "PASS 1"
mencoder -v -noskip -mc 0 -af channels=2 -vf harddup -ofps 25 -oac pcm -ovc x264 -x264encopts interlaced:pass=1:turbo=2:global_header:bitrate=4000:keyint=180:bframes=3:direct_pred=auto:frameref=1:me=umh:partitions=all:b_pyramid:threads=1      -passlogfile "Clock10.mov-004.avi.log" -o "Clock10.mov-004.avi" "..\Clock10.mov" > "Clock10.mov-004.avi-pass1.txt" 2>&1

@echo "PASS 2"
mencoder -v -noskip -mc 0 -af channels=2 -vf harddup -ofps 25 -oac pcm -ovc x264 -x264encopts psnr:interlaced:pass=2:turbo=2:global_header:bitrate=4000:keyint=180:bframes=3:direct_pred=auto:frameref=6:me=umh:partitions=all:b_pyramid:threads=1 -passlogfile "Clock10.mov-004.avi.log" -o "Clock10.mov-004.avi" "..\Clock10.mov" > "Clock10.mov-004.avi-pass2.txt" 2>&1

echo "Back to DV 25"
mencoder -v -noskip -mc 0 -af channels=2 -vf harddup -ofps 25 -oac pcm -ovc lavc -lavcopts vcodec=dvvideo -of lavf -lavfopts format=mov -o "Clock10.mov-004.avi-DV.mov" "Clock10.mov-004.avi" > "Clock10.mov-004.avi-DV.mov.txt" 2>&1


Remove b_pyramid from the above and I only loose one frame.

I'll try to make the time to build my own mencoder and use your patch.


-- 
Mark Himsley


More information about the MEncoder-users mailing list