[Libav-user] Packet containing different content than expected when using DV container
george at nsup.org
Wed Oct 22 17:57:36 CEST 2014
Le primidi 1er brumaire, an CCXXIII, Info || Non-Lethal Applications a écrit :
> That's the problem. The AVFrame's PTS is not set (well, it is set to 0x800000000000).
Do not use AVFrame.pts on a decoded frame, it is not what people think it
> The only thing I have left is the pkt_pts and pkt_dts which are both wrong.
pkt_pts should be what you are looking for if the container is correct;
pkt_dts may be a second choice. There is
av_frame_get_best_effort_timestamp() to try both with some consistency
If pkt_pts and pkt_dts are wrong in your case, that probably indicates a bug
somewhere else in the application.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: Digital signature
More information about the Libav-user