[Live-devel] H264 over RTP/RFC 3984
Larry Cui
Larry.Cui at zoran.com
Wed Oct 20 14:43:15 PDT 2010
Thanks for your quick reply. I know this is a VLC related problem. But if anybody can give me a clue, so I can finish my project, that's great!
My stream complies with RFC 3984, and I insert SPS and PPS at the front of every I frame.
The problem is VLC always gives the message: "live555 no data received with 10s" than rtsp tear down . I'm pretty sure the rtp stream is there and rtp port number is right. Why VLC cannot receive the stream and decode it as rtp/h264?
Thanks,
-Larry
________________________________
From: live-devel-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Wednesday, October 20, 2010 2:29 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] H264 over RTP/RFC 3984
Right now, I'm developing h264 over rtp streaming. My question is the current version of live555 needs SEI packet of h264 or just video data packet?
That is, if I packet the H264 video data according RFC 3984, no SEI data, that's OK for live555 parsing?
Yes, our implementation of H.264/RTP reception - as used in VLC - complies with RFC 3984.
But VLC player cannot recognize the stream, VLC selects live555 demux, I tried many times.
If you are packing H.264 NAL units into RTP packets as specified by RFC 3984, the "LIVE555" code in VLC should be able to receive them OK. (Make sure that the NAL units packed within RTP packets do *not* include the initial 0x00000001 code.)
Assuming that your stream is properly complaint with RFC 3984, then the problem with VLC is probably with the H.264 decoder, which is not our software (and therefore off-topic for this mailing list). However, one common problem is that the decoder often needs to see initial PPS and SPS NAL units to work properly. If you are not including these in the stream's SDP description (if you're using SDP), then you will need to insert PPS and SPS NAL units at the start of the stream (or frequently, periodically within the stream).
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20101020/d8515036/attachment-0001.html>
More information about the live-devel
mailing list