[Libav-user] PTS calculation from timeval

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

[Libav-user] PTS calculation from timeval

Paweł Kopalko
Hi I need help with understanding some basics of PTS calculation.
I have a presentation time of a packet given in struct timeval, how should I go aobut it to convert it to AVPacket::pts correctly  I assume I need to use av_rescale* to do it but I don't know how, please help

BR Pawel

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