[MEncoder-users] Newbie struggling with pullup

Laine Lee llee at lonestar.utsa.edu
Mon Mar 31 21:32:37 CEST 2008


On 3/1/08 1:22 AM, "Scott Larson" <scowl at pacifier.com> wrote:

> On Fri, 2008-02-29 at 18:07 +0100, Grozdan Nikolov (openSUSE Linux)
> wrote:
>> Alternatively you can use
>> 
>> -vf framestep=2,filmdint=fast=0,softskip,harddup -fps 60000/1001
>> -ofps 
>> 24000/1001
>> 
>> this gives the best results on your sample here
> 
> I've thrown the most problematic 720p clips I've collected over the
> years at this filter chain and I haven't been able to make it fail yet.
> It's very fast too. Thanks!

Because about a month has gone by, I wasn't sure whether to submit this as a
reply to this thread or not, but I decided in favor of it.

I was able to use the above filter chain for clips with great success, but
found that when applied to longer captures, it resulted in several
apparently randomly occurring passages during which the output contained 3
unique frames out of every 4, as well as what seemed to be a gap in the
motion between the pair of unique frames and the pair of duplicates in that
group, as though a previous frame had been skipped. It seemed logical to me
that this would be the result if the order of pullup had been "flipped"
regarding the 3:2 arrangement.

Anyway, because none of my attempts to use "decimate" yielded results as
desirable as those achieved using this filter chain in the passages where it
worked properly, I kept coming back to it again and again.

Because I tried so many modifications for the command line, I consider it
almost by accident that I seem to have finally found a single additional
option that completely remedied the problem of incorrectly skipped and
duplicated frames described above. The solution was simply to include
"-noskip".

Here's a complete 2-pass command example for converting one of my 720p
source files to a high quality format which can be authored to standard or
dual-layer DVD with dvdauthor. Please send any corrections if you spot
something wrong or obviously unneeded.

mencoder -oac copy -ovc lavc -lavcopts
vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9000:vbitrate=7600:me_range=
8:ilme:vme=5:vqcomp=1:vrc_eq=tex^qComp:keyint=18:trell:mbd=2:precmp=2:subcmp
=3:cmp=3:dia=-10:predia=-10:cbp:vqmin=1:lmin=1:dc=10:vstrict=0:aspect=16/9:v
pass=1:turbo -vf framestep=2,filmdint=fast=0,softskip,harddup,scale=720:480
-noskip -of mpeg -mpegopts format=dvd:tsaf:telecine -fps 60000/1001 -ofps
24000/1001 -o /dev/null /Users/me/inputfile.mpg && mencoder -oac copy -ovc
lavc -lavcopts 
vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9000:vbitrate=7600:me_range=
8:ilme:vme=5:vqcomp=1:vrc_eq=tex^qComp:keyint=18:trell:mbd=2:precmp=2:subcmp
=3:cmp=3:dia=-10:predia=-10:cbp:vqmin=1:lmin=1:dc=10:vstrict=0:aspect=16/9:v
pass=2 -vf framestep=2,filmdint=fast=0,softskip,harddup,scale=720:480
-noskip -of mpeg -mpegopts format=dvd:tsaf:telecine -fps 60000/1001 -ofps
24000/1001 -o /Users/me/outputfile.mpg /Users/me/inputfile.mpg

Anyway, I'm quite excited to have found the solution. Next I'll be looking
into dividing the DVD content into chapters, so please tell me if you have
any suggestions. Thanks.

-- 
Laine Lee





More information about the MEncoder-users mailing list