Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8042

Troubleshooting • Re: Gstreamer H.265 hardware decoding on Raspberry Pi 4

$
0
0
Well, I installed an older OS version (11 "bullseye") and:
  • I am able to stream much better with gstreamer (simply, it works correctly).
  • BUT, it is still SW decoding... So the strange thing is: why the same SW decoding was so laggy on "bookworm"...
For now this solution is sufficient for me. But would be really happy to use the HW decoding to free one CPU.

So, a temporary "solution" is:
  • Install Raspberry Pi OS based on Debian 11 "bullseye"
  • Install v4l & gstreamer:

    Code:

    sudo apt-get install gstreamer1.0-plugins-*sudo apt-get install v4l-* v4l2*
  • Test the stream decoding:

    Code:

    gst-launch-1.0 -v rtspsrc location=rtsp://$CAMERA_IP:$PORT/stream latency=0 ! rtph265depay ! decodebin ! videoconvert ! autovideosink sync=false
Works for me, taking one CPU for the decoding.

Statistics: Posted by jean.dupond3 — Fri May 30, 2025 8:30 am



Viewing all articles
Browse latest Browse all 8042

Trending Articles