subsonic.log size and ffmpeg usage by jukebox

General discussions.

Moderator: moderators

subsonic.log size and ffmpeg usage by jukebox

Postby rwdolson » Sun Sep 08, 2013 10:10 pm

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...
rwdolson
 
Posts: 3
Joined: Sat Feb 09, 2013 2:22 am

Re: subsonic.log size and ffmpeg usage by jukebox

Postby spookybathtub » Mon Mar 03, 2014 10:06 pm

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?
spookybathtub
 
Posts: 110
Joined: Thu Oct 07, 2010 7:13 am

Re: subsonic.log size and ffmpeg usage by jukebox

Postby daneren2005 » Mon Mar 03, 2014 10:16 pm

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.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: subsonic.log size and ffmpeg usage by jukebox

Postby spookybathtub » Tue Mar 04, 2014 6:47 pm

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.
spookybathtub
 
Posts: 110
Joined: Thu Oct 07, 2010 7:13 am


Return to General

Who is online

Users browsing this forum: No registered users and 10 guests