x264 AV1 file, vlc and mpv on debian 12.11, problems to play it, what to do?
from merompetehla@lemmy.ml to linux@lemmy.ml on 14 Jul 20:38
https://lemmy.ml/post/33161671

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?

#linux

threaded - newest

just_another_person@lemmy.world on 14 Jul 20:41 next collapse

Try disabling hardware acceleration.

merompetehla@lemmy.ml on 14 Jul 20:47 collapse

as a noob: on debian or mpv?

just_another_person@lemmy.world on 14 Jul 21:03 collapse

In the players. VLC has a setting in preferences, and mpv has a flag to disable on run.

solrize@lemmy.ml on 14 Jul 21:09 next collapse

try mplayer?

cmnybo@discuss.tchncs.de on 14 Jul 21:55 next collapse

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.

StopSpazzing@lemmy.world on 15 Jul 03:13 collapse

This right here is your issue, OP. Most likely is AV1 and cant decode it fast enough.

Lemmchen@feddit.org on 14 Jul 22:11 next collapse

Does mediainfo give any useful insight?

eugenia@lemmy.ml on 15 Jul 06:18 next collapse

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?

pastermil@sh.itjust.works on 15 Jul 08:02 next collapse

What hardware do you use?

utopiah@lemmy.ml on 16 Jul 14:32 next collapse

Check using e.g. top for your CPU (nvidia-smi or amd-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 rate that the media player itself, e.g. VLC or mpv, actually is the bottleneck.

LeFantome@programming.dev on 16 Jul 14:50 collapse

Run ffprobe on that file and tell us what it really is.