Random MP4's are playing

Posted:
Mon Jan 24, 2011 5:03 pm
by kbeii2000
I get the error:
Video not found or access denied:
/stream?pathUtf8Hex=2f6d656469612f66696c65732f566964656f732f31303030305f42432e6d7034&maxBitRate=1000&timeOffset=0&player=3
It does not happen for all the MP4's, but the majority. All of my videos are in the same directory. I don't seem to have any issues with avi's either.
I believe it has something to do with the transcoder. Is there a way to have it use a different transcoder like mencoder?

Posted:
Mon Jan 24, 2011 6:30 pm
by kbeii2000
I researched that already and modified the transcoder page and it did not work. In fact, after I modified the MP4 to FLV none of the MP4 worked.

Posted:
Mon Jan 24, 2011 11:25 pm
by kbeii2000
This is a copy of the log file.
[2011-01-24 18:05:00,442] INFO PlaylistInputStream - admin listening to "Videos/10000_BC.mp4"
[2011-01-24 18:05:00,445] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/media/files/Videos/10000_BC.mp4] [-async] [1] [-b] [1000k] [-s] [848x358] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-]
[2011-01-24 18:05:00,469] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
[2011-01-24 18:05:00,469] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
[2011-01-24 18:05:00,469] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavutil 49.15. 0 / 49.15. 0
[2011-01-24 18:05:00,469] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavcodec 52.20. 1 / 52.20. 1
[2011-01-24 18:05:00,469] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavformat 52.31. 0 / 52.31. 0
[2011-01-24 18:05:00,469] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavdevice 52. 1. 0 / 52. 1. 0
[2011-01-24 18:05:00,469] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavfilter 0. 4. 0 / 0. 4. 0
[2011-01-24 18:05:00,470] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libswscale 0. 7. 1 / 0. 7. 1
[2011-01-24 18:05:00,470] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
[2011-01-24 18:05:00,470] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) built on Mar 4 2010 12:35:30, gcc: 4.4.3
[2011-01-24 18:05:00,556] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)
[2011-01-24 18:05:00,556] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 23.98 (24000/1001)

Posted:
Mon Jan 24, 2011 11:27 pm
by kbeii2000
[2011-01-24 18:05:00,556] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/files/Videos/10000_BC.mp4':
[2011-01-24 18:05:00,556] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Duration: 01:48:54.31, start: 0.000000, bitrate: 1141 kb/s
[2011-01-24 18:05:00,556] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.0(und): Video: h264, yuv420p, 848x358, 23.98 tbr, 23.98 tbn, 47.95 tbc
[2011-01-24 18:05:00,556] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.1(und): Audio: aac, 48000 Hz, 5.1, s16
[2011-01-24 18:05:00,557] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream mapping:
[2011-01-24 18:05:00,557] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.0 -> #0.0
[2011-01-24 18:05:00,557] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.1 -> #0.1
[2011-01-24 18:05:00,563] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Press [q] to stop encoding
[2011-01-24 18:05:00,566] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Resampling with input channels greater than 2 unsupported.
[2011-01-24 18:05:00,566] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Can not resample 6 channels @ 48000 Hz to 2 channels @ 44100 Hz
[2011-01-24 18:05:02,393] INFO PlaylistInputStream - admin listening to "Videos/10000_BC.mp4"
[2011-01-24 18:05:02,395] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/media/files/Videos/10000_BC.mp4] [-async] [1] [-b] [1000k] [-s] [848x358] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-]
[2011-01-24 18:05:02,418] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
[2011-01-24 18:05:02,418] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
[2011-01-24 18:05:02,418] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavutil 49.15. 0 / 49.15. 0
[2011-01-24 18:05:02,418] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavcodec 52.20. 1 / 52.20. 1
[2011-01-24 18:05:02,419] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavformat 52.31. 0 / 52.31. 0
[2011-01-24 18:05:02,419] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavdevice 52. 1. 0 / 52. 1. 0
[2011-01-24 18:05:02,419] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavfilter 0. 4. 0 / 0. 4. 0
[2011-01-24 18:05:02,419] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libswscale 0. 7. 1 / 0. 7. 1
[2011-01-24 18:05:02,419] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
[2011-01-24 18:05:02,419] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) built on Mar 4 2010 12:35:30, gcc: 4.4.3
[2011-01-24 18:05:02,510] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)
[2011-01-24 18:05:02,510] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 23.98 (24000/1001)
[2011-01-24 18:05:02,510] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/files/Videos/10000_BC.mp4':
[2011-01-24 18:05:02,510] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Duration: 01:48:54.31, start: 0.000000, bitrate: 1141 kb/s
[2011-01-24 18:05:02,510] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.0(und): Video: h264, yuv420p, 848x358, 23.98 tbr, 23.98 tbn, 47.95 tbc
[2011-01-24 18:05:02,510] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.1(und): Audio: aac, 48000 Hz, 5.1, s16
[2011-01-24 18:05:02,511] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream mapping:
[2011-01-24 18:05:02,511] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.0 -> #0.0
[2011-01-24 18:05:02,511] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.1 -> #0.1
[2011-01-24 18:05:02,515] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Press [q] to stop encoding
[2011-01-24 18:05:02,520] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Resampling with input channels greater than 2 unsupported.
[2011-01-24 18:05:02,520] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Can not resample 6 channels @ 48000 Hz to 2 channels @ 44100 Hz
[2011-01-24 18:05:09,353] INFO PlaylistInputStream - admin listening to "Videos/10000_BC.mp4"
[2011-01-24 18:05:09,357] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/media/files/Videos/10000_BC.mp4] [-async] [1] [-b] [1000k] [-s] [848x358] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-]
[2011-01-24 18:05:09,402] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
[2011-01-24 18:05:09,403] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
[2011-01-24 18:05:09,403] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavutil 49.15. 0 / 49.15. 0
[2011-01-24 18:05:09,403] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavcodec 52.20. 1 / 52.20. 1
[2011-01-24 18:05:09,403] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavformat 52.31. 0 / 52.31. 0
[2011-01-24 18:05:09,403] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavdevice 52. 1. 0 / 52. 1. 0
[2011-01-24 18:05:09,403] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavfilter 0. 4. 0 / 0. 4. 0
[2011-01-24 18:05:09,403] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libswscale 0. 7. 1 / 0. 7. 1
[2011-01-24 18:05:09,403] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
[2011-01-24 18:05:09,403] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) built on Mar 4 2010 12:35:30, gcc: 4.4.3
[2011-01-24 18:05:09,493] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)
[2011-01-24 18:05:09,493] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 23.98 (24000/1001)
[2011-01-24 18:05:09,493] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/files/Videos/10000_BC.mp4':
[2011-01-24 18:05:09,493] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Duration: 01:48:54.31, start: 0.000000, bitrate: 1141 kb/s
[2011-01-24 18:05:09,493] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.0(und): Video: h264, yuv420p, 848x358, 23.98 tbr, 23.98 tbn, 47.95 tbc
[2011-01-24 18:05:09,493] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.1(und): Audio: aac, 48000 Hz, 5.1, s16
[2011-01-24 18:05:09,494] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream mapping:
[2011-01-24 18:05:09,494] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.0 -> #0.0
[2011-01-24 18:05:09,494] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream #0.1 -> #0.1
[2011-01-24 18:05:09,497] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Press [q] to stop encoding
[2011-01-24 18:05:09,502] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Resampling with input channels greater than 2 unsupported.
[2011-01-24 18:05:09,502] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Can not resample 6 channels @ 48000 Hz to 2 channels @ 44100 Hz

Posted:
Tue Jan 25, 2011 6:28 pm
by kbeii2000
I have attempted to change the parameters and ffmpeg will not go from 6 to 2 channels. I tried to use the terminal and use ffmpeg to modify the file and it did not work either.
I was able to use mencoder in the terminal to change the file from 6 to 2 channels however, I don't want to have to modify every file I have like this to get it to work.
Is there a way to use mencoder instead of or with ffmpeg?
Am I just missing something?

Posted:
Tue Jan 25, 2011 6:34 pm
by stozher
ffmpeg -v 0 -ss %o -async 1 -i %s -f flv -b %bk -s %wx%h -acodec copy -
Read all posts...

Posted:
Tue Jan 25, 2011 6:45 pm
by kbeii2000
Using the line you presented looks like this in the log file:
[2011-01-25 13:38:32,723] INFO TranscodingDao - Created transcoding mp4 > flv
[2011-01-25 13:38:38,099] INFO PlaylistInputStream - admin listening to "Videos/10000_BC.mp4"
There is only a black screen no sound, nothing. When I change 'step one' to the file which is presented none of the mp4 work. The transcoding piece doen't even get started.
Before the modification, none mp4 files which are 5.1 do not work.
I am going crazy over here. Thank you for your assistance with this it is greatly appreciated.

Posted:
Wed Jan 26, 2011 6:14 am
by stozher
For MP4, M4V, M4A just uncheck transcoding - scroll right after Step 3, uncheck Default and Enabled boxes and click Save.

Posted:
Wed Jan 26, 2011 1:17 pm
by kbeii2000
I wish it were that easy. I tried that before and I did do it again since you suggested it, but the video just displays a black screen no sound.

Posted:
Wed Jan 26, 2011 2:59 pm
by kbeii2000
Is there development for Subsonic to be a DNLA server or to have that capability?

Posted:
Thu Feb 24, 2011 3:01 am
by kbeii2000
I do thank you for your assistance, but none of the recommendations you made worked. I can't play any MP4's.
Are there any others with this issue?