catharsis / spotifile

FUSE file system for Spotify
BSD 3-Clause "New" or "Revised" License
144 stars 7 forks source link

Add support for on the fly mp3/ogg encoding #18

Open raoulh opened 9 years ago

raoulh commented 9 years ago

For now to play a track there is a track.wav virtual file we can open. A nice feature would be to have .mp3/ogg/whatever files next to the .wav, that can encode on the fly. That would be nice for streaming over the network.

catharsis commented 9 years ago

I've actually given this some thought already, so thanks for reporting it! Another cute thing would be the ability to add ID3 tags for track metadata, which is not exactly trivial to implement in a portable way with pure wave files.

zouppen commented 8 years ago

Is it possible to get Vorbis directly from Spotify without re-encoding? Spotify uses Vorbis internally: https://support.spotify.com/is/learn-more/faq/#!/article/What-bitrate-does-Spotify-use-for-streaming

catharsis commented 8 years ago

Unfortunately not, libspotify only makes the raw PCM data available. Reencoding to Vorbis should be fairly straightforward, though. The library support for doing so seems fairly pleasant. I'm not blown away by LAME, so far, which is why this feature hasn't moved beyond POC.

... Maybe Vorbis would be a better choice. Den 31 jan 2016 18:21 skrev "Joel Lehtonen" notifications@github.com:

Is it possible to get Vorbis directly from Spotify without re-encoding? Spotify uses Vorbis internally: https://support.spotify.com/is/learn-more/faq/#!/article/What-bitrate-does-Spotify-use-for-streaming

— Reply to this email directly or view it on GitHub https://github.com/catharsis/spotifile/issues/18#issuecomment-177555479.