[Libav-user] Video Timing
J Decker
d3ck0r at gmail.com
Sun Mar 2 07:34:01 CET 2014
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? :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20140301/96574686/attachment.html>
More information about the Libav-user
mailing list