[Live-devel] Passing H.264 RTP stream to hardware decoder

Ross Finlayson finlayson at live555.com
Tue Nov 29 05:26:34 PST 2011


> I'd like to create an application that gets H.264 stream over RTP and
> passes it to hardware decoder. The decoder API expects a buffer containing
> H.264 frame and frame size.
> 
> Will the combination of H264VideoRTPSource and H264VideoStreamDiscreteFramer
> will do what I need ?

You probably need just a "H264VideoRTPSource".  (A "H264VideoStreamDiscreteFramer" is needed only when you are *transmitting* H.264 over RTP.)

You may also need to call "parseSPropParameterSets()" to generate SPS and PPS NAL units to feed to your decoder, in case these don't appear in-line in the stream (or even if they do, if they don't appear frequently).  See "liveMedia/include/H264VideoRTPSource.hh"


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/20111129/43bea957/attachment.html>


More information about the live-devel mailing list