[Libav-user] Variable frame rate

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Libav-user] Variable frame rate

Denis Gottardello

 

Hi, I'm creating an avi file with 5 fps.

Sometimes could be a delay from a frame to another so in a particular moment i could have an fps at 4.9.

In there a way to change at runtime the fps?

 

My code is (to create and start)

pOutputStream->pAVStream->time_base.num= 100;

pOutputStream->pAVStream->time_base.den= 5;

 

and pts is

OutputStreamVideo.pAVFrame->pts = OutputStreamVideo.next_pts++;

 


--

+39.347.4070897

http://www.labcsp.com

http://www.denisgottardello.it

GMT+1

Skype: mrdebug


_______________________________________________
Libav-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".