<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> </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=finlayson@live555.com
href="mailto:finlayson@live555.com">Ross Finlayson</A> </DIV>
<DIV><B>Sent:</B> Friday, April 05, 2013 7:10 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>
<BLOCKQUOTE type="cite">
<DIV dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: arial; FONT-SIZE: 10pt">
<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 "<A
href="rtsp://192.168.1.7:65534/videoSub/">rtsp://192.168.1.7:65534/videoSub/</A>";
audio/PCMU: Received 960
bytes. Presentation time: 1365102232.117119</DIV>
<DIV>Stream "<A
href="rtsp://192.168.1.7:65534/videoSub/">rtsp://192.168.1.7:65534/videoSub/</A>";
video/H264: Received 411
bytes. Presentation time: 1365102232.186298</DIV>
<DIV>Stream "<A
href="rtsp://192.168.1.7:65534/videoSub/">rtsp://192.168.1.7:65534/videoSub/</A>";
audio/PCMU: Received 960
bytes. Presentation time: 1365102232.226244</DIV>
<DIV>Stream "<A
href="rtsp://192.168.1.7:65534/videoSub/">rtsp://192.168.1.7:65534/videoSub/</A>";
video/H264: Received 458
bytes. Presentation time: 1365102232.375975</DIV>
<DIV>Stream "<A
href="rtsp://192.168.1.7:65534/videoSub/">rtsp://192.168.1.7:65534/videoSub/</A>";
audio/PCMU: Received 960
bytes. Presentation time: 1365102232.359869</DIV>
<DIV>Stream "<A
href="rtsp://192.168.1.7:65534/videoSub/">rtsp://192.168.1.7:65534/videoSub/</A>";
audio/PCMU: Received 960
bytes. Presentation time: 1365102232.465869</DIV>
<DIV>Stream "<A
href="rtsp://192.168.1.7:65534/videoSub/">rtsp://192.168.1.7:65534/videoSub/</A>";
audio/PCMU: Received 960
bytes. Presentation time: 1365102232.585744</DIV>
<DIV>Stream "<A
href="rtsp://192.168.1.7:65534/videoSub/">rtsp://192.168.1.7:65534/videoSub/</A>";
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></BLOCKQUOTE>
<DIV> </DIV></DIV>>>Because this is a Frequently Asked Question, I
have now added an entry for it to the FAQ. See:
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN><FONT size=2
face=Arial>>></FONT><A
href="http://www.live555.com/liveMedia/faq.html#testRTSPClient-how-to-decode-data">http://www.live555.com/liveMedia/faq.html#testRTSPClient-how-to-decode-data</A></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Re-reading your explanation above, in my
ContinueAfterSETUP method, should I do the following:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV>unsigned n_records=0;</DIV>
<DIV>const char* sps =
scs.subsession->fmtp_spropparametersets(); </DIV>
<DIV>SPropRecord* pSPropRecord = parseSPropParameterSets( sps, n_records
);</DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>Now what do I send to my downstream decoder
??</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Thanks,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Tom Fisher</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2
face=Arial></FONT> </DIV><BR><BR></DIV></DIV></DIV></BODY></HTML>