[FFmpeg-devel] Why does ffmpeg h264 decoder stop decoding when certain type of packets are coming in the input stream?

Naveed Basha naveedbasha at gmail.com
Sat Jul 28 15:57:04 EEST 2018


Yes, please find the test stream here. I was using ffmpeg v3.4.2.

https://drive.google.com/open?id=1rHCfG4csA3rB4LSgErEBn1F3WfI5nUVr

On Sat, Jul 28, 2018 at 6:36 AM Michael Niedermayer <michael at niedermayer.cc>
wrote:

> On Fri, Jul 27, 2018 at 05:27:44PM +0530, Naveed Basha wrote:
> > Hi All,
> >
> > I used av_read_frame to get the AVPacket from encoded h264 file. But when
> > this packet (00 00 01 05 94 5a 33 e7 4d 6b d7 ad 13 86 ff 47 83 93 31 f1
> e3
> > 0a) is in the input stream (h264 video) ffmpeg decoder stops decoding
> > frames for any subsequent AVPackets. But if I skip this packet to provide
> > to the decoder the next AVPackets decode just fine.
> >
> > Could you please help me to find what is wrong with this packet? Or what
> is
> > wrong with the ffmpeg decoder?
> > Thanks,
> > Naveed
>
> do you have some testcase for reproducing this ?
>
> thx
>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


-- 
Cheers,
Naveed


More information about the ffmpeg-devel mailing list