Video playback is not smooth anymore after few updates on Pinebook

try vd-lavc-dr=no in your mpv.conf or just as a switch.
it solves the issue for me. (credit: CounterPillow over at #mpv irc.libera.chat)

[with vd-lavc-dr=yes (default)]

Resuming playback. This behavior can be disabled with --no-resume-playback.
 (+) Video --vid=1 (*) (h264 1280x720 50.000fps)
 (+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
File tags:
 Artist: mark ifi
 Comment: https://www.youtube.com/watch?v=S-abWcegtnk
 Date: 2022
 Title: youtubeupload2022 11 12T23:54+01:00
[auto_profiles] Applying auto profile: focus-lost 
AO: [pipewire] 44100Hz stereo 2ch floatp
VO: [gpu] 1280x720 yuv420p
[auto_profiles] Restoring profile: focus-lost 
AV: 00:00:15 / 00:01:26 (18%) x1.01 A-V:  0.471 Dropped: 68

Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).

AV: 00:00:31 / 00:01:26 (36%) x1.01 A-V:  6.292 Dropped: 708
Audio device underrun detected.
AV: 00:01:26 / 00:01:26 (100%) x1.01 A-V:  0.000 Dropped: 3028

Exiting... (End of file)
framedrops


[with vd-lavc-dr=no]

 (+) Video --vid=1 (*) (h264 1280x720 50.000fps)
 (+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
File tags:
 Artist: mark ifi
 Comment: https://www.youtube.com/watch?v=S-abWcegtnk
 Date: 2022
 Title: youtubeupload2022 11 12T23:54+01:00
[auto_profiles] Applying auto profile: focus-lost 
AO: [pipewire] 44100Hz stereo 2ch floatp
VO: [gpu] 1280x720 yuv420p
[auto_profiles] Restoring profile: focus-lost 
AV: 00:01:26 / 00:01:26 (100%) A-V:  0.000 Dropped: 3

Exiting... (End of file)
no more framedrops

       --vd-lavc-dr=<yes|no>
              Enable direct rendering (default: yes). If this is set to yes,  the  video
              will  be  decoded directly to GPU video memory (or staging buffers).  This
              can speed up video upload, and may help with  large  resolutions  or  slow
              hardware. This works only with the following VOs:

                 • gpu: requires at least OpenGL 4.4 or Vulkan.

                 • libmpv: The libmpv render API has optional support.

              Using  video  filters  of any kind that write to the image data (or output
              newly allocated frames) will silently disable the DR code path.


1 Like