Slow playing MP4 with MPV on Trisquel 10

4 replies [Last post]
amtrakuk
Offline
Joined: 11/25/2019

Fresh install of 10 (rather than upgrade) and having problems playing MP4 with mpv (and maybe others Ive not come across). The sound plays fine but the video seems to be at half speed. VLC works fine, but would rather use MPV.
Does anyone have any ideas please?

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)

prospero
Offline
Joined: 05/20/2022

Does it happen with a specific file, or with any MP4 you have been trying to play in mpv?

In any case, you may want to have a look at the two options referenced there:
https://github.com/mpv-player/mpv/issues/4335#issuecomment-295398252

amtrakuk
Offline
Joined: 11/25/2019

It happens with with only some MP4 videos.

I'll have a look at the link - thanks!

WizardHemp
Offline
Joined: 11/28/2021

Is it the resolution? My thinkpad has trouble loading high resolution videos because the CPU is too weak to handle them. That might be the problem. You could also try increasing the speed of mpv playback by pressing the ']', or '}' key. If resolution is the problem then you could scale the video down with ffmpeg.

andermetalsh
Offline
Joined: 01/04/2013

In ~/.config/mpv/mpv.conf

vd-lavc-fast
vd-lavc-skiploopfilter=all
ytdl-format="bestvideo[height<=?720]+bestaudio/best"