[Live-devel] Setting up stream with ffmpeg?

Thomas Hibbard THibbard at xgtechservices.com
Tue Jun 5 08:45:08 PDT 2018


Also, sorry, just saw what you put under the message, my bad, okay, I'll have to poke around the one application you mentioned, do I have to build that or is it already built when I generate the files for the main MediaServer itself?

-----Original Message-----
From: live-devel [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Tuesday, June 5, 2018 10:53 AM
To: LIVE555 Streaming Media - development & use <live-devel at ns.live555.com>
Subject: Re: [Live-devel] Setting up stream with ffmpeg?

[First, I’m pleasantly surprised by the recent sudden burst of interest in our software - but I have to ask: Where is this all coming from?  Has the LIVE555 software been promoted recently by some popular blog or tech news service??]
-----


> Hello, my name is Thomas and I have just begun to use your software. I installed it on a server that is connected to several cameras streaming to it in ffmpeg through a program called Zoneminder, although each of these cameras does have their own local IP.
>  
> I am new to this software and I’m having a hard time getting a full grasp on it. I see that it’s saying to use 127.0.1.1:8554/<filename> in order to view the videos. But how do I setup an ffmpeg stream to go through it? All I’ve done with live555 are these instructions I found online (I understand the question isn’t fully relevant, but the first answer details how to install the program):  https://askubuntu.com/questions/693396/openrtsp-problem and ran the live555MediaServer command which seemed to create a standard output but then it just stalls until I Ctrl+C out of it like I have showing in the screenshot attached to this email.

First, the proper online documentation for our software is at <http://live555.com/>; not some random 3rd-party Q&A site.  In particular, the “LIVE555 Media Server” is documented at
	http://live555.com/mediaServer/
so that’s the first place you should go.

If you’re building the server from source code, it’s important to make sure that you’re running the most up-to-date version of the code; see
	http://live555.com/liveMedia/faq.html#latest-version
Note, in particular, that the LIVE555 software that comes distributed with many Linux ‘distributions’ (e.g., Ubuntu) is often very out-of-date, and should not be used.  Instead, the “LIVE555 Streaming Media” software should be downloaded from our web site.  We do not support old versions of the software.


>  Do I have to stream it somehow through Zoneminder (what I’m using to record the cameras to store video on my hard drive) or can I just configure the local camera IP so that it takes the stream from there to broadcast through live555?

Your question wasn’t very clear; are you asking how the “LIVE555 Media Server” can take input from a live media stream - rather than from pre-recorded media files?  The answer to that question is: It can’t.  The “LIVE555 Media Server” is a single application that was designed for one specific service: Streaming (via RTSP/RTP) from pre-recorded media files.

If, instead, you want a RTSP server that takes input from a live media stream (e.g., from a network camera), then your starting point should instead be the “testOnDemandRTSPServer” demo application - which comes (as source code) with our software, in the “testProgs” directory; see <http://live555.com/liveMedia/#testProgs>

For details on how to modify the “testOnDemandRTSPServer” application to take input from a live media stream, see
	http://live555.com/liveMedia/faq.html#liveInput-unicast


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


_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel



More information about the live-devel mailing list