I've been running into weird problems.
I'm running subsonic mainly for video streaming; at the moment I only have less than 10 GB of video material.
I get really strange errors while streaming. I can't quite tell where it comes from, therefore can't really troubleshoot.
When I start subsonic service for the first time on a random day, the streaming of the first video works fine, until I try to do something with it, e.g. change bit rate, jumping to a different time...
Sometimes the changes work, sometimes they don't. Or if I start a movie and then switch to another, sometimes it works, sometimes I get an error.
The error message is always the same "Can't find video or no permission".
I checked the log files and it tells me that there is a Java Exception "Can't allocate memory". Well I tried to change the memory to 256, 512 MB and restarted without any effects.
Here is the log file within the browser:
- Code: Select all
[3/18/12 2:31:45 PM CET] INFO PlaylistInputStream username listening to "Movies/movie.mkv"
[3/18/12 2:31:45 PM CET] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/home/username/media/Movies/movie.mkv] [-async] [1] [-b] [1000k] [-s] [640x360] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-]
[3/18/12 2:31:45 PM CET] WARN TranscodingService Failed to transcode /home/username/media/Movies/movie.mkv. Using original.
[3/18/12 2:31:46 PM CET] INFO PlaylistInputStream username listening to "Movies/movie.mkv"
[3/18/12 2:31:46 PM CET] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/home/username/media/Movies/movie.mkv] [-async] [1] [-b] [1000k] [-s] [640x360] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-]
[3/18/12 2:31:46 PM CET] WARN TranscodingService Failed to transcode /home/username/media/Movies/movie.mkv. Using original.
And here the log file from the server:
- Code: Select all
[2012-03-18 14:31:46,612] INFO PlaylistInputStream - username listening to "Movies/movie.mkv"
[2012-03-18 14:31:46,615] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/home/username/media/Movies/movie.mkv] [-async] [1] [-b] [1000k] [-s] [640x360] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-]
[2012-03-18 14:31:46,653] WARN TranscodingService - Failed to transcode /home/username/media/Movies/movie.mkv. Using original.
java.io.IOException: Cannot run program "/var/subsonic/transcode/ffmpeg": java.io.IOException: error=12, Cannot allocate memory
Any suggestions?
