[FFmpeg-devel] Gray screen on H.264 RTSP decode

Martin Storsjö martin
Mon Dec 6 12:58:17 CET 2010


On Sun, 5 Dec 2010, Martin Storsj? wrote:

> On Sun, 5 Dec 2010, Stas Oskin wrote:
> 
> > >
> > > Attached is the pastie from FFMPEG session, will try to catch a VLC
> > > session:
> > >
> > >
> > Here is the VLC session:
> > http://pastie.org/private/6i49xuehmycyeeiclrhsua
> > 
> > From the quick comparison, the sessions look the same, so I guess that the
> > issue is in the depacketizer.
> 
> Is this stream publicly available somewhere? If not, a wireshark capture 
> of it is a good reproducible and redistributable sample that we can work 
> on.

Stas sent me a link to the stream in private.

After debugging it for quite a while, I've got it working more or less. It 
still stops every now and then, but it works about as well as in VLC.

The two patches I just sent, "rtpdec: Skip padding bytes at the end of 
packets" and "rtpdec_h264: Pass NAL type 0 through", are required in order 
to decode it properly.

// Martin



More information about the ffmpeg-devel mailing list