<HTML><HEAD>
<META content="text/html charset=iso-8859-1" http-equiv=Content-Type></HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE: 10pt">
<DIV> Reading further on your site I see that you may need the
SDP description</DIV>
<DIV>from my camera stream. BTW, I am getting some very jerky but clear video
</DIV>
<DIV>frames just by passing the NAL units directly to a MS DTV-DVD Video Decoder
filter in DirectShow. </DIV>
<DIV>I am soooooo close!</DIV>
<DIV> </DIV>
<DIV>v=0</DIV>
<DIV>o=- 1365522147122142 1 IN IP4 192.168.1.2</DIV>
<DIV>s=IP Camera Video</DIV>
<DIV>i=videoMain</DIV>
<DIV>t=0 0</DIV>
<DIV>a=tool:LIVE555 Streaming Media v2013.01.25</DIV>
<DIV>a=type:broadcast</DIV>
<DIV>a=control:*</DIV>
<DIV>a=range:npt=0-</DIV>
<DIV>a=x-qt-text-nam:IP Camera Video</DIV>
<DIV>a=x-qt-text-inf:videoMain</DIV>
<DIV>m=video 0 RTP/AVP 96</DIV>
<DIV>c=IN IP4 0.0.0.0</DIV>
<DIV>b=AS:96</DIV>
<DIV>a=rtpmap:96 H264/90000</DIV>
<DIV>a=control:track1</DIV>
<DIV>m=audio 0 RTP/AVP 0</DIV>
<DIV>c=IN IP4 0.0.0.0</DIV>
<DIV>b=AS:64</DIV>
<DIV>a=control:track2</DIV>
<DIV> </DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none"><FONT
face=Arial>Thanks again for any help.</FONT></DIV>
<DIV style="FONT: 10pt tahoma">
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Tom Fisher</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=tboonefisher@clear.net
href="mailto:tboonefisher@clear.net">tboonefisher@clear.net</A> </DIV>
<DIV><B>Sent:</B> Tuesday, April 09, 2013 2:41 PM</DIV>
<DIV><B>To:</B> <A title=live-devel@ns.live555.com
href="mailto:live-devel@ns.live555.com">LIVE555 Streaming Media - development
& use</A> </DIV>
<DIV><B>Subject:</B> Re: [Live-devel] testRTSPClient / H.264 Network Camera
Stream</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE: 10pt">
<DIV>THANKS for the help. Reading the FAQ I see:</DIV>
<DIV> </DIV>
<DIV>“ If you are receiving H.264 video data, there is one more thing that you
have to do before you start feeding frames to your decoder. H.264 streams have
out-of-band configuration information ("SPS" and "PPS" NAL units) that you may
need to feed to the decoder to initialize it. To get this information, call
"MediaSubsession::fmtp_spropparametersets()" (on the video 'subsession' object).
This will give you a (ASCII) character string. You can then pass this to
"parseSPropParameterSets()" (defined in the file
"include/H264VideoRTPSource.hh"), to generate binary NAL units for your
decoder.”</DIV>
<DIV> </DIV>
<DIV>Could you be more specific as to when/where that this needs to be
done?</DIV>
<DIV>Using the DummySink example, when I attempt to call these methods as shown
below I get nada...</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>DummySink::DummySink(UsageEnvironment& env, MediaSubsession&
subsession, char const* streamId)</DIV>
<DIV> : MediaSink(env),</DIV>
<DIV> fSubsession(subsession) </DIV>
<DIV>{</DIV>
<DIV> fStreamId = strDup(streamId);</DIV>
<DIV> fReceiveBuffer = new
u_int8_t[DUMMY_SINK_RECEIVE_BUFFER_SIZE];</DIV>
<DIV> </DIV>
<DIV> const char* sps =
fSubsession.fmtp_spropparametersets(); /// returns NULL</DIV>
<DIV> unsigned n_records=0;</DIV>
<DIV> SPropRecord* pSPropRecord = parseSPropParameterSets(
fSubsession.fmtp_spropparametersets(), n_records );</DIV>
<DIV> </DIV>
<DIV>}</DIV>
<DIV> </DIV>
<DIV>Thanks again for ANY help...</DIV>
<DIV> </DIV>
<DIV>Tom Fisher</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>From: Ross Finlayson </DIV>
<DIV>Sent: Friday, April 05, 2013 7:10 PM</DIV>
<DIV>To: LIVE555 Streaming Media - development & use </DIV>
<DIV>Subject: Re: [Live-devel] testRTSPClient / H.264 Network Camera
Stream</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> I am experimenting with the testRTSPClient app to
develop a DirectShow source filter to connect to a network camera outputting an
H.264</DIV>
<DIV>video stream. The app successfully connects to the camera and shows the
following continuous output:</DIV>
<DIV>... </DIV>
<DIV>Stream "rtsp://192.168.1.7:65534/videoSub/";
audio/PCMU: Received 960
bytes. Presentation time: 1365102232.117119</DIV>
<DIV>Stream "rtsp://192.168.1.7:65534/videoSub/";
video/H264: Received 411
bytes. Presentation time: 1365102232.186298</DIV>
<DIV>Stream "rtsp://192.168.1.7:65534/videoSub/";
audio/PCMU: Received 960
bytes. Presentation time: 1365102232.226244</DIV>
<DIV>Stream "rtsp://192.168.1.7:65534/videoSub/";
video/H264: Received 458
bytes. Presentation time: 1365102232.375975</DIV>
<DIV>Stream "rtsp://192.168.1.7:65534/videoSub/";
audio/PCMU: Received 960
bytes. Presentation time: 1365102232.359869</DIV>
<DIV>Stream "rtsp://192.168.1.7:65534/videoSub/";
audio/PCMU: Received 960
bytes. Presentation time: 1365102232.465869</DIV>
<DIV>Stream "rtsp://192.168.1.7:65534/videoSub/";
audio/PCMU: Received 960
bytes. Presentation time: 1365102232.585744</DIV>
<DIV>Stream "rtsp://192.168.1.7:65534/videoSub/";
video/H264: Received 950
bytes. Presentation time: 1365102232.666086</DIV>
<DIV>...</DIV>
<DIV> </DIV>
<DIV> Initially, I am only interested in the video portion of
the stream.</DIV>
<DIV>Using the library, what is the most efficient way to get access to the
H.264 portion of the stream</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Because this is a Frequently Asked Question, I have now added an entry for
it to the FAQ. See: </DIV>
<DIV>http://www.live555.com/liveMedia/faq.html#testRTSPClient-how-to-decode-data</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Ross Finlayson</DIV>
<DIV>Live Networks, Inc.</DIV>
<DIV>http://www.live555.com/ </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>_______________________________________________</DIV>
<DIV>live-devel mailing list</DIV>
<DIV>live-devel@lists.live555.com</DIV>
<DIV>http://lists.live555.com/mailman/listinfo/live-devel</DIV></DIV></DIV></DIV></DIV></DIV></BODY></HTML>