Hi,

I need to capture video screen each ten seconds. I thought there was no
problem until I tried to read the videos.
With ffmpeg -i video.avi, I've got a message that says that the codec frame
rate of a stream differs from the container frame rate.
The container frame rate is correct, but not the stream frame rate.

Here is how I do :

_stream->codec->time_base.den=(int)(_frameRate*100.0);  // in this case
_frameRate = 0.1
_stream->codec->time_base.num=100;

What's wrong ?

Nicolas Krieger
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to