60fps MP4 files play slowly in VLC, SMPlayer, and MPV. What needs to be configured to be able to play a 60fps MP4 file smoothly?
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/mp42)
File size : 265 MiB
Duration : 15 s 346 ms
Overall bit rate : 145 Mb/s
Frame rate : 60.000 FPS
Encoded date : 2025-05-03 10:40:43 UTC
Tagged date : 2025-05-03 10:40:43 UTC
Writing operating system : Google Android 14
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L5.1@High
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Duration : 15 s 346 ms
Bit rate : 144 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 60.000 FPS
Minimum frame rate : 60.000 FPS
Maximum frame rate : 60.040 FPS
Real frame rate : 60.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.290
Stream size : 264 MiB (100%)
Title : VideoHandle
Language : English
Encoded date : 2025-05-03 10:40:43 UTC
Tagged date : 2025-05-03 10:40:43 UTC
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
mdhd_Duration : 15346
Codec configuration box : hvcC
Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 15 s 321 ms
Source duration : 15 s 317 ms
Bit rate mode : Constant
Bit rate : 256 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 479 KiB (0%)
Source stream size : 479 KiB (0%)
Title : SoundHandle
Language : English
Encoded date : 2025-05-03 10:40:43 UTC
Tagged date : 2025-05-03 10:40:43 UTC
mdhd_Duration : 15321
I bet that the problem is not 60 fps but HEVC decoding, likely the system has no HW decoder for that.
Please post vainfoand/or vdpauinfo |grep HEVC depending on your GPU.
As suspected, from that output there is no HW decoding for HEVC. If no relevant output is seen from vdpauinfo, you are bound to SW decoding and that paired with 60 fps might exceed the horsepower of your CPU.
I have no AMD HW on hand ATM, so cannot comment further. Showing inxi -GCaz might help others with similar HW suggest relevant tweaks if any.
I did a test on an Intel Core i7-4720HQ without HW decoding using this sample.
On Gnome using Showtime one core is always near 100%, using Totem two cores are always near 100%, both having brief “holes” in audio or video.
Using the barefoot command line ffplay "The National - Tropic Morning News (Tonight Show, 2023).mkv" one core is constantly at 85-90% but the clip plays smoothly.
Maybe you are in a similar situation and unless you can convince your video player(s) to use parallel threads (or find one player that does) I think you have no chance.