Page 1 of 1

subsonic.log size and ffmpeg usage by jukebox

PostPosted: Sun Sep 08, 2013 10:10 pm
by rwdolson
My environment
Subsonic 4.8 running on a Raspberry Pi using Oracle JDK 8.

Playing of music in both local and jukebox mode is working completely fine. I also play it through and iPad using iSub which also works fine in both local and jukebox modes. The issue is in the size of the subsonic.log file when using jukebox mode. For the duration of each song played in jukebox mode there is one log file entry written each second. You can imagine how this adds up. I stay ahead of it with some aggressive log rotation but without that, my poor little SD card on my Pi was filling up!

Here are samples of the entries that I see in subsonic.log during jukebox song playing.
[9/8/13 9:21:44 PM UTC] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) size= 20579kB time=119.46 bitrate=1411.2kbits/s
[9/8/13 9:21:44 PM UTC] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) size= 20673kB time=120.01 bitrate=1411.2kbits/s
[9/8/13 9:21:45 PM UTC] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) size= 20772kB time=120.58 bitrate=1411.2kbits/s

I have tried adjusting the ffmpeg command line in Settings -> Transcoding but that does not appear to affect the command line used when ffmpeg is invoked during jukebox plays.

Any thoughts? Perhaps the command line is embedded in code that isn't accessible to mere mortals? :D

Apologies if this is covered elsewhere. I've tried searching...

Re: subsonic.log size and ffmpeg usage by jukebox

PostPosted: Mon Mar 03, 2014 10:06 pm
by spookybathtub
Same problem here. For non-jukebox transcoders, I can set -loglevel warning, but that doesn't have any effect with the Jukebox player. I think these log entries are coming from Subsonic, not from ffmpeg. Sindre, how do we quiet this down?

Re: subsonic.log size and ffmpeg usage by jukebox

PostPosted: Mon Mar 03, 2014 10:16 pm
by daneren2005
I've seen others complain that Jukebox mode ignores their transcoding settings. My guess is that is the reason that the ignore warning param is not working for jukebox mode.

Re: subsonic.log size and ffmpeg usage by jukebox

PostPosted: Tue Mar 04, 2014 6:47 pm
by spookybathtub
I fixed it! I compiled and installed ffmpeg from source (git master), and replaced the symlink in /var/subsonic/transcode, and now my log files aren't spammed once per second. The "ffmpeg" binary included with Raspbian is actually Libav, not FFmpeg at all. That's why it says "deprecated" when you run it in the command line.