Hi guys,

I'm testing a small piece of code which just read packet
using av_read_frame and send packet to
avcodec_decode_video2 to get a decoded frame.

What surprised me was, when running this same program on different
machines, avcodec_decode_video2 (AVCodecContext *avctx, AVFrame *picture,
int *got_picture_ptr, const AVPacket *avpkt) return first true value at
different packets.

On both machines, I can read packets with packet.pts with 0, 200, 400, 600,
800, 1000.
But on one machine, packet with 600 dts can get the first decoded frame,
and on another one,
the first frame is decoded until packet with 1000 dts is passed into
avcodec_decode_video2.

Since same binary and libs are running on 2 machines, so I assume that I
should get same result.
But seems that's not true. Has anyone else met a similar problem?

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

Reply via email to