I’ve tried searching around and stuff but I couldn’t find a working solution

Background: I am running Arch Linux on a Raspberry Pi, mainly as a media player.

When I run MPV, it seems to drop frames (1-2 per second). Visually, nothing looks wrong so I am fine with that.

The issue is that after playing for some duration, the audio will just disappear. I would then need to pause the video for a while or seek backwards for the audio to come back (sometimes it just comes back on its own when I leave it playing too). I suspect it may be due to the dropped frames or maybe it’s due to insufficient system resource.

Could someone help suggest some config changes which may help with the issue? I am totally fine with the visual dropped frames, I just want to fix the audio issue.

This is my config.

input-ipc-server=/tmp/mpvsocket
ao=pipewire
volume=120
demuxer-readahead-secs=3                                
cache=yes
  • 0WN3DOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    Tried the settings on the GitHub, doesn’t seem to work, and it also made the stuttering worse

    opengl-pbo=yes
    opengl-early-flush=no.
    video-sync=display-resample
    

    ok, here you go

    https://pastebin.com/uPc5S1LU