Save raw rtsp packets to file

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

Save raw rtsp packets to file

borisRobson
Hi

I have a project which will be running gstreamer on an embedded device and will be required to handle different input types through rtspsrc (mostly h264 and h265). I expect that multiple h265 streams being decoded simultaneously would be far too cpu intensive, so I would like to save the raw application/x-rtp data to a file, which will be sent to a pc for decoding.

Could anyone give me some pointers in this, I've had a few simple attempts of trying to write rtspsrc directly to filesink but then I'm unable to play them.

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Save raw rtsp packets to file

Chuck Crisler-3

Generally RTSP transmits RTP, which can't easily be saved. You need some kind of container for it. Try de-payloading the RTP and then put the bare H26x into some container, such as MP2T.


On Aug 30, 2016 8:57 AM, "borisRobson" <[hidden email]> wrote:
Hi

I have a project which will be running gstreamer on an embedded device and
will be required to handle different input types through rtspsrc (mostly
h264 and h265). I expect that multiple h265 streams being decoded
simultaneously would be far too cpu intensive, so I would like to save the
raw application/x-rtp data to a file, which will be sent to a pc for
decoding.

Could anyone give me some pointers in this, I've had a few simple attempts
of trying to write rtspsrc directly to filesink but then I'm unable to play
them.

Thanks



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Save-raw-rtsp-packets-to-file-tp4679290.html
Sent from the GStreamer-devel mailing list archive at Nabble.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
Reply | Threaded
Open this post in threaded view
|

Re: Save raw rtsp packets to file

borisRobson
I'm not very familiar with MP2T but at least I have something to look into , thanks
Reply | Threaded
Open this post in threaded view
|

Re: Save raw rtsp packets to file

Tim Müller
On Wed, 2016-08-31 at 00:57 -0700, borisRobson wrote:

> I'm not very familiar with MP2T but at least I have something to look
> into, thanks.

If it doesn't work, please let us know your exact pipelines (rtspsrc
etc.) and how they fail :)

Cheers
 -Tim

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

Join us at the GStreamer Conference: 10-11 October 2016 in Berlin,
Germany
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel