Can someone point me at something that shows how to get reliable stream timing?
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... I understand how the numerator/denominator work; but depending on the video the encoding of all these informations is unreliable... how do I get a reliable pts for the video? Audio seems easy; since it's a slow steady, packed stream... so I'm pretty close overriding and just using the encoded_frame data from the video packet to determine time... but I ran into another that I'm not sure what's wrong with it... And by now, why isn't all of this just fixed so after the decoder I know exactly what the time should be? :)
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
