[Live-devel] Receive MPEG using RTSP over HTTP...

Ross Finlayson finlayson at live555.com
Tue Dec 6 09:59:40 PST 2005


>I have the following problem. I have an mpeg streamer device (a 
>camera) which delivers a stream via RTSP over HTTP. I want to split 
>the stream up to video and audio, and further the video to GOPs. Is 
>there a way I could do it with live555?

Yes, you can use "openRTSP", with the "-T <http-port-number>" 
option.  See <http://www.live555.com/openRTSP/#other-options>

This will give you separate audio and video files.  If you wish to 
process just the video stream (to get GOPs), then you can do so using 
the "-v" option, and piping 'stdout' (which will be the video stream 
only) to a filter application that you would write.  (This filter 
application might use a modification of "MPEG1or2VideoStreamFramer".)

Alternatively, you could modify the existing "openRTSP" 
("playCommon.cpp") code to add a filter in front of the "FileSink" 
object (for video data only).  In this case, the filter could use a 
modification of "MPEG1or2VideoStreamDiscreteFramer".


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list