I just updated my subsonic version. I was running 4.1 and updated to the newest version (4.6?). Before everything worked just fine. Now I can't stream any videos anymore. I thought it might be ffmpeg problem, so I updated that one as well and linked it to
- Code: Select all
/etc/subsonic/transcode/ffmpeg
- Code: Select all
ln -s /usr/bin/ffmpeg
I am running on a Debian system.
Here is the error log:
- Code: Select all
[2012-03-12 19:40:30,167] INFO PlaylistInputStream - admin listening to "movie/movie.avi"
[2012-03-12 19:40:30,170] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-v] [0] [-ss] [0] [-async] [1] [-i] [/home/username/media/movie/movie.avi] [-f] [flv] [-b] [1000k] [-s] [624x352] [-acodec] [copy] [-]
[2012-03-12 19:40:30,242] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)
[2012-03-12 19:40:30,242] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (2997003/125000)
[2012-03-12 19:40:30,246] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream mapping:
[2012-03-12 19:40:30,246] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.0 -> #0.0
[2012-03-12 19:40:30,246] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.1 -> #0.1
[2012-03-12 19:40:30,246] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Could not write header for output file #0 (incorrect codec parameters ?)
EDIT:
My transcode command line:
- Code: Select all
ffmpeg -v 0 -ss %o -async 1 -i %s -f flv -b %bk -s %wx%h -acodec copy -
I realized that it worked for mkv files but not for the avi files.
