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

Graphics, sound and multimedia • Raspberry pi 5 - gstreamer h265 HW decoding poor performance

$
0
0
Hi,
since nobody answered by other post "Pi 5 h.265/HVEC HW Decoding Project" i am sharing my experience with raspi 5 HW decoding:
ari_pi5@pi5:~ $ ^C
ari_pi5@pi5:~ $ gst-launch-1.0 -v playbin uri=rtsp://192.168.144.25:8554/main.264 uridecodebin0::source::latency=0 rtspsrc::protocols=0x00000004 libde264dec
WARNING: erroneous pipeline: no element "libde264dec"
ari_pi5@pi5:~ $ gst-inspect-1.0 | grep 265
codectimestamper: h265timestamper: H.265 timestamper
de265: libde265dec: HEVC/H.265 decoder
libav: avdec_h265: libav HEVC (High Efficiency Video Coding) decoder
rtp: rtph265depay: RTP H265 depayloader
rtp: rtph265pay: RTP H265 payloader
typefindfunctions: video/x-h265: h265, x265, 265
videoparsersbad: h265parse: H.265 parser
x265: x265enc: x265enc

so i assumed libde265dec is the HW decoder:
ari_pi5@pi5:~ $ gst-launch-1.0 playbin uri=rtsp://192.168.144.27:8554/main.264 uridecodebin0::source::latency=0 rtspsrc::protocols=0x00000004 libde265dec

And here are a section of the videodata info:
g)broadcast, x-qt-text-nam=(string)"LIVE555\ Streaming\ Media\ v2019.08.12", x-qt-text-inf=(string)"LIVE555\ Streaming\ Media\ v2019.08.12", clock-base=(uint)2664123828, seqnum-base=(uint)29178, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1, onvif-mode=(boolean)false, ssrc=(uint)3900228655
/GstPipeline:pipeline0/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstH265Parse:h265parse0.GstPad:src: caps = video/x-h265, stream-format=(string)hvc1, alignment=(string)au, codec_data=(buffer)01016000000000000000000078f000fcfdf8f800000f03200001001840010c01ffff01600000030000030000030000030078ac09210001002a42010101600000030000030000030000030078a003c08010e58dae49326b96700800001f400003a9804022000100074401e076b02640, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, profile=(string)main, tier=(string)main, level=(string)4
/GstPipeline:pipeline0/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-h265, stream-format=(string)hvc1, alignment=(string)au, codec_data=(buffer)01016000000000000000000078f000fcfdf8f800000f03200001001840010c01ffff01600000030000030000030000030078ac09210001002a42010101600000030000030000030000030078a003c08010e58dae49326b96700800001f400003a9804022000100074401e076b02640, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, profile=(string)main, tier=(string)main, level=(string)4
/GstPipeline:pipeline0/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/avdec_h265:avdec_h265-0.GstPad:src: caps = video/x-raw, format=(string)I420, width=(int)1920, height=(int)1080, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2, colorimetry=(string)2:0:0:0, framerate=(fraction)30/1

from my experience the pi 5 was not able to decode even FHD 1920 x 1080 in a decent manner, (drops and 1 sec latency). The claim 4K@60 fps seems absurd to me at the moment. I hope someone can help me, i am planning to publish the video results on youtube soon, for being helpful to other people, who r also fighting that issue.

Statistics: Posted by evrengunay — Wed Jan 15, 2025 3:27 pm — Replies 0 — Views 1



Viewing all articles
Browse latest Browse all 4634

Trending Articles