I am thinking from what I read is 116 was modified for the rpi4 64bit and have not seen any other device mentioned.
Iβve tried with rk3566 and think vpu use works because 720p youtube used 75% CPU before and now is 50%. A better trial would be with 1080p but this option has dissapeared from first Firefox lunch.
I have seen lower resolutions here also. It must be throttled according to ones internet speed now. My only choices now are 360p 240p and 144p with my crappy DSL.
After installing ffmpeg-rk, I obtained the PKGBUILD of mpv from the archlinux repository instead of the archlinuxarm repository (What happened that I couldnβt download the PKGBUILD from archlinuxarm?). After compiling and installing, I tried to play the video using mpv --hwdec=v4l2m2m-copy --hwdec-codecs=all ~/VID_20230227_163234.mp4, but only got the following error. It seems that an ffmpeg suitable for RK3399 is needed, and does Firefox also need to be recompiled? Is there a usable PKGBUILD?
However, I found this ffmpeg, which seems to allow hardware encoding/decoding to work for RK3399.
mpv --hwdec=v4l2m2m-copy --hwdec-codecs=all ~/VID_20230227_163234.mp4
(+) Video --vid=1 (*) (h264 3840x2160 30.030fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 48000Hz)
[ffmpeg/video] h264_v4l2m2m: Could not find a valid device
[ffmpeg/video] h264_v4l2m2m: can't configure decoder
Could not open codec.
AO: [pipewire] 48000Hz stereo 2ch floatp
VO: [gpu] 3840x2160 yuv420p
AV: 00:00:01 / 00:00:07 (15%) A-V: 0.418 Dropped: 18
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
AV: 00:00:02 / 00:00:07 (35%) A-V: 1.095 Dropped: 39
Exiting... (Quit)
No. Firefox uses the installed ffmpeg. However when it checks when loading up it will use the highest version installed if you have more than one ffmpeg version installed.
It means firefox does not compile with a specific ffmpeg at compile time like vlc, mpv etc⦠It looks for ffmpeg when it starts up and defaults to using what ever ffmpeg version that is installed on your system and if you have multiple ffmpeg packages installed then it will use the highest version.
mpv --hwdec=v4l2m2m-copy --hwdec-codecs=all /home/daiaji/ζ‘ι’/VID_20230227_163234.mp4
(+) Video --vid=1 (*) (h264 3840x2160 30.030fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 48000Hz)
[vo/gpu/drm] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu/drm] No connected connectors found
[vo/gpu-next/drm] Can't handle VT release - signal already used
[vo/gpu-next/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu-next/drm] No connected connectors found
Error opening/initializing the selected video_out (--vo) device.
Video: no video
Exiting... (Errors when loading file)
mpv --hwdec=auto /home/daiaji/ζ‘ι’/VID_20230227_163234.mp4
(+) Video --vid=1 (*) (h264 3840x2160 30.030fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 48000Hz)
[vo/gpu/drm] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu/drm] No connected connectors found
[vo/gpu-next/drm] Can't handle VT release - signal already used
[vo/gpu-next/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu-next/drm] No connected connectors found
Error opening/initializing the selected video_out (--vo) device.
Video: no video
Exiting... (Errors when loading file)