<div dir="ltr"><div><div><div>Hi I need help with understanding some basics of PTS calculation.<br></div>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></div><br></div>BR Pawel<br></div>