[Live-devel] Play video

Ross Finlayson finlayson at live555.com
Fri Oct 9 08:29:38 PDT 2020



> On Oct 10, 2020, at 4:14 AM, Nicolas Julien <nicolas.julien at cdvi.com> wrote:
> 
> Hello,
> Using the source code of the openrtsp (or testrtspclient) program, is it possible to play the video directly rather than saving the data to a file?

If you have a media player that can take video input from ‘stdin’, then you could run “openRTSP” with the -v option; see
	http://live555.com/openRTSP/#basic
and then pipe the ’stdout’ from “openRTSP" to the media player.

Otherwise, you could use the “testRTSPClient” code as a base, and write your own media player application - by writing your own “MediaSink” subclass(es) to replace the “DummySink” class (and of course a lot more code to decode and display the incoming media).

Or you could run one of the (probably several) existing open source media players that use the LIVE555 library to play RTSP/RTP streams.  Perhaps the most notable of these is VLC <http://www.videolan.org/vlc>


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list