[Live-devel] testRTSPClient / H.264 Network Camera Stream
tboonefisher at clear.net
tboonefisher at clear.net
Fri Apr 26 09:32:25 PDT 2013
From: Ross Finlayson
Sent: Friday, April 05, 2013 7:10 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] testRTSPClient / H.264 Network Camera Stream
I am experimenting with the testRTSPClient app to develop a DirectShow source filter to connect to a network camera outputting an H.264
video stream. The app successfully connects to the camera and shows the following continuous output:
...
Stream "rtsp://192.168.1.7:65534/videoSub/"; audio/PCMU: Received 960 bytes. Presentation time: 1365102232.117119
Stream "rtsp://192.168.1.7:65534/videoSub/"; video/H264: Received 411 bytes. Presentation time: 1365102232.186298
Stream "rtsp://192.168.1.7:65534/videoSub/"; audio/PCMU: Received 960 bytes. Presentation time: 1365102232.226244
Stream "rtsp://192.168.1.7:65534/videoSub/"; video/H264: Received 458 bytes. Presentation time: 1365102232.375975
Stream "rtsp://192.168.1.7:65534/videoSub/"; audio/PCMU: Received 960 bytes. Presentation time: 1365102232.359869
Stream "rtsp://192.168.1.7:65534/videoSub/"; audio/PCMU: Received 960 bytes. Presentation time: 1365102232.465869
Stream "rtsp://192.168.1.7:65534/videoSub/"; audio/PCMU: Received 960 bytes. Presentation time: 1365102232.585744
Stream "rtsp://192.168.1.7:65534/videoSub/"; video/H264: Received 950 bytes. Presentation time: 1365102232.666086
...
Initially, I am only interested in the video portion of the stream.
Using the library, what is the most efficient way to get access to the H.264 portion of the stream
>>Because this is a Frequently Asked Question, I have now added an entry for it to the FAQ. See:
>>http://www.live555.com/liveMedia/faq.html#testRTSPClient-how-to-decode-data
Re-reading your explanation above, in my ContinueAfterSETUP method, should I do the following:
unsigned n_records=0;
const char* sps = scs.subsession->fmtp_spropparametersets();
SPropRecord* pSPropRecord = parseSPropParameterSets( sps, n_records );
Now what do I send to my downstream decoder ??
Thanks,
Tom Fisher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130426/b9c0f673/attachment-0001.html>
More information about the live-devel
mailing list