First I tried to run the ffmpeg command in a terminal.
- Code: Select all
# ffmpeg -i test.mp3 -ab 64k -v 0 -f mp3 x.mp3
This produced the unwanted statistics output as well. It is sent to stderr, so subsonic logs them as DEBUG.
I found some mentions of an option '-nostats', but my ffmpeg version (0.8.3) didn't recognize it. After some digging around, I found that ffmpeg is to be replaced by avconv and that the syntax of avconf is very similar (though not identical) to ffmpeg. So i thought I'd give it a try. First I tried the command.
- Code: Select all
# avconv -i test.mp3 -ab 64k -v 0 -f mp3 x.mp3
This worked correctly and didn't produce any screen output. Then I registered avconv as a transcoder in subsonic.
- Code: Select all
# cd /var/subsonic/transcode
# ln -s /usr/bin/avconv avconv
And finally I replaced 'ffmpeg' by 'avconv' in the transcoding setup of subsonic. Now the transcoding works well without annoying logs.
I did not try video transcoding, because I currently don't use it. Perhaps somebody else would try it and report here if it works or which options have to be adapted.
