Using gstreamer RTSP server over the internet

Thadeu Antonio Ferreira de Melo thadeu.afm at gmail.com
Tue Sep 5 16:29:21 UTC 2017


Sebastian had suggested me to use 1.8 since I couldn´t even compile the
main branch.

The exemples don´t have much explanation for what they are suppose to do.
There is no in/out parameters type or what is the expected behavior.
There is no tutorial. No step by step.

We have a source that sends a h264 stream from a Windows desktop using
ffmpeg with this command

ffmpeg -f gdigrab -i desktop -pix_fmt yuv420p -framerate 30 -draw_mouse 0
-vcodec libx264 -tune zerolatency -bf 0 -preset slow -crf 25 -g 30 -an
-refs 4 -x264-params vbv-maxrate=2000:vbv-bufsize=256:keyint=600 http://<Server
IP>/feed1.ffm
<http://www.google.com/url?q=http%3A%2F%2F40.74.242.253%3A8090%2Ffeed1.ffm&sa=D&sntz=1&usg=AFQjCNG9sh-wtoqJ7qXONWsGES9FEsjFEw>

The ffserver redirects this the client application, that could be Android,
Windows or Web.

We need a better server, more stable and with more community support
(ffserver has been abandoned for 4 years). We will probably change how we
capture and send de data from the Windows app, but it will be always a h264
stream that has to be redirect to the client device.

2017-09-05 13:11 GMT-03:00 Nicolas Dufresne <nicolas at ndufresne.ca>:

> Le mardi 05 septembre 2017 à 12:46 -0300, Thadeu Antonio Ferreira de
> Melo a écrit :
> > Not a single good samaritan?
> >
> > I couldn´t find a single simple example how to run the server and
> > redirect the video stream.
> > I wouldn´t be asking if I hadn´t exhausted my options.
>
> That's the because the question isn't clear and slightly overloaded. I
> can comment here, but a stackoverflow reply is unlikely to be useful.
>
>
>     I have download and compile the gstreamer server 1.8, but the
>     examples are not very clear.
>
> Why 1.8 and not latest stable 1.12 ? Which example ? What wasn't clear
> for you ?
>
>
>     For the sake o simplicity I would like to have a local server that
>     could receive h264 data stream from ffmpeg in one port of the local
>     host and redirect it to another port.
>
> With or without transcoding ? Is the H264 byte-stream or AVC ? Another
> reason it's overloaded, I have never tested myself an Gst RTSP server
> that simply forward. A jitter buffer might not be needed as an example,
> allowing extremely low latency, but this need testing as it has not
> been done publicly before. Some server library work might be needed.
>
>     What is the minimal, simplest way to make that binding?
>
> This depends on all the above. The examples in the "example" folder of
> the library code are extremely simple, it's hard to answer your
> question if we don't understand why these example are "not clear" to
> you.
>
> regards,
> Nicolas
>
> >
> > 2017-09-04 12:00 GMT-03:00 Thadeu Antonio Ferreira de Melo <thadeu.af
> > m at gmail.com>:
> > > Hello.
> > >
> > > I posted this question on SO.
> > >
> > > https://stackoverflow.com/questions/46006419/using-gstreamer-server
> > > -to-redirect-a-h264-source-to-diferent-clients
> > >
> > > We are trying to achieve low latency for real time interaction.
> > >
> > > Can anyone help with some guide to build a simple solution?
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170905/80748abb/attachment.html>


More information about the gstreamer-devel mailing list