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
is.

> 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
heuristics.

If pkt_pts and pkt_dts are wrong in your case, that probably indicates a bug
somewhere else in the application.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to