RPi5 / RPi4 + H265 gstreamer pipeline? #426
Replies: 2 comments 5 replies
-
try:
but it may be slow due to SW h265 decoder. Try to found accelerated H265 decoder for RPI5. Or use rockchip-based boards (preferred) like radxa zero 3W/E or Orange PI5 |
Beta Was this translation helpful? Give feedback.
-
Hi, so nice to see thread with a similar problem to mine! I have an issue with transcoding h265 into h264 for my appsink on RPi5 - I use a similar pipeline, it works with software only encoding/transcoding however - barely. I had to decrease quality in a few places to make this work and sometimes delays pile up to 3-4 seconds. Do you have any experience how to set up hw encoding on RPi5? Or maybe you have some ideas what to change in the pipeline?
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm trying to set up a working pipeline for raspberrypi 5 or raspberrypi 4 (I have both, can use whichever is better for the task). When I'm receiving my h265 stream with FPVue app or the radxa image and it works fine. When I'm trying to run it on RPi 4 / RPi 5, I'm getting awful silver/gray artifacts all over the video.
Here's the pipelines that I've tried:
gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H265' ! rtph265depay ! h265parse config-interval=-1 ! video/x-h265, stream-format="byte-stream" ! autovideosink sync=false
gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, media=(string)video, encoding-name(string)H265' ! rtph265depay ! avdec_h265 ! clockoverlay valignment=bottom ! autovideosink
Here's a pipeline that successfully got rid of the silver/gray artifacts all over the image, however, with this one the delay increases tremendously with each second of the stream running. After several seconds the delay reaches 30+ seconds:
gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, media=(string)video, encoding-name(string)H265' ! rtpjitterbuffer ! rtph265depay ! avdec_h265 ! clockoverlay valignment=bottom ! autovideosink
Does anyone have any reliable pipeline for H265 on Pi 4 or Pi 5?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions