Device: Opi5-Plus (RK3588)
Kernel: linux-rc-6.14-rc7-1
Per my understanding kernel-linux-rc-6.14-rc7-1 does have vpu hardware acceleration support.
[jfl@opi5plus ~]$ lsmod | grep v4l2
v4l2_vp9 24576 1 hantro_vpu
v4l2_jpeg 16384 1 hantro_vpu
v4l2_h264 16384 2 hantro_vpu,rockchip_vdec2
v4l2_mem2mem 36864 3 hantro_vpu,rockchip_rga,rockchip_vdec2
videobuf2_v4l2 28672 4 hantro_vpu,rockchip_rga,rockchip_vdec2,v4l2_mem2mem
videodev 270336 5 videobuf2_v4l2,hantro_vpu,rockchip_rga,rockchip_vdec2,v4l2_mem2mem
videobuf2_common 65536 8 videobuf2_dma_contig,videobuf2_v4l2,hantro_vpu,rockchip_rga,videobuf2_dma_sg,rockchip_vdec2,v4l2_mem2mem,videobuf2_memops
mc 69632 6 videodev,videobuf2_v4l2,hantro_vpu,videobuf2_common,rockchip_vdec2,v4l2_mem2mem
[jfl@opi5plus ~]$
Read that gstreamer does have v4l2-request support and it most likely have vpu hardware acceleration with kernel-linux-rc-6.14-rc7-1. I have limited or no knowledge of using gstreamer to play or stream youtube video with audio. I have tried the follow gstreamer command to stream youtube video but t he video output with a window around 360p or so.
gst-launch-1.0 souphttpsrc is-live=true location="$(yt-dlp --format "best[ext=mp4][height<=?1080][fps<=?60][protocol=https]" --get-url https://www.youtube.com/watch?v=7PIji8OubXU)" ! qtdemux name=demuxer demuxer. ! queue ! avdec_h264 ! autovideosink demuxer.audio_0 ! queue ! avdec_aac ! audioconvert ! audioresample ! autoaudiosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Got context from element 'souphttpsrc0': gst.soup.session=context, session=(GstSoupSession)NULL;
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
^Chandling interrupt. (1.2 %)
Interrupt: Stopping pipeline ...
Execution ended after 0:00:08.683770572
Setting pipeline to NUL
The above gstreamer command is basically from How to watch Youtube videos with Gstreamer - LifeStyleTransfer
Wanted to gstreamer to output or select youtube video at up to 1080p/60fps instead of the default small window resolution. But have no knowledge how to achieve the goal.
Appreciate some tips and guidance.