Video issue mp4 ok mkv and avi have errors
Posted: Fri Jan 28, 2011 7:39 pm
Hey Guys,
I am having some difficulty getting AVI and MKV to play. I am able to play MP4 without a problem ***even though logs show failures***. I believe I have read all related threads that GJ51 and Stozher posted and a lot of googling with no success. I have tried the following:
1 – I uninstalled and update FFmpeg and x264 via steps 1-5 outlined in this thread - http://ubuntuforums.org/showthread.php?t=786095
2 – File Test: I am able successfully play all three files from the localhost.
3 – Verified owner
4 – Verified symbolic links exist
Logs: Here is the log for the three files I attempted to play, please note the mp4 stated it failed in the log but it was successful:
MP4: But MP4’s SUCCESSFULLY Play
[2011-01-28 08:32:11,320] WARN FFmpegParser - Error when parsing metadata in /home/collection/Music/Video/Centurion - 2010 - R.mp4
java.io.IOException: Cannot run program "/var/subsonic/transcode/ffmpeg": java.io.IOException: error=2, No such file or directory
MKV:
[2011-01-28 09:09:13,574] INFO PlaylistInputStream - collection listening to "Video/Prince of Persia The Sands Of Time - 2010 - PG13.mkv"
[2011-01-28 09:09:13,579] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/home/collection/Music/Video/Prince of Persia The Sands Of Time - 2010 - PG13.mkv] [-async] [1] [-b] [1000k] [-s] [480x360] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-]
[2011-01-28 09:09:13,592] WARN TranscodingService - Failed to transcode /home/collection/Music/Video/Prince of Persia The Sands Of Time - 2010 - PG13.mkv. Using original.
java.io.IOException: Cannot run program "/var/subsonic/transcode/ffmpeg": java.io.IOException: error=2, No such file or directory
AVI:
[2011-01-28 08:23:01,529] WARN FFmpegParser - Error when parsing metadata in /home/collection/Music/Video/1 - fight club/Fight Club - 1999 - R.avi
java.io.IOException: Cannot run program "/var/subsonic/transcode/ffmpeg": java.io.IOException: error=2, No such file or directory
One things I find very strange is the error “no such file or directory” because I am able to play the file locally and stream the mp4, any pointers would be greatly appreciated.
Oh just in case here is my Java info:
Java version “1.6.0_20”
OpenJDK Runtime Environment (IcedTea6 1.9.4) (6b20-1.9.4-0ubuntu1)
OpenJDK Client VM (build 19.0-b09, mixed mode, sharing)
If you made it this far Thanks!!!
I am having some difficulty getting AVI and MKV to play. I am able to play MP4 without a problem ***even though logs show failures***. I believe I have read all related threads that GJ51 and Stozher posted and a lot of googling with no success. I have tried the following:
1 – I uninstalled and update FFmpeg and x264 via steps 1-5 outlined in this thread - http://ubuntuforums.org/showthread.php?t=786095
2 – File Test: I am able successfully play all three files from the localhost.
3 – Verified owner
4 – Verified symbolic links exist
Logs: Here is the log for the three files I attempted to play, please note the mp4 stated it failed in the log but it was successful:
MP4: But MP4’s SUCCESSFULLY Play
[2011-01-28 08:32:11,320] WARN FFmpegParser - Error when parsing metadata in /home/collection/Music/Video/Centurion - 2010 - R.mp4
java.io.IOException: Cannot run program "/var/subsonic/transcode/ffmpeg": java.io.IOException: error=2, No such file or directory
MKV:
[2011-01-28 09:09:13,574] INFO PlaylistInputStream - collection listening to "Video/Prince of Persia The Sands Of Time - 2010 - PG13.mkv"
[2011-01-28 09:09:13,579] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/home/collection/Music/Video/Prince of Persia The Sands Of Time - 2010 - PG13.mkv] [-async] [1] [-b] [1000k] [-s] [480x360] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-]
[2011-01-28 09:09:13,592] WARN TranscodingService - Failed to transcode /home/collection/Music/Video/Prince of Persia The Sands Of Time - 2010 - PG13.mkv. Using original.
java.io.IOException: Cannot run program "/var/subsonic/transcode/ffmpeg": java.io.IOException: error=2, No such file or directory
AVI:
[2011-01-28 08:23:01,529] WARN FFmpegParser - Error when parsing metadata in /home/collection/Music/Video/1 - fight club/Fight Club - 1999 - R.avi
java.io.IOException: Cannot run program "/var/subsonic/transcode/ffmpeg": java.io.IOException: error=2, No such file or directory
One things I find very strange is the error “no such file or directory” because I am able to play the file locally and stream the mp4, any pointers would be greatly appreciated.
Oh just in case here is my Java info:
Java version “1.6.0_20”
OpenJDK Runtime Environment (IcedTea6 1.9.4) (6b20-1.9.4-0ubuntu1)
OpenJDK Client VM (build 19.0-b09, mixed mode, sharing)
If you made it this far Thanks!!!