Nicolas Krieger wrote:
[...]
> This is how I do :
> 
> AVCodecContext *video_enc;
> ...
> video_enc->time_base.num = (int)(frameRate*100.0); //frameRate value is : 2
> video_enc->time_base.den = 100;
> ...
> 
> Is it correct ?

I have the impression you are exchanging numerator and denominator in the
time base (time_base = 2 => 0.5fps).


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

Reply via email to