Hi Ross,
On 11/29/2011 03:26 PM, Ross Finlayson wrote:
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"
Thanks for a prompt reply. I guess I'm still a bit confused. How would
my application access H264 frame
received by H264VideoRTPSource ? One of the requirements I have, is
that decoder will ask for a frame
when it's ready to process one, so I need to have a routine that
returns the last H264 frame and its size.
Thanks.
Felix.
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel