Thank you for your reply. The input video is encoded with hevc at 25 fps. I tries this command: ffmpeg -threads 1 -vsync drop -i <input_video> -f null /dev/null I got this message in yellow: Encoder did not produce proper pts, making some up
Unfortunately, I can not reach 25 fps while decoding, even with dropping frames. So I think that the option for "frame dropping" is not working !! On Wed, May 9, 2018 at 5:11 PM, Gabriel Balaich <roderroo...@gmail.com> wrote: > > > > Hello, > > could you tell me how to enable "frame dropping" while decoding with > ffmpeg > > ? > > > > *"-vsync parameter* > *Video sync method. For compatibility reasons old values can be specified > as numbers. Newly added values will have to be specified as strings > always.* > > *0, passthrough* > *Each frame is passed with its timestamp from the demuxer to the muxer.* > > *1, cfr* > *Frames will be duplicated and dropped to achieve exactly the requested > constant frame rate.* > > *2, vfr* > *Frames are passed through with their timestamp or dropped so as to prevent > 2 frames from having the same timestamp.* > > *drop* > *As passthrough but destroys all timestamps, making the muxer generate > fresh timestamps based on frame-rate.* > > *-1, auto* > *Chooses between 1 and 2 depending on muxer capabilities. This is the > default method."* > > If I'm understanding you correctly -vsync should be what you are looking > for. > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".