Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: downsample flac from 96khz/24 bit to something else #32

Open
zombiehoffa opened this issue Nov 10, 2014 · 5 comments
Open
Assignees
Labels

Comments

@zombiehoffa
Copy link

It would be super awesome if mp3fs could automagically downsample flacs. Stupid sonos won't play 96khz/24 bit flac files and mp3fs downsampling would be great to workaround this shortcoming.

@khenriks khenriks self-assigned this Dec 3, 2014
@khenriks
Copy link
Owner

khenriks commented Dec 3, 2014

Just wanted to comment that this should be possible. Right now the only output format is MP3, but if FLAC is added as an output format it should work fine to do what you want.

@zombiehoffa
Copy link
Author

even outputting to mp3 is totally fine, the main thing is to downsample to 16 bit/44100 sonos seems to have something against 24 bit audio.

@khenriks
Copy link
Owner

khenriks commented Dec 3, 2014

When you convert the FLAC to an MP3 using mp3fs, what output do you get? MP3 files don't have sample sizes (24 bit vs. 16 bit), and the largest sample rate possible is 48 kHz. I don't know the limitations of Sonos devices to know how well it will work, and I don't have high quality FLACs like that handy.

@zombiehoffa
Copy link
Author

Hmm. So something weird is going on. If I copy the mp3 file out of my mp3fs read only dir somewhere else, then put it back in the parent dir (so that it shows up in my mp3fs dir that is shared to the sonos) I can actually play the mp3 file that is a created mp3. But, if I try to open the mp3fs virtual mp3 that will be created on the fly by mp3fs, I get an error in sonos about incorrect encoding (strangely VLC will play the parent FLAC file and it will play the mp3 generated by mp3fs if I first copy it somewhere else, but if I try to play the virtual mp3 in vlc, it takes about 45 seconds before it starts playing.)

You can get an open 96/24 bit flac here if you want to check it out: http://www.cardas.com/music/tree/

Also, it would be super handy if sample rate was configurable, since that also seems to break sonos.

@khenriks
Copy link
Owner

That issue sounds a lot like #25, which was closed for lack of feedback. I'll try to find some time to test that out and see if I can get to the bottom of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants