<div dir="ltr">Can someone point me at something that shows how to get reliable stream timing?<div><br></div><div>Depending on the video, video_packet->pts = INT64MIN or video_packet->pts is equivalent to the frame index or ... pts increments in approximate units of 3000/frame... what builds this 3000 number?  Ticks per frame is often 2; which is needed...</div>
<div><br></div><div>I understand how the numerator/denominator work; but depending on the video the encoding of all these informations is unreliable...</div><div><br></div><div>how do I get a reliable pts for the video?  Audio seems easy; since it's a slow steady, packed stream... </div>
<div><br></div><div>so I'm pretty close overriding and just using the encoded_frame data from the video packet to determine time... </div><div><br></div><div>but I ran into another that I'm not sure what's wrong with it... </div>
<div><br></div><div>And by now, why isn't all of this just fixed so after the decoder I know exactly what the time should be? :)</div></div>