[MPlayer-users] VFR recode

Rich Felker dalias at aerifal.cx
Mon Mar 19 03:27:10 CET 2007


On Sun, Mar 18, 2007 at 11:22:28PM +0300, Phil Oleynik wrote:
> RC wrote:
> >On Sat, 17 Mar 2007 23:34:22 +0300
> >Phil Oleynik <Oleynik.Phil at mail.ioffe.ru> wrote:
> >
> >  
> >>is it possible to recode VFR video to normal, constant fps video with
> >>mencoder?
> >>    
> >
> >Just use -ofps to set the framerate you want.
> >  

Also use -vf harddup for true constant framerate.

> Thank you, I finally understood how to use it, the ofps should be higher 
> than ceiling fps in VFR file. Otherwise, drastic A-V desync occurs.
> 
> Another question, why the mencoder crashed in the end of file with this 
> line:
> mencoder: ratecontrol.c:692: ff_rate_estimate_qscale: Assertion 
> `picture_number<rcc->num_entries' failed.
> 
> There were many duplicates during encoding.

This means your commandline for pass 2 did not match the command line
for pass 1. Anything that affects a/v sync and frame counts MUST be
identical.

Rich



More information about the MPlayer-users mailing list