[Libav-user] fps porblem when saving video in mp4 container

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Nov 22 22:59:58 CET 2012


Morduhaev, Igor (igorm at ... <igorm at ...> writes:

> When I decode frames from avi file and then decode them in 
> x264 and save to mp4 file, the fps of the output file is 
> always 12,800. Therefore the file is played very fast.
> 
> What could be the problem?

Your code does not compile, it is therefore difficult to test...

You could test with ffmpeg (the application) and let the 
libraries print the values you set in your code to find 
out which one is wrong.

Carl Eugen



More information about the Libav-user mailing list