You are not logged in.

#1 2021-01-18 11:04:54

foxpy
Member
Registered: 2021-01-18
Posts: 4

mpv does not play some of small modules (tracking music, chiptune)

There are already some issues on mpv github. The first one describes the original problem I ran into: https://github.com/mpv-player/mpv/issues/8466
I have also opened a second issue here: https://github.com/mpv-player/mpv/issues/8474

As I can see, the whole world slowly switches from legacy unmaintained (correct me if I am wrong) libmodplug to libopenmpt. ArchLinux still ships libmodplug and links both ffmpeg and mpv to it. There are AUR packages for both libopenmpt and libopenmpt-modplug wrapper ensuring backwards compatibility to libmodplug.
I have installed this: https://aur.archlinux.org/packages/libopenmpt/
and this: https://aur.archlinux.org/packages/libopenmpt-modplug/
After that, I have installed https://aur.archlinux.org/packages/ffmpeg-git/ to ensure it correctly links to new libopenmpt-modplug package which replaces libmodplug.
Finally, I have installed https://aur.archlinux.org/packages/mpv-git/
The issue still remains unresolved, mpv does not play small modules.

If someone has any idea what I could try next to make it work, please share your ideas! Currently I am just trying to find a source of bug so I can at least form a proper bug report somewhere.
Sample file for your needs: https://share.rfnull.com/mpv-issue-1/hard_day.mod

Offline

#2 2021-01-18 13:37:51

latalante1
Member
Registered: 2018-08-30
Posts: 79

Re: mpv does not play some of small modules (tracking music, chiptune)

mpv --demuxer-lavf-format=libmodplug hard_day.mod

Offline

#3 2021-01-18 14:30:05

foxpy
Member
Registered: 2021-01-18
Posts: 4

Re: mpv does not play some of small modules (tracking music, chiptune)

latalante1 wrote:
mpv --demuxer-lavf-format=libmodplug hard_day.mod

Nice idea!

mpv --demuxer-lavf-probescore=20 hard_day.mod

also works.

Last edited by foxpy (2021-01-18 14:31:30)

Offline

Board footer

Powered by FluxBB