[MPlayer-dev-eng] [PATCH] RTP H.264 parser fix

Gil Pedersen gil at cmi.aau.dk
Sun Apr 25 14:54:54 CEST 2010


Playing a RSTP/RTP stream with H.264 results in playback with constant error output:

   [NULL @ 0x1008c8840]non-existing PPS referenced

This comes from h264parserctx, which never receives the config data with the required NALs. I've attached a small patch that will inject the config data before starting to parse the actual data, thus removing the described error output.

Test command (compiled with latest live555): 
> mplayer -cache 2048 -rtsp-stream-over-tcp rtsp://a2047.v1411b.c1411.g.vq.akamaistream.net/5/2047/1411/2_h264_650/1a1a1ae454c430950065de4cbb2f94c226950c7ae655b61a48a91475e243acda3dac194879adde0f/1004767kjhgoiashdbnv_1_650.mov

/Gil

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtp_h264_parser_fix.patch
Type: application/octet-stream
Size: 878 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100425/6d039a57/attachment.obj>


More information about the MPlayer-dev-eng mailing list