Render RTSP Streams on to a Web Browser (WebRTC) using GStreamer

Eslam Ahmed eslam.ahmed at avidbeam.com
Wed Aug 17 13:08:18 UTC 2022


Hi,

1) Yes, you can. Gstreamer can encode/decode H264/H265 using Nvidia GPUs by
using those elements nvv4l2decoder/nvv4l2h264enc/nvv4l2h265enc.
2) Yes, you can. If there's no reason to transcode, say to rescale or
overlay something on the stream, then the implementation here `
https://github.com/WebRTSP/ReStreamer`  would just relay the H264/H265
encoded packets as is without decoding yielding trivial CPU usage. The
decoding is by  the webrtc client/browser.
3) https://github.com/WebRTSP/ReStreamer  >> This is ready-to-use IP Camera
stream to WebRTC (does no transcoding by default, just relay!)

Best Regards,
Eslam Ahmed


On Wed, Aug 17, 2022 at 2:34 PM Chandramouli P via gstreamer-devel <
gstreamer-devel at lists.freedesktop.org> wrote:

> Hello,
>
> I want to render (transmit) the RTSP streams which come from the IP
> cameras onto any WebRTC supported browser (Google Chrome, Safari, Edge,
> etc.). At the same time, I want to take advantage of the GPU and utilize
> it in a more efficient way and want to reduce the CPU utilization, when we
> are processing and rendering RTSP streams.
>
> 1) Is it possible to do the above things using the GStreamer framework?
> 2) Is it possible to do the transcoding using hardware decoding by
> utilizing the GPU (graphics processing unit) with GStreamer? I mean
> Hardware-accelerated streaming.
> 3) If above (1) and (2) are possible, what would be the pipeline to
> follow? I mean, what are the libraries, plug-ins, and tools that I have to
> use to develop the above functionalities?
> 4) It would be great help, If you could share any referral URLs to follow.
>
> Thank you.
>
> Best Regards,
> Chandramouli.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220817/c7ae9bf7/attachment.htm>


More information about the gstreamer-devel mailing list