[Live-devel] Play video

2020-10-09 Thread Nicolas Julien
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?

TIA,
Nicolas
___
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel


Re: [Live-devel] Play video

2020-10-09 Thread Ross Finlayson


> On Oct 10, 2020, at 4:14 AM, Nicolas Julien  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 


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


___
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel