[Ffmpeg-devel] [BUG] RTP header is not stripped out of the avpacket

Thijs Vermeir thijs.vermeir
Tue Nov 21 11:20:20 CET 2006


Hello,

It looks like ffmpeg is not handling basic rtp.
I have a RTP stream with the following header ( looks like a valid header):
00000000 (0x80fc408): 90 62 d8 0b 00 a3 17 8f c1 2b 21 b2 4c 41 00 08
00000010 (0x80fc418): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000020 (0x80fc428): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
(and here the mpeg4 data starts)
00000030 (0x80fc438): 00 00 01 b6 59 f8 48 fb ef be fb ef be fb ef be

When I try to open this stream in ffmpeg this header can still be
found in the avpackets that are given to the codec, so the decoding
fails.
When I just strip out the header ( first 48 bytes of each UDP packet)
the streams plays normal with ffmpeg

Gr,
Thijs




More information about the ffmpeg-devel mailing list