[GH-ISSUE #1569] Feature Request: FLAC playback & Transcoding to higher quality codecs #879

Closed
opened 2026-02-26 02:34:30 +03:00 by kerem · 3 comments
Owner

Originally created by @Vernoxvernax on GitHub (Oct 29, 2022).
Original GitHub issue: https://github.com/koel/koel/issues/1569

Hello. I think its a shame koel supports hosting flac files but not actually playing them.

MP3 might be suitable for phone users, but I'd prefer to make use of the high quality audio files especially on my desktop.
Why not switch to a more efficient audio codec for limited-bandwidth situations, like OPUS?
As far as I know, koel already uses ffmpeg for transcoding, so it shouldn't be too hard to implement it in the backend.

Thank you for this amazing application!!

Originally created by @Vernoxvernax on GitHub (Oct 29, 2022). Original GitHub issue: https://github.com/koel/koel/issues/1569 Hello. I think its a shame koel supports hosting flac files but not actually playing them. MP3 might be suitable for phone users, but I'd prefer to make use of the high quality audio files especially on my desktop. Why not switch to a more efficient audio codec for limited-bandwidth situations, like OPUS? As far as I know, koel already uses ffmpeg for transcoding, so it shouldn't be too hard to implement it in the backend. Thank you for this amazing application!!
kerem closed this issue 2026-02-26 02:34:30 +03:00
Author
Owner

@phanan commented on GitHub (Oct 30, 2022):

Koel actually does support direct streaming of FLAC by setting TRANSCODE_FLAC to false in .env. Admittedly, this could be better documented.

<!-- gh-comment-id:1296265825 --> @phanan commented on GitHub (Oct 30, 2022): Koel actually does support direct streaming of FLAC by setting `TRANSCODE_FLAC` to `false` in `.env`. Admittedly, this could be better documented.
Author
Owner

@Vernoxvernax commented on GitHub (Oct 30, 2022):

Koel actually does support direct streaming of FLAC by setting TRANSCODE_FLAC to false in .env. Admittedly, this could be better documented.

Oh great thanks. I am using the docker container and couldn't find it in the settings template file.

Then, how about adding a small indicator in the player so that you can check what kind of codec is being streamed? Like for example if I have both MP3 and FLAC files and TRANSCODE_FLAC disabled? Or just make another detail menu with bitrate and such?

<!-- gh-comment-id:1296267288 --> @Vernoxvernax commented on GitHub (Oct 30, 2022): > Koel actually does support direct streaming of FLAC by setting `TRANSCODE_FLAC` to `false` in `.env`. Admittedly, this could be better documented. Oh great thanks. I am using the docker container and couldn't find it in the settings template file. Then, how about adding a small indicator in the player so that you can check what kind of codec is being streamed? Like for example if I have both MP3 and FLAC files and `TRANSCODE_FLAC` disabled? Or just make another detail menu with bitrate and such?
Author
Owner

@phanan commented on GitHub (Oct 30, 2022):

I don't think this information is interesting to the vast majority of users, so I'd prefer not to burden myself with the maintenance.

<!-- gh-comment-id:1296273080 --> @phanan commented on GitHub (Oct 30, 2022): I don't think this information is interesting to the vast majority of users, so I'd prefer not to burden myself with the maintenance.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#879
No description provided.