apastuszak wrote:More than half my library is in FLAC format. I was hoping the web player would be able to play these files without transcoding. Every FLAC that I play just spins and plays maybe the first second or two and then jumps to the next track. If I transcode to Ogg Vorbis using oggenc, I get the same problem. It seems the only thing I can get to reliably play is MP3s. I was hoping the move to an HTML5 based player would allow native playback of FLAC, Ogg Vorbis and Opus files, since the browser supports those formats natively. I have tried both Chrome and Firefox with the same results.
I was able to get my iPhone to play FLAC as WAV by adding a second transcoding command:
Convert from FLAC
Convert to WAV
Step 1: ffmpeg -i %s -map 0:0 -f wav -
Voila!
Note that I don't use the web browser to play my FLAC collection, but I do want it to stream losslessly to my phone when using my phone to be the player on my home LAN. However, now I'm working on making it so when I'm on the road my FLACs still are being sent lossy compressed to MP3 before being played, to conserve bandwidth (and not wait on slow 3G network), because I just tried this and, despite a setting in the iSub app that is supposed to force it to 160kbps over cellular, it still streams at full CD WAV quality (i.e. 1411 kpbs).