21
submitted 1 day ago* (last edited 1 day ago) by [email protected] to c/[email protected]

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?

top 11 comments
sorted by: hot top new old
[-] [email protected] 1 points 27 minutes ago

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

[-] [email protected] 1 points 45 minutes ago* (last edited 43 minutes ago)

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 rare that the media player itself, e.g. VLC or mpv, actually is the bottleneck.

[-] [email protected] 30 points 1 day ago

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.

[-] [email protected] 5 points 1 day ago

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

[-] [email protected] 3 points 1 day ago

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?

[-] [email protected] 1 points 1 day ago

What hardware do you use?

[-] [email protected] 2 points 1 day ago

try mplayer?

[-] [email protected] 1 points 1 day ago

Does mediainfo give any useful insight?

[-] [email protected] 1 points 1 day ago

Try disabling hardware acceleration.

[-] [email protected] 2 points 1 day ago

as a noob: on debian or mpv?

[-] [email protected] 3 points 1 day ago

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

this post was submitted on 14 Jul 2025
21 points (92.0% liked)

Linux

56412 readers
597 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS