[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++;







Skype: mrdebug

Libav-user mailing list
[hidden email]

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