Error streaming: Video not found or access denied

Need help? Post your questions here.

Moderator: moderators

Error streaming: Video not found or access denied

Postby HavingProblems » Mon Mar 12, 2012 6:48 pm

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.
Last edited by HavingProblems on Sun Mar 18, 2012 1:35 pm, edited 1 time in total.
HavingProblems
 
Posts: 7
Joined: Mon Mar 12, 2012 6:38 pm

Re: Error streaming: Video not found or access denied

Postby BKKKPewsey » Mon Mar 12, 2012 10:42 pm

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:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Error streaming: Video not found or access denied

Postby HavingProblems » Mon Mar 12, 2012 11:31 pm

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?
HavingProblems
 
Posts: 7
Joined: Mon Mar 12, 2012 6:38 pm

Re: Error streaming: Video not found or access denied

Postby ytechie » Tue Mar 13, 2012 1:11 am

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.
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Error streaming: Video not found or access denied

Postby HavingProblems » Tue Mar 13, 2012 8:14 am

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.
HavingProblems
 
Posts: 7
Joined: Mon Mar 12, 2012 6:38 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 19 guests