RTSP Server

Tim Müller tim at centricular.com
Thu Sep 8 09:46:58 UTC 2016


On Tue, 2016-09-06 at 05:08 -0700, de_ninja wrote:

Hi,

> My problem is that i don't get it to work whatsoever. I'm using
> ArchLinux on a Raspberry Pi 2B. First of all I tried to install it
> through './configure && make && make install' but there were some
> errors during make so I'm not sure whether its installed correctly or
> not.

What errors were there? If there were errors it probably didn't get
installed :)

But you don't need to install anything in order to run the example
programs from the build tree.


> Second of all i tried to get a pipeline working which was posted
> similar here on my last post:
> gst-rtsp-server/examples$ ./test-launch 'audiotestsrc ! queue !
> audioconvert  ! opusenc ! rtpopuspay name
> =pay0' 
> but when i try to receive it with:
> gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:8554/test latency=5
> ! rtpopusdepay ! queue ! opusdec ! alsasink
> which, again, was posted similar on my last post, i get an error with
> 'Resource not found'

What's the complete error? Is it rtspsrc posting the error or alsasink?

Does

  gst-play-1.0 rtsp://127.0.0.1:8554/test

work? (with 2 seconds delay/latency)

You might also need audiconvert ! audioresample between opusdec and
alsasink.

Is the rpi2 fast enough to encode the audio?

Did ./test-launch show "stream ready at rtsp://127.0.0.1:8554/test" ?

Do you have all the required elements installed?

Does

  gst-launch-1.0 audiotestsrc ! queue ! audioconvert ! opusenc !
rtpopuspay name=pay ! fakesink silent=false -v

work and print lots of stuff?

Cheers
-Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference: 10-11 October 2016 in Berlin,
Germany


More information about the gstreamer-devel mailing list