[Libav-user] Is it possible that same decoding code generate different result on different machines
mrfun.china at gmail.com
Wed Oct 23 03:43:34 CEST 2013
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
On both machines, I can read packets with packet.pts with 0, 200, 400, 600,
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
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user