[GH-ISSUE #11] Support flac, wav #9

Closed
opened 2026-02-26 02:31:46 +03:00 by kerem · 16 comments
Owner

Originally created by @SkinyMonkey on GitHub (Dec 14, 2015).
Original GitHub issue: https://github.com/koel/koel/issues/11

As I said, I'm not a PHP Wizard but I could look into it.

Originally created by @SkinyMonkey on GitHub (Dec 14, 2015). Original GitHub issue: https://github.com/koel/koel/issues/11 As I said, I'm not a PHP Wizard but I could look into it.
kerem closed this issue 2026-02-26 02:31:46 +03:00
Author
Owner

@nadley commented on GitHub (Dec 14, 2015):

Waiting for this feature as all my collection is in flac, but implementing flac is not easy as browsers doesn't support it natively. So the flac decoding should be done by javascript side with for example : https://github.com/audiocogs/flac.js/tree/master.

Good luck
Thanks

<!-- gh-comment-id:164411178 --> @nadley commented on GitHub (Dec 14, 2015): Waiting for this feature as all my collection is in flac, but implementing flac is not easy as browsers doesn't support it natively. So the flac decoding should be done by javascript side with for example : https://github.com/audiocogs/flac.js/tree/master. Good luck Thanks
Author
Owner

@edent commented on GitHub (Dec 14, 2015):

Ampache (a similar project) transcodes files on the fly https://github.com/ampache/ampache/wiki/Transcoding

Transcoding might be a better solution than playing FLAC in the browser. Smaller file sizes and less work for the browser to do.

<!-- gh-comment-id:164423252 --> @edent commented on GitHub (Dec 14, 2015): Ampache (a similar project) transcodes files on the fly https://github.com/ampache/ampache/wiki/Transcoding Transcoding might be a better solution than playing FLAC in the browser. Smaller file sizes and less work for the browser to do.
Author
Owner

@phanan commented on GitHub (Dec 14, 2015):

I honestly don't see wav supported – we don't want too stream those big-ass files anyway do we?
FLAC on the other hand sounds like something in higher demand, so I'll be thinking about it. Although, personally I don't stream them either, for the same reason as wav's.

<!-- gh-comment-id:164434223 --> @phanan commented on GitHub (Dec 14, 2015): I honestly don't see wav supported – we don't want too stream those big-ass files anyway do we? FLAC on the other hand sounds like something in higher demand, so I'll be thinking about it. Although, personally I don't stream them either, for the same reason as wav's.
Author
Owner

@roderickm commented on GitHub (Dec 14, 2015):

See also mp3fs, a FUSE-based transcoding filesystem from FLAC to MP3.

<!-- gh-comment-id:164485949 --> @roderickm commented on GitHub (Dec 14, 2015): See also [mp3fs](https://github.com/khenriks/mp3fs), a FUSE-based transcoding filesystem from FLAC to MP3.
Author
Owner

@phanan commented on GitHub (Dec 14, 2015):

Yeah saw that too. Certainly worth giving a try.

<!-- gh-comment-id:164488061 --> @phanan commented on GitHub (Dec 14, 2015): Yeah saw that too. Certainly worth giving a try.
Author
Owner

@0xcaff commented on GitHub (Dec 14, 2015):

The reason to stream FLAC is because many people have archival quality backups composed of FLAC which they need to be accessible, but still high quality.

<!-- gh-comment-id:164515195 --> @0xcaff commented on GitHub (Dec 14, 2015): The reason to stream FLAC is because many people have archival quality backups composed of FLAC which they need to be accessible, but still high quality.
Author
Owner

@nadley commented on GitHub (Dec 14, 2015):

Transcodibg can be a solution if it is done on the fly and doesn't consume disk space by generating a file on each transcode...

<!-- gh-comment-id:164518058 --> @nadley commented on GitHub (Dec 14, 2015): Transcodibg can be a solution if it is done on the fly and doesn't consume disk space by generating a file on each transcode...
Author
Owner

@RoxasShadow commented on GitHub (Dec 16, 2015):

I think both transcoding and raw FLAC streaming would be suitable for the most part of the people since if someone has a quite good connection can listen to the original FLAC files, otherwise he/she could enable the transcoding and download lightweighter files. Pretty interested in both the features anyway.

<!-- gh-comment-id:165032789 --> @RoxasShadow commented on GitHub (Dec 16, 2015): I think both transcoding and raw FLAC streaming would be suitable for the most part of the people since if someone has a quite good connection can listen to the original FLAC files, otherwise he/she could enable the transcoding and download lightweighter files. Pretty interested in both the features anyway.
Author
Owner

@0xcaff commented on GitHub (Jan 1, 2016):

The latest chrome beta build seems to have FLAC support!
screenshot 2016-01-01 at 2 14 36 pm

Try it yourself here!

<!-- gh-comment-id:168332848 --> @0xcaff commented on GitHub (Jan 1, 2016): The latest chrome beta build seems to have FLAC support! ![screenshot 2016-01-01 at 2 14 36 pm](https://cloud.githubusercontent.com/assets/3277097/12071894/5c4240c4-b092-11e5-9c75-74f6b5d19775.png) [Try it yourself here!](http://hpr.dogphilosophy.net/test/index.php)
Author
Owner

@phanan commented on GitHub (Jan 5, 2016):

@caffinatedmonkey Thanks! Can't wait to try this out. Reopening as a reminder.

<!-- gh-comment-id:168864174 --> @phanan commented on GitHub (Jan 5, 2016): @caffinatedmonkey Thanks! Can't wait to try this out. Reopening as a reminder.
Author
Owner

@0xcaff commented on GitHub (Jan 5, 2016):

Unfortunately, upon further investigation, it only seems to work on ChromeOS and Chrome on Android. Sorry for the false alarm. github.com/Fyrd/caniuse@d664b43456

<!-- gh-comment-id:168896560 --> @0xcaff commented on GitHub (Jan 5, 2016): Unfortunately, upon further investigation, it only seems to work on ChromeOS and Chrome on Android. Sorry for the false alarm. https://github.com/Fyrd/caniuse/commit/d664b43456e9b58fa78a37e10485d273976a69b7
Author
Owner

@phanan commented on GitHub (Jan 5, 2016):

At least it's a sign that FLAC would be natively supported eventually 👍

<!-- gh-comment-id:168914680 --> @phanan commented on GitHub (Jan 5, 2016): At least it's a sign that FLAC would be natively supported eventually :+1:
Author
Owner

@rlex commented on GitHub (Jan 25, 2016):

Transcoding is a nice feature to have. I can't switch to koel from subsonic because my collection stored in FLAC files and subsonic transcodes them on the fly to MP3.

<!-- gh-comment-id:174504151 --> @rlex commented on GitHub (Jan 25, 2016): Transcoding is a nice feature to have. I can't switch to koel from subsonic because my collection stored in FLAC files and subsonic transcodes them on the fly to MP3.
Author
Owner

@phanan commented on GitHub (Jan 28, 2016):

This will be an experimental feature in 2.0.

<!-- gh-comment-id:176112892 --> @phanan commented on GitHub (Jan 28, 2016): This will be an experimental feature in 2.0.
Author
Owner

@phanan commented on GitHub (Jan 31, 2016):

Done on 2.0.

<!-- gh-comment-id:177511582 --> @phanan commented on GitHub (Jan 31, 2016): Done on 2.0.
Author
Owner

@vveliev commented on GitHub (Sep 6, 2017):

Im having issue playing FLAC in my installation , wondering if it's related, but cannot find log files

<!-- gh-comment-id:327370126 --> @vveliev commented on GitHub (Sep 6, 2017): Im having issue playing FLAC in my installation , wondering if it's related, but cannot find log files
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#9
No description provided.