namida icon indicating copy to clipboard operation
namida copied to clipboard

[FEATURE REQUEST]

Open Sabdot33 opened this issue 8 months ago • 3 comments

Namida does not support .ogg files even though they sound basically indifferent to flac but much better than mp3 or m4a. This is why I'd really love if you could add support for such files.

Picture of error description when trying to play .ogg files

The windows media player for example has .ogg support and i think libogg might be a solution but don't quote me on that. Note: I am using the beta build of the app.

Sabdot33 avatar Apr 27 '25 12:04 Sabdot33

There is literally ogg support 😭 it's trying to find the file I think

C0C0B01 avatar Apr 27 '25 13:04 C0C0B01

can u send the file to test?

MSOB7YY avatar Apr 27 '25 13:04 MSOB7YY

1973 - Ring Ring.zip

This is a couple, had to zip it because otherwise it wont allow me to upload. Also the way i made these is from flac using this script to save some space:

def convert_flac_to_ogg(flac_path, ogg_path, quality=8):
    os.makedirs(os.path.dirname(ogg_path), exist_ok=True)
    command = [
        "ffmpeg",
        "-i", flac_path,
        "-c:a", "libvorbis",
        "-qscale:a", str(quality),
        ogg_path
    ]
    print(f"Converting: {flac_path} -> {ogg_path}")
    subprocess.run(command, check=True)

And i can listen to it in Windows media player too.

Sabdot33 avatar Apr 27 '25 16:04 Sabdot33

can confirm its also not working for me (despite other players playing it normally)

it seems like an issue with exoplayer not being able to play vorbis content, solution was proposed here https://github.com/google/ExoPlayer/pull/10807 but didnt continue sadly

i might allow choosing mpv as player backend on android too, but im still not sure yet, that could be the only solution for now

MSOB7YY avatar Apr 28 '25 00:04 MSOB7YY

please read and follow #736, it will be the solution for this (by switching to mpv player)

MSOB7YY avatar Oct 29 '25 00:10 MSOB7YY

@Sabdot33 just to be sure u mean android version right? bcz it works perfect on windows already

MSOB7YY avatar Oct 29 '25 00:10 MSOB7YY

Yes, exactly.

Sabdot33 avatar Oct 29 '25 05:10 Sabdot33

@Sabdot33 thanks for test files and detailed report. they are playable now in the latest beta (v5.4.6+) https://github.com/namidaco/namida-snapshots/releases

MSOB7YY avatar Nov 10 '25 03:11 MSOB7YY