Yes, this seems that it is a problem....with the default transcoding that comes with Subsonic, all FLAC files are being down-sampled to 192kbps...here is the transcoding line, but again,this is just the default available on every install:
ffmpeg -i %s -map 0:0 -b:a %bk -v 0 -f mp3 -
This happens to both "normal rez" FLAC files of 44.1 kHz/16 bit as well as "high rez" FLAC files that are for instance 192kHz/24 bit files. For now, I have just disabled transcoding of FLAC files for the iSub iOS 'players', but depending on people's data rates with their mobile provider, this could be sub-optimal. FWIW, I prefer no transcoding at all for FLAC, and my T-Mobile plan is unlimited data so I don't really care and I don't have skips, so generally I like it. But nonetheless, transcoding to mp3 from flac is a basic requirement of course for most situations/people, so we need it to NOT down-rez to 192kbps, but instead allow for instance 320kbps. Maybe there is just something I don't understand about default ffmpeg mp3 transcoding, but nowhere in the above default string does it say to truncate at 192kbps. So it's almost like Sindre has something hard-coded in SS that is doing that regardless.
Here is the log snippet though when transcoding from flac to mp3 to illustrate (notice the 192K in there):
- Code: Select all
[2015-05-03 09:49:31,239] INFO PlayQueueInputStream - james listening to "Soundtrack From Twin Peaks/09 Dance Of The Dream Man.flac"
[2015-05-03 09:49:31,240] INFO TranscodeInputStream - Starting transcoder: [/Library/Application Support/Subsonic/transcode/ffmpeg] [-i] [/Volumes/Media/Music/Angelo Badalamenti/Soundtrack From Twin Peaks/09 Dance Of The Dream Man.flac] [-map] [0:0] [-b:a] [192k] [-v] [0] [-f] [mp3] [-]
Sindre, your thoughts please? Thanks as always.
Subsonic 5.2.1 on 2009 Apple XServe w/ Yosemite Server 10.10.5; 96GB RAM. Lots of Music - High Rez, native DSD streaming, and otherwise.