Hi.
in libavcodec/avcodec.h, on AVFrame.pkt_pts, there is a comment:
"reordered pts from the last AVPacket that has been input into the decoder"
But it is interesting to get pts that is corresponding to the output frame
itself.
When i use pkt_pts in further transformations, i get video late from audio.
AVFrame.pts is AV_NOPTS_VALUE out from decoder, so i use pkt_pts. There's no
best_effort_timestamp that is present in ffmpeg AVFrame.
Any comments on my timestamping mistakes are appreciated.
My sources: https://github.com/krieger-od/transcoder
At the moment it works well with ffmpeg libs.
-- 
Andrey Utkin
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to