[Libav-user] Transcoding frame rate mismatch

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Nov 5 02:44:49 EET 2019


Am Di., 5. Nov. 2019 um 00:16 Uhr schrieb Vassilis <bpantazhs at gmail.com>:
> I am trying simply to perform a transcoding process using the transcoding.c example from doc/examples. However I am seeing a very strange result (even when the example is not modified at all, ie not even changing codecs); the transcoded file has a marginally different frame rate than the original file. For example for a frame rate of 24 fps I get 24.14 fps. I also implemented this with the newer av_send/receive packet/frame functions to no avail. I would be most grateful for any insights, I've spent quite some time trying to troubleshoot this.

Can you reproduce the issue with the ffmpeg cli or only with transcoding.c?

Why do you think that the output frame rate is 24.14? What does ffmpeg
-i show for your input file?

Carl Eugen


More information about the Libav-user mailing list