the x264 av1 file plays only audio on vlc but works with flaws on mpv: on mpv I get audio and video, but every 5 to 6 seconds it’s like instead of getting 24 fps I get 22, the user noticing the missing frames.
Is this a hardware issue? software?
debian 12.11, vlc 3.0.21 flatpak, mpv 0.40.0 flatpak
what do I do?
Run ffprobe on that file and tell us what it really is.
Check using e.g.
top
for your CPU (nvidia-smi
oramd-smi
for your GPU) or System Monitor on KDE if any of your resource is being maxed out. If so then most likely you found the culprit.Regarding what the actual codec is being used you can use
ffprobe
but anyway what matters if resource bottleneck and thus if you can have hardware acceleration for it.It’s probably worth investigating so that you don’t keep on getting video files too big for your computer to handle. I imagine it’s something very high resolution with very recent compression. If so, look for something less demanding, e.g. x265 720p and if that’s still leading to performance hiccups the older x264 720p or even 480p.
It’s rare that the media player itself, e.g. VLC or mpv, actually is the bottleneck.
Is it x264 or AV1? They are two completely different codecs. If it’s AV1, you may not have hardware acceleration since it’s fairly new. It takes a lot of power to software decode AV1 and you will get dropped frames if the CPU can’t keep up.
This right here is your issue, OP. Most likely is AV1 and cant decode it fast enough.
If it’s AV1, you need both the hardware that can decode it, and the right libraries for it. x264 is not the same as AV1. AV1 requires lots of processing power, that’s why you see the slow down. But with the right gfx card (and libs), it can decode it fine. What’s your gfx card model exactly?
What hardware do you use?
try mplayer?
Try disabling hardware acceleration.
as a noob: on debian or mpv?
In the players. VLC has a setting in preferences, and mpv has a flag to disable on run.
Does mediainfo give any useful insight?