<div dir="ltr">Hi,<div><br></div><div>1) Yes, you can. Gstreamer can encode/decode H264/H265 using Nvidia GPUs by using those elements nvv4l2decoder/nvv4l2h264enc/nvv4l2h265enc.</div><div>2) Yes, you can. If there's no reason to transcode, say to rescale or overlay something on the stream, then the implementation here `<a href="https://github.com/WebRTSP/ReStreamer`">https://github.com/WebRTSP/ReStreamer`</a>  would just relay the H264/H265 encoded packets as is without decoding yielding trivial CPU usage. The decoding is by  the webrtc client/browser.</div><div>3) <a href="https://github.com/WebRTSP/ReStreamer">https://github.com/WebRTSP/ReStreamer</a>  >> This is ready-to-use IP Camera stream to WebRTC (does no transcoding by default, just relay!)</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best Regards,<br>Eslam Ahmed</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 17, 2022 at 2:34 PM Chandramouli P via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hello,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">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, <span style="color:rgb(36,41,47);font-family:-apple-system,"system-ui","Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">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. </span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(36,41,47);font-family:-apple-system,"system-ui","Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><br></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(36,41,47);font-family:-apple-system,"system-ui","Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">1) Is it possible to do the above things using the GStreamer framework?</span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(36,41,47);font-family:-apple-system,"system-ui","Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">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. </span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(36,41,47);font-family:-apple-system,"system-ui","Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">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?</span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(36,41,47);font-family:-apple-system,"system-ui","Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">4) It would be great help, If you could share any referral URLs to follow.</span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(36,41,47);font-family:-apple-system,"system-ui","Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><br></span></div><p dir="auto" style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,47);font-family:-apple-system,"system-ui","Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">Thank you.</p><p dir="auto" style="box-sizing:border-box;margin-top:0px;color:rgb(36,41,47);font-family:-apple-system,"system-ui","Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-bottom:0px">Best Regards,<br style="box-sizing:border-box">Chandramouli.</p></div>
</blockquote></div>