Rpi-ffmpeg or ffmpeg

I am assuming that “rpi-ffmpeg” is “probably” the raspberry pi’s ffmpeg package (it says jc-kynesim fork in the description, so maybe a fork of it), which is supposed to provide hw acceleration for x265 codec. The “unstable” release of Manjaro ARM (for RPI) comes with the standard ffmpeg installed.

I am having difficulty playing 4K x265 videos on my Pi (using VLC), could this be the reason? Would it have a better performance if i switch to rpi-ffmpeg package?

Yes using rpi-ffmpeg and mpv. Vlc uses it’s own ffmpeg built in internally to use ffmpeg v4.4.

[ray@jellyfin ~]$ mpv --profile=fast --hwdec=auto-safe --gpu-api=opengl ./127w_nasa_uhd_02042022.ts 

● Video  --vid=1               (hevc 3840x2160 59.9401 fps)
● Audio  --aid=1  --alang=eng  (mp2 2ch 48000 Hz 128 kbps)
○ Audio  --aid=2  --alang=eng  (aac 2ch 48000 Hz 129 kbps)
AO: [pipewire] 48000Hz stereo 2ch s16p
Using hardware decoding (drm).
● Video  --vid=1               (hevc [Main 10] 3840x2160 59.9401 fps)
● Audio  --aid=1  --alang=eng  (mp2 2ch 48000 Hz 128 kbps)
○ Audio  --aid=2  --alang=eng  (aac 2ch 48000 Hz 129 kbps)
○ Subs   --sid=1               (eia_608) [default]
VO: [gpu] 3840x2160 drm_prime[rpi4_10]
AV: 00:00:07 / 00:02:03 (6%) A-V:  0.000

You may need to use different --gpu-api= on plasma.