[MPlayer-users] Mencoder seems to skip duplicate frames - switch?
brettk at interdynamix.com
Mon Mar 10 17:56:29 CET 2003
> Hi again!
> What a pity that I did not get any answer yet ;-}, I'd like to ask again:
> - Can I prevent mencoder/mplayer from skipping duplicate frames?
> - Or can I tell mencoder with -oac copy and -ovc copy to use a concrete (e.g.
> +400ms) A/V sync offset?
The only solution I've been able to come up with is to modify mplayer to
include a switch to disable this behaviour. If you look in mplayer.c,
you'll find this:
Then, the blit_frame variable is used to determine if the frame should be
outputted. The problem is this also applies to output devices like
yuv4mpeg! The solution is to either change this code to:
Or create a new variable + command-line argument (what I did) to
selectively disable the behaviour depending on user input.
More information about the MPlayer-users