[Libav-user] PTS calculation from timeval

Paweł Kopalko pawel.kopalko at gmail.com
Thu May 18 13:10:44 EEST 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170518/12fb1090/attachment.html>


More information about the Libav-user mailing list