Page 1 of 1

Error streaming: Video not found or access denied

PostPosted: Mon Mar 12, 2012 6:48 pm
by HavingProblems
Hi,

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
with
Code: Select all
ln -s /usr/bin/ffmpeg
But things didn't change.

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.

Re: Error streaming: Video not found or access denied

PostPosted: Mon Mar 12, 2012 10:42 pm
by BKKKPewsey
What happens if you use the 4.6 standard video transcode string?

Code: Select all
ffmpeg -ss %o -i %s -async 1 -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv -vcodec libx264 -preset superfast -threads 0 -


:mrgreen:

Re: Error streaming: Video not found or access denied

PostPosted: Mon Mar 12, 2012 11:31 pm
by HavingProblems
Then of course it works! :)

Thanks a lot for your fast help!

I have one more question though: Is it normal that I can't skip forward a video? I can only skip forward by selecting a fix time in the option panel below (5 min, 10 min, ...). How come I just can't drag the arrow to a place I want it to start? Do I have to use a different player?

Re: Error streaming: Video not found or access denied

PostPosted: Tue Mar 13, 2012 1:11 am
by ytechie
This behavior is normal. The video is streaming from the subsonic server. It is cached while playing though, so you can usually use the scrubber to go back. Again, this is the intended operation of subsonic.

Re: Error streaming: Video not found or access denied

PostPosted: Tue Mar 13, 2012 8:14 am
by HavingProblems
Good to know!

Yesterday I changed my cache size in /etc/default/default from 120 to 512 and I got the same error as before (video not found...). I looked into the log file and got an exception. It tells me that it can't allocate memory. Does the cache number have to be a specific number? My server has 2GB of RAM, thus should have enough to use.