[Libav-user] FPS incorrect (regression) with new codecpar api

Gonzalo ggarra13 at gmail.com
Fri Jun 24 17:29:25 CEST 2016

Compiled from HEAD.  muxing example (only one that has been updated to 
new api) compiles and runs fine, but ffprobe returns the following for 
the resulting movie:

Duration: 00:00:10.03, start: 0.000000, bitrate: 289 kb/s
     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 
352x288, 220 kb/s, 25.10 fps, 25 tbr, 12800 tbn, 50 tbc (default)

Notice it says 25.10 fps instead of just 25 fps as set in the code.

I am seeing the same behavior on my code, with fps that are 25.1603 for 

Gonzalo Garramuño
ggarra13 at gmail.com

More information about the Libav-user mailing list