[Live-devel] Save RTSP/H264 to MPEG4, WebM and JPEG files

Jeff Shanab jshanab at smartwire.com
Tue Dec 27 06:03:28 PST 2011


I think I am working towards this myself, whether I want to or not.

Ross, please correct me if I screw something up here....

If you are planning on doing some programming,  here is one way.
First, you must use another library to do the transcoding and then write each one out to a file. (recommend libavcodec from ffmpeg)
Each of these conversions are "sinks" in live555 parlence. Most of the live555 is a linear connection from sources through filters to sinks. Filters just being something that is both a source and a sink.
   http://www.live555.com/liveMedia/faq.html#control-flow

So first we write what looks like a memorysink to live555 and connect it as the sink to the RTSPClient.
This sink has a list of each of your converters. When afterGettingFrame is called, You need to call each of your converters. This is where the earlier discussion on reference counting comes in handy.

From: live-devel-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Jayesh Parayali
Sent: Monday, December 26, 2011 7:24 PM
To: LIVE555 Streaming Media - development & use
Subject: [Live-devel] Save RTSP/H264 to MPEG4, WebM and JPEG files

How can I read RTSP stream (H264) to MPEG4, WebM and JPEG files at the same time. Any pointers is appreciated. Also is there any documentation on how media source and sinks work in live555?

Thanks,
Jay
________________________________
No virus found in this message.
Checked by AVG - www.avg.com<http://www.avg.com>
Version: 2012.0.1901 / Virus Database: 2109/4705 - Release Date: 12/26/11
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111227/02ead01b/attachment.html>


More information about the live-devel mailing list