Restream RTP to RTSP

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Restream RTP to RTSP

Myzhar
Hi all,

I'm searching for the simplest way to restream an RTP flux to RTSP.

I'm using an Nvidia Jetson TK1 to acquire a video from a Pleora device and I need to transmit it using H264 on RTP and RTSP.
RTP is ok, but RTSP is a little bit less straightforward to be generated 

Thank you
Walter



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Walter Lucetti
www.myzhar.com
Reply | Threaded
Open this post in threaded view
|

Re: Restream RTP to RTSP

saepia
It can be easily achieved with gst-rtsp-server. It just takes a gstreamer pipeline as an input, so you can make simple pipeline that is a RTP receiver, and that's it.

100 lines of code in Vala or Python.

m.

2016-10-20 15:35 GMT+02:00 Walter Lucetti <[hidden email]>:
Hi all,

I'm searching for the simplest way to restream an RTP flux to RTSP.

I'm using an Nvidia Jetson TK1 to acquire a video from a Pleora device and I need to transmit it using H264 on RTP and RTSP.
RTP is ok, but RTSP is a little bit less straightforward to be generated 

Thank you
Walter



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Restream RTP to RTSP

Myzhar
I thought that it was the simplest solution... but I know that gst-rtsp-server is not available in PPA and I need at least GStreamer 1.8 to compile it from source... Am I right?

Do you know if it is possibile to get it for Windows?

Thank you
Walter

2016-10-20 18:46 GMT+02:00 [hidden email] <[hidden email]>:
It can be easily achieved with gst-rtsp-server. It just takes a gstreamer pipeline as an input, so you can make simple pipeline that is a RTP receiver, and that's it.

100 lines of code in Vala or Python.

m.

2016-10-20 15:35 GMT+02:00 Walter Lucetti <[hidden email]>:
Hi all,

I'm searching for the simplest way to restream an RTP flux to RTSP.

I'm using an Nvidia Jetson TK1 to acquire a video from a Pleora device and I need to transmit it using H264 on RTP and RTSP.
RTP is ok, but RTSP is a little bit less straightforward to be generated 

Thank you
Walter



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Walter Lucetti
www.myzhar.com
Reply | Threaded
Open this post in threaded view
|

Re: Restream RTP to RTSP

Sebastian Dröge-3
On Thu, 2016-10-20 at 21:34 +0200, Walter Lucetti wrote:
> I thought that it was the simplest solution... but I know that gst-
> rtsp-server is not available in PPA and I need at least GStreamer 1.8
> to compile it from source... Am I right?

gst-rtsp-server is available in various Ubuntu and Debian versions
since quite some time.

In Ubuntu it is available in wily, xenial and newer.

> Do you know if it is possibile to get it for Windows?

It's included in the Windows binaries here:
https://gstreamer.freedesktop.org/data/pkg/windows/1.8.3/

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (949 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Restream RTP to RTSP

Myzhar
Ok.... under windows I tried to download the v1.9.90 and I have only these EXEs:

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       01/10/2016     15:31         253724 gdbus.exe
-a----       01/10/2016     17:22         143756 gdk-pixbuf-csource.exe
-a----       01/10/2016     17:22         156042 gdk-pixbuf-query-loaders.exe
-a----       01/10/2016     22:16         282185 ges-launch-1.0.exe
-a----       01/10/2016     15:31         140175 gio-querymodules.exe
-a----       01/10/2016     15:31         286420 glib-compile-schemas.exe
-a----       01/10/2016     15:31         182026 gsettings.exe
-a----       01/10/2016     17:07         165688 gst-device-monitor-1.0.exe
-a----       01/10/2016     17:07         198587 gst-discoverer-1.0.exe
-a----       01/10/2016     15:48         272685 gst-inspect-1.0.exe
-a----       01/10/2016     15:48         217652 gst-launch-1.0.exe
-a----       01/10/2016     17:07         238998 gst-play-1.0.exe
-a----       01/10/2016     15:48         161023 gst-typefind-1.0.exe
-a----       01/10/2016     22:13         187555 gst-validate-1.0.exe
-a----       01/10/2016     22:13         147191 gst-validate-media-check-1.0.exe
-a----       01/10/2016     22:13         238831 gst-validate-transcoding-1.0.exe
-a----       01/10/2016     21:22         149042 json-glib-format.exe
-a----       01/10/2016     21:22         144148 json-glib-validate.exe

I'm going to get the v1.8,3


2016-10-24 8:53 GMT+02:00 Sebastian Dröge <[hidden email]>:
On Thu, 2016-10-20 at 21:34 +0200, Walter Lucetti wrote:
> I thought that it was the simplest solution... but I know that gst-
> rtsp-server is not available in PPA and I need at least GStreamer 1.8
> to compile it from source... Am I right?

gst-rtsp-server is available in various Ubuntu and Debian versions
since quite some time.

In Ubuntu it is available in wily, xenial and newer.

> Do you know if it is possibile to get it for Windows?

It's included in the Windows binaries here:
https://gstreamer.freedesktop.org/data/pkg/windows/1.8.3/

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Walter Lucetti
www.myzhar.com
Reply | Threaded
Open this post in threaded view
|

Re: Restream RTP to RTSP

Sebastian Dröge-3
On Mon, 2016-10-24 at 09:19 +0200, Walter Lucetti wrote:
> Ok.... under windows I tried to download the v1.9.90 and I have only
> these EXEs:
> [...]

gst-rtsp-server is a library that you integrate into your application,
not an executable.

You can find some example code here:
https://cgit.freedesktop.org/gstreamer/gst-rtsp-server/tree/examples/

test-launch.c is something similar (but more limited) to gst-launch-1.0.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (949 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Restream RTP to RTSP

Myzhar

2016-10-24 9:27 GMT+02:00 Sebastian Dröge <[hidden email]>:
gst-rtsp-server is a library that you integrate into your application,
not an executable.

Ok... that's right. I thought I could use something similar to gst-launch to get an RTP stream source and stream it out on RTSP.

Thank you for the example link


--

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Walter Lucetti
www.myzhar.com