[FFmpeg-trac] #6298(ffmpeg:new): Using image2 duplicates frames even with -r as input option

FFmpeg trac at avcodec.org
Sun Apr 9 21:45:01 EEST 2017

#6298: Using image2 duplicates frames even with -r as input option
             Reporter:  LordHDL     |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  ffmpeg
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |

Comment (by LordHDL):

 The 59.77 comes from recording video on frame arrival as opposed to
 specifying a fixed rate.  I tend to record things on my desktop and using
 a fixed rate will result in frames simply not being captured.  The
 fluctuations will produce videos with odd rates like that, but every frame
 is present and accounted for.

 Using `-vsync 0` did actually prevent frame dupes, although if I don't
 also use the `-r` input option I get this message:

 [image2 @ 0x7f85ad810000] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 46 >= 46

 I'm not sure what that means.  Leaving the `-r` option prevents that
 message, and both ways seem to prevent dupes.

Ticket URL: <https://trac.ffmpeg.org/ticket/6298#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list