[Libav-user] Is it possible in some codec that AVFrame.pts is not derived from AVPacket.pts?

Andrey Utkin andrey.krieger.utkin at gmail.com
Thu May 24 13:12:08 CEST 2012


Is that right or wrong that at some cases the frame pts (reachable
after decoding) is _not_ derived from packet pts/dts (reachable after
demux), but is encapsulated in the coded frame itself?
In other words, can elementary AVStream have its own internal
timestamps besides the timestamps provided by media container? If such
situation may have place, is that the case for MPEGTS container and
video codecs h264, mpeg2, audio codecs aac, mp3, ac3?
Practical question is: can i safely join videos of same
characteristics by keyframe bounds, just by remuxing it and altering
AVPacket pts/dts?

-- 
Andrey Utkin


More information about the Libav-user mailing list