[MEncoder-users] anime,pullup,skipped/duplicated frames
Rich Felker
dalias at aerifal.cx
Wed Nov 30 05:18:02 CET 2005
On Tue, Nov 29, 2005 at 11:21:25PM +0100, Gábor Farkas wrote:
> hi,
>
> i am trying to encode something from an anime dvd.
>
> first i am trying to find a way to get rid of the telecine,
>
> -vf pullup works fine,
> when i play the video with "mplayer -vf pullup",
> i can see that every fourth frame is duplicated (so it was like ABCDD
> ABCDD ABCDD ).
>
> i tried something like this:
>
> mencoder -oac copy -ovc lavc -lavcopts turbo arusu-intro.vob -ofps
> 24000/1001 -vf pullup,softskip -o arusu.avi
>
> what i get at the end looks ok, but while encoding i'm getting
> frame_skipped and frame_duplicated messages.
>
> for 90seconds of anime, i got 75skips and 22 duplicated frames (full
> gzipped mencoder log attached).
> isn't that too much?
>
> or is that number ok? why?
it depends on the content. during stills pullup has no information to
go on, so it will output exactly what it got as input. dropping some
of these frames (which are all the same) during the still is no
problem.
duplicate frame messages come when pullup outputs too _few_ frames and
mencoder has to compensate by duplicating one of the ones there. it's
normal to have a few because of unmatchable fields at scene changes
and such, but 22 sounds like a lot. all i can say is to step through
the whole thing frame-by-frame and see if you're satisfied that pullup
isn't dropping too much. using -v gives you an ascii-art
representation of pullup's field matching, btw.
> should i maybe try a different -ofps?
24000/1001 is almost certainly right, but there are some rare cases
where anime also has 30fps content mixed in.. you'll have to watch to
see, but there's still really nothing good you can do since mencoder
does not support vfr (variable framerate) and most of the content will
be 24000/1001.
rich
More information about the MEncoder-users
mailing list