(media player) how to read wavpack and ape files

So, today i transferred some music to my wonderful jp2, then opened the media player to listen to them, and…

codec not supported: wavpack

codec not supported: ape music parser

is there a way to make it read them?can i install the codecs?i don’t really want to transcode my files, to be read by the phone…

I checked, out of curiosity, and it seems the ffmpeg version on Sailfish is not compiled for APE decoding.

[defaultuser@JollaPhone2026 ~]$ gst-launch-1.0 playbin uri=file:////run/media/defaultuser/68E3-C2CD/Music/Sorted/luckynight.ape 
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: Your GStreamer installation is missing a plug-in.
Additional debug info:
../gst/playback/gsturidecodebin.c(1070): no_more_pads_full (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0:
no suitable plugins found:
../gst/playback/gstdecodebin2.c(4720): gst_decode_bin_expose (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:
no suitable plugins found:
Missing decoder: audio/x-ffmpeg-parsed-ape (audio/x-ffmpeg-parsed-ape, rate=(int)44100, channels=(int)2, channel-mask=(bitmask)0x0000000000000003, depth=(int)16, codec_data=(buffer)960fd0070000)

ERROR: pipeline doesn't want to preroll.
ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/avdemux_ape:avdemux_ape0: Internal data stream error.
Additional debug info:
../ext/libav/gstavdemux.c(1644): gst_ffmpegdemux_loop (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/avdemux_ape:avdemux_ape0:
streaming stopped, reason not-linked (-1)
Details:
details, flow-return=(int)-1;
ERROR: pipeline doesn't want to preroll.
Missing element: audio/x-ffmpeg-parsed-ape decoder
Setting pipeline to NULL ...
Freeing pipeline ...
[defaultuser@JollaPhone2026 ~]$ gst-inspect-1.0 avdec_ape
WARNING: terminal is not fully functional
Press RETURN to continue 
No such element or plugin 'avdec_ape'

On a positive side: Deadbeef Silica supports APE out of the box. I managed to play a sample APE file (EDIT: and wavepack as well).

The original project: DeadBeef Silica | OpenRepos.net — Community Repository System
The version for the Jolla Phone 2026 architecture: DeadBeef (armv7hl|aarch64|i486) | OpenRepos.net — Community Repository System

There is a possibility to recompile ffmpeg with APE support but the Deadbeef route is probably a tad less invasive.

1 Like

I know, and for wavpack too, but i would like to continue using the default media player, which is the player i like the most on sailfish

Maybe those two codecs can be added?

check licenses

if there are no licenses required for playback, maybe they can

Meanwhile you can just like… build it yourself and enable what you want Show home:mister / ffmpeg - SailfishOS Open Build Service (this one doesn’t have them enabled its just exampl)

1 Like

I don’t mean to be annoying, but is there a reason you don’t just convert your library to FLAC and eliminate all current, past and future compatibility issues? APE’s only benefit is that it takes up marginally less space than FLAC (and perhaps a second benefit is that it has a funny name), but in all other regards it’s equal or worse. I don’t think Wavpack even has any advantages over FLAC at all.

I know it sounds frustrating to have to convert your library to a different format and that it sounds easier to just fix support for them on the phone, but there’s software out there that does the whole library conversion all for you while you’re asleep, and staying on APE or WV just means you’ll keep running into the same issue again and again.

5 Likes

for ape files you can install ffmpeg | OpenRepos.net — Community Repository System (most recent version is https://openrepos.net/sites/default/files/packages/17754/ffmpeg-5.1.10-2.6.51.aarch64.rpm)

for wavpack: i will build gstreamer1.0-plugins-good with wavpack support and upload it here: Gstreamer plugins bad (aarch64) | OpenRepos.net — Community Repository System

2 Likes

As for ape, you have a point here, it’s a very annoying format, and we all agree on that

But it happened i downloaded a record and it was in the ape format, and i didn’t bother converting since my computer with fedora can play it just fine

As for the wavpack, well it’s the estabilished format for high quality music so i have some records in that format, and they sound pretty amazing (not as my original records but still)
Since it’s a free format (actually the opensource equivalent of wav) i thought there would have been no problem in reading them on the jolla, especially since the media player can list them

1 Like

Don’t think these will collide with original files, right?

From what I understand, neither of them has patent issues anymore and both are under the BSD license, so I don’t see why Jolla couldn’t add support by default.

I don’t exactly know what you mean.

for wavpack there will be a gstreamer1.0-plugins-good-wavpack rpm and ffmpeg 5.1.10-2.6.51 will replace the jolla version of ffmpeg

1 Like

I’m all for converting to flac too. You don’t need 32bit let’s be honest

No it’s not. The only difference is that it can have 32bit. flac is already lossless

I’m just asking if i will have problems in the future, but i guess not

While i agree with you (because right, ape is a very unconvenient format to work with) i just forgot i had a record in ape and put it on the phone

It’s just because i can’t remember to convert every single record it’s not mp3 or flac, especially since wavpack is even open source

Not saying you’re wrong, just talking about convenience…

1 Like

if wavepack is opensource and not licensed (verify thoroughly) then you can tell jolla to enable it and I’m sure they will…

eventually…

maybe…

Soon (registered trademark)

if you cannot wait, you may install https://download.opensuse.org/distribution/leap/16.0/repo/oss/aarch64/libwavpack1-5.7.0-160000.2.2.aarch64.rpm and then download https://download.opensuse.org/distribution/leap/16.0/repo/oss/aarch64/gstreamer-plugins-good-1.26.7-160000.2.1.aarch64.rpm and open it with any archive-app and extract libgstwavpack.so and move it to /usr/lib64/gstreamer-1.0/

this will do the trick…

3 Likes

https://openrepos.net/sites/default/files/packages/7598/gstreamer1.0-plugins-good-wavpack-1.26.11-2.aarch64.rpm is available now at Gstreamer plugins bad (aarch64) | OpenRepos.net — Community Repository System

1 Like

do not forget that pulseaudio in jolla does not run at 32bits / 96kHz, but 16b / 48k so it has no sense to play “hi-quality” songs in phone. lets convert them in batch to flac…
i tried once on xperia10V to run pulse at 24bits and probably tried 96kHz too (i dont remember), well with good DAC it was notable on hi-quality FLACs (from store not CD-rips what can not be better than original CD :slight_smile: ), but phone was warm and battery drain was too high for my taste

Just need to add my €€:

Both wavpack (.wv) and .ape are lossless codecs.

Let’s be clear: lossless is lossless. @247 can very well transcode them to another lossless codec without losing anything. They could then even discard the originals and have one less headache for the rest of their life.

From this article:

Beyond FLAC and ALAC, a few other lossless audio file formats attract power users, collectors, and archivists who don’t mind trading mainstream convenience for specialized behavior.

WavPack and Monkey’s Audio sit in that category. They’re real tools, not trivia, but they’re much less common in everyday creator workflows.

(…) One reason [wavpack] stays niche is simple: support isn’t as universal. If you’re sending files between collaborators, clients, editors, and apps, a format that requires explanation usually loses to one that opens immediately.

Monkey’s Audio is often discussed among users chasing high-efficiency lossless compression. But in real production environments, compatibility usually wins over theoretical advantages.

If you’re a solo archivist managing a private collection, niche formats can be perfectly reasonable. If you’re working across DAWs, cloud storage, video software, mobile devices, and shared teams, they can become a liability.

By insisting to use niche codecs with the most mainstream media player SFOS has, @247 is essentially asking for a shoehorn with teeth.

I have a biggish collection of digital music that has some really problematic edge cases - lossy encoding that is unlikely to ever become popular again. If those were lossless I’d just convert them to FLAC and be done with it.

All that said, SFOS’ ffmpeg version is woefully old and can’t even be replaced (easily) because internal software uses its libraries and not its cli frontend.