[Live-devel] Without SDP with H264VideoStreamDiscreteFramer

Vince Li(李威) Vince.Li at quantatw.com
Thu Sep 12 00:13:11 PDT 2013


Actually, I’m not sure my input sequence of NAL units contain SPS and PPS NAL units.
My video input is a live stream whose frames captured from webcam and encoded by x264.

However, “H264VideoStreamFramer” can parse SDP from my input, that means my input sequence of NAL units contain SPS and PPS NAL units?

Vince



From: live-devel-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Tuesday, September 10, 2013 2:37 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Without SDP with H264VideoStreamDiscreteFramer

I’ve a question about H264VideoStreamFramer and H264VideoStreamDiscreteFramer.
Since my video frame source is discrete (frame by frame), I use H264VideoStreamDiscreteFrame.
However, I discover the H264VideoRTPSink didn’t have SDP (dump auxSDPLine() periodically) with H264VideoStreamDiscreteFramer.

Does your input sequence of NAL units (that you pass to "H264VideoStreamDiscreteFramer") contain SPS and PPS NAL units (either at the start of the sequence, or periodically within it)?  If so, then the "H264VideoStreamDiscreteFramer" will automatically record these when they appear, and this will cause the proper "auxSDPLine()" to get generated.

Alternatively, if you know the SPS and PPS NAL unit data in advance, you can pass them as parameters to the "H264VideoRTPSink" constructor (see "liveMedia/include/H264VideoRTPSink.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/20130912/14041522/attachment.html>


More information about the live-devel mailing list