Le 5 août 2010 à 19:40, Rytis Karpuðka a écrit :

> hello everyone,
> so straight to the problem:
> Then I`m decoding h264 video, everything goes okay, except for the pts. It 
> looks that I get pts in miliseconds even then myVideoCodecContext->time_base 
> shows 0.02. And pts increases by 40 for every frame (that`s why I assumed 
> that its miliseconds, because frame rate is 25 fps, so delay would be 40ms).

AFAIK, Packet pts is relative to the AVStream time_base, not the codec context 
time_base.


-- Jean-Daniel




_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to