celluloid-player / celluloid

A simple GTK+ frontend for mpv
https://celluloid-player.github.io
GNU General Public License v3.0
1.16k stars 92 forks source link

Flatpak advertises support for .xm, .mod, .it and .s3m (sequencer/tracker formats) but isn't able to play, Flatpak VLC is able to play them #979

Closed MateusRodCosta closed 2 months ago

MateusRodCosta commented 2 months ago

Overview Description:

The .desktop file advertises support for those file formats, but trying to play them results in a "unrecognized file format error"

Affected file formats: .xm, .mod, .it, .s3m

Steps to Reproduce:

  1. Download some of the mentioned formats from https://modarchive.org/index.php (example)
  2. Try to play it with Celluloid Flatpak via "Open With..." dialog

Actual Results:

"unrecognized file format error"

Expected Results:

Either the file format should be supported and the audio play, or the support shouldn't be advertised on the desktop entry file mimetype section

Version: 0.27

Additional Information: Flatpak version

gnome-mpv commented 2 months ago

Looks like ffmpeg needs to be compiled with libopenmpt to play those formats.

/cc @TingPing

MateusRodCosta commented 2 months ago

Looks like ffmpeg needs to be compiled with libopenmpt to play those formats.

/cc @TingPing

Why not just use ffmpeg-full instead of compiling your own ffmpeg then?

TingPing commented 2 months ago

It has been a while, but we enable some options that full didn't.

Easy to add more if needed.

TingPing commented 2 months ago

Also sometimes mpv needs a very new version of ffmpeg.