Cannot stream MKV and badly encoded AVI/divx
Posted: Mon Feb 21, 2011 1:39 pm
I can't stream any MKV files. I get a video not found or access denied error in JWPlayer (version 5). I'm running Subsonic version 4.4 on OS X.
AVI (divx) files work perfectly, except for badly encoded ones (more on that later).
This is the output of my ffmpeg -i movie.mkv:
In Subsonic's About log, when I play the file, I get the above and also:
... which seems to indicate it might be working.
My Subsonic>Settings>Transcoding settings are default. All video conversions including mkv to flv are:
Any suggestions would be appreciated
AVI (divx) files work perfectly, except for badly encoded ones (more on that later).
This is the output of my ffmpeg -i movie.mkv:
- Code: Select all
/Library/Application\ Support/Subsonic/transcode/ffmpeg -i movie.mkv
FFmpeg version SVN-r25203-einsteinx2, Copyright (c) 2000-2010 the FFmpeg developers
built on Sep 26 2010 02:08:29 with gcc 4.2.1 (Apple Inc. build 5664)
configuration: --prefix=/Volumes/Ramdisk/ --as=yasm --extra-version=einsteinx2 --disable-shared --enable-static --disable-ffplay --disable-ffserver --enable-gpl --enable-pthreads --enable-postproc --enable-gray --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-nonfree --enable-version3
libavutil 50.28. 0 / 50.28. 0
libavcore 0. 9. 0 / 0. 9. 0
libavcodec 52.90. 0 / 52.90. 0
libavformat 52.78. 5 / 52.78. 5
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.45. 0 / 1.45. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
[matroska,webm @ 0x1809600] Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 24.00 (24/1)
Input #0, matroska,webm, from 'movie.mkv':
Duration: 00:44:24.66, start: 0.000000, bitrate: 448 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 fps, 24 tbr, 1k tbn, 47.95 tbc
Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
At least one output file must be specified
In Subsonic's About log, when I play the file, I get the above and also:
- Code: Select all
[2/21/11 9:34:32 PM CST] DEBUG InputStreamReaderThread (/Library/Application Support/Subsonic/transcode/ffmpeg) [buffer @ 0x1104c90] w:1280 h:720 pixfmt:yuv420p
[2/21/11 9:34:32 PM CST] DEBUG InputStreamReaderThread (/Library/Application Support/Subsonic/transcode/ffmpeg) [scale @ 0x1104ea0] w:1280 h:720 fmt:yuv420p -> w:640 h:360 fmt:yuv420p flags:0xc0000004
[2/21/11 9:34:32 PM CST] DEBUG InputStreamReaderThread (/Library/Application Support/Subsonic/transcode/ffmpeg) Output #0, flv, to 'pipe:':
[2/21/11 9:34:32 PM CST] DEBUG InputStreamReaderThread (/Library/Application Support/Subsonic/transcode/ffmpeg) Metadata:
[2/21/11 9:34:32 PM CST] DEBUG InputStreamReaderThread (/Library/Application Support/Subsonic/transcode/ffmpeg) encoder : Lavf52.78.5
[2/21/11 9:34:32 PM CST] DEBUG InputStreamReaderThread (/Library/Application Support/Subsonic/transcode/ffmpeg) Stream #0.0(eng): Video: flv, yuv420p, 640x360 [PAR 1:1 DAR 16:9], q=2-31, 1000 kb/s, 1k tbn, 24 tbc
[2/21/11 9:34:32 PM CST] DEBUG InputStreamReaderThread (/Library/Application Support/Subsonic/transcode/ffmpeg) Stream #0.1: Audio: libmp3lame, 44100 Hz, 2 channels, s16, 64 kb/s
[2/21/11 9:34:32 PM CST] DEBUG InputStreamReaderThread (/Library/Application Support/Subsonic/transcode/ffmpeg) Stream mapping:
[2/21/11 9:34:32 PM CST] DEBUG InputStreamReaderThread (/Library/Application Support/Subsonic/transcode/ffmpeg) Stream #0.0 -> #0.0
[2/21/11 9:34:32 PM CST] DEBUG InputStreamReaderThread (/Library/Application Support/Subsonic/transcode/ffmpeg) Stream #0.1 -> #0.1
[2/21/11 9:34:32 PM CST] DEBUG InputStreamReaderThread (/Library/Application Support/Subsonic/transcode/ffmpeg) Press [q] to stop encoding
... which seems to indicate it might be working.
My Subsonic>Settings>Transcoding settings are default. All video conversions including mkv to flv are:
- Code: Select all
ffmpeg -ss %o -i %s -async 1 -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv -
Any suggestions would be appreciated