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

Ronald S. Bultje rsbultje
Mon Dec 6 13:29:12 CET 2010


Hi,

On Mon, Dec 6, 2010 at 6:58 AM, Martin Storsj? <martin at martin.st> wrote:
> 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.

Both look good, feel free to apply from my end. Who maintains that code?

Ronald



More information about the ffmpeg-devel mailing list