Page 1 of 1

Proper transcoding settings for jukebox

PostPosted: Sun Mar 02, 2014 10:27 pm
by spookybathtub
EDIT: After fixing a different issue, I'm rewording this post.

I can't understand Subsonic's logs regarding transcoding. I'm trying to setup a Jukebox player without any transcoding, for best sound quality. I read in the wiki that the last step needs to use lame, so I tried those instructions, adding a two-step transcoder from MP3 to WAV and also from FLAC to WAV. When I play mp3 tracks using that, the log shows
Code: Select all
[2014-03-02 15:31:10,493] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/mnt/HDD/p2p-music/adele - 19 - mp3/19/01 Daydreamer.mp3] [-v] [0] [-f] [au] [-]
[2014-03-02 15:31:11,315] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream mapping:
[2014-03-02 15:31:11,317] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   Stream #0.0 -> #0.0
[2014-03-02 15:31:11,325] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Press ctrl-c to stop encoding
[2014-03-02 15:31:11,374] DEBUG JukeboxService - Opened line com.sun.media.sound.DirectAudioDevice$DirectSDL@144af6c
[2014-03-02 15:31:11,378] INFO JukeboxService - admin starting jukebox for "19/01 Daydreamer.mp3"
[2014-03-02 15:31:12,085] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=     257kB time=1.49 bitrate=1411.3kbits/s   

And so on. Same behavior with FLAC. If I remove the second step (lame), leaving only ffmpeg, the log shows exactly the same thing. It seems like it's ignoring the custom transcoder and using its default, which is ffmpeg without lame??

BTW, what is the purpose of the "convert to" field??

On the other hand, playing mp3 tracks with a web player seems to not transcode at all. The log shows only one line per track, whether I use the default transcode setting or none:
Code: Select all
[2014-03-02 15:38:34,243] INFO PlayQueueInputStream - admin listening to "19/01 Daydreamer.mp3"

Re: Proper transcoding settings for jukebox

PostPosted: Mon Mar 03, 2014 6:11 pm
by spookybathtub
I've been fiddling with the transcode settings, trying "-v 0" to suppress ffmpeg logging, and nothing I do has any effect on the 'jukebox' player. Why is Subsonic ignoring my transcoding settings?