Hi list,<br><br>When I use ip cameras that
uses rtsp/rtp protocol, if the camera sends the video stream in mjpeg
or mpeg4 the system works well (I&#39;m using live555 to capture rtsp
streams). I receive all the image and send it to the filter decoder to
decompress the image. When the camera sends H.264 over RTP, I receive
one NAL unit in one RTP packet... packetizer mode = 1. I implement a packetizer like vlc packetizer, but after a few secons I receive
this message: [h264 @ 0x8fa0a50]number of reference frames exceeds max
(probably corrupt input), discarding one.<br>
<br>What I need to do to solve this? Can anyone help me?<br><br>Sequence of frames (Hex):<br><br>1) 67 42 E0 14 DA 05 82 51 (nal unit type - 7 Sequence Parameter Set)<br>2) 68 CE 30 A4 80 (nal unit type - 8 Picture Parameter Set)<br>

3) 06 E5 01 88 80 (nal unit type - 6 SEI Supplemental enhancement information)<br>4) 65 B8 .... (nal unit type - 5 Coded slice of an IDR picture) first I picture<br>5) 61 E2 .... (nal unit type - 1 Coded slice of a non-IDR picture) first P picture<br>

......<br><br>What
I understand from VLC code is that I need to find the first
sincronization start code and join (1, 2, 3 and 4) to contruct one
frame to decode, and frame 5, .... all P frames, and so one.<br><br>Have anyone code to do this?<br><br>Thanks,<br><font color="#888888">Nuno Cardoso.</font>