SubSonic 4.8 Not streamin video..

Need help? Post your questions here.

Moderator: moderators

SubSonic 4.8 Not streamin video..

Postby streamingnoob » Sun Dec 08, 2013 5:20 pm

Hi.

I'm sure this may well have been covered elsewhere, however I am a little lost with it all.

Everything else seems to be working as expected. I upgraded yesterday so that I could remove ads and stream videos.

Once uploaded/DB update trying to play a video comes back with:

Video not found or access denied:
/stream?id=879&maxBitRate=1000&timeOffset=0&player=6

Logs in 'about' come back as:

[12/8/13 4:38:54 PM GMT] WARN StreamController Unknown duration for *****. Unable to estimate transcoded size.
[12/8/13 4:38:54 PM GMT] INFO PlayQueueInputStream **** listening to "*****.avi"
[12/8/13 4:38:54 PM GMT] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/home/shared/video/*******.avi] [-async] [1] [-b] [1000k] [-s] [640x480] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-]
[12/8/13 4:38:54 PM GMT] WARN TranscodingService Failed to transcode ********. Using original.

I've tried many different formats to play and transcode settings with no avail.

Thanks in advance!
streamingnoob
 
Posts: 10
Joined: Sun Dec 08, 2013 4:35 pm

Re: SubSonic 4.8 Not streamin video..

Postby pedro_fr » Sun Dec 08, 2013 5:42 pm

flash (flv) or mx player (x264)?

mx player, this is normal with avi
pedro_fr
 
Posts: 19
Joined: Sun Dec 08, 2013 5:32 pm

Re: SubSonic 4.8 Not streamin video..

Postby streamingnoob » Sun Dec 08, 2013 6:02 pm

Thanks for the quick reply!

[I think] its the flash version..

(I didnt realise there are different versions of the player?!)

How do I change the set up so that I can run .avi or any other format with out having to convert before transfecting on to my home server?
streamingnoob
 
Posts: 10
Joined: Sun Dec 08, 2013 4:35 pm

Re: SubSonic 4.8 Not streamin video..

Postby streamingnoob » Sun Dec 08, 2013 6:42 pm

[OS is Debian based btw]
streamingnoob
 
Posts: 10
Joined: Sun Dec 08, 2013 4:35 pm

Re: SubSonic 4.8 Not streamin video..

Postby GJ51 » Sun Dec 08, 2013 8:41 pm

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 -

Is this your trascoding string?

You also might get better results with a newer version of ffmpeg than the one distributed by Subsonic. I usually get the latest release from the ffmpeg site when doing a new install of Subsonic.

HTH
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: SubSonic 4.8 Not streamin video..

Postby streamingnoob » Sun Dec 08, 2013 9:45 pm

Yes.. That looks correct..

I'll have a look at the plugin and see if I have any luck getting it to run..
streamingnoob
 
Posts: 10
Joined: Sun Dec 08, 2013 4:35 pm

Re: SubSonic 4.8 Not streamin video..

Postby GJ51 » Sun Dec 08, 2013 10:13 pm

This problem can also show up when there is anything wrong with permissions settings. The subsonic service must be authorized to access the files in the specified directory. Proper configuration of permission settings varies depending upon the OS used, but the various setups are pretty well covered in the tutorial section.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: SubSonic 4.8 Not streamin video..

Postby streamingnoob » Sun Dec 08, 2013 10:28 pm

...Just had a go at installing the ffmpeg by itself, still no dice.

Little bit lost as to what else to do..
streamingnoob
 
Posts: 10
Joined: Sun Dec 08, 2013 4:35 pm

Re: SubSonic 4.8 Not streamin video..

Postby streamingnoob » Mon Dec 09, 2013 3:48 am

GJ51 wrote:This problem can also show up when there is anything wrong with permissions settings. The subsonic service must be authorized to access the files in the specified directory. Proper configuration of permission settings varies depending upon the OS used, but the various setups are pretty well covered in the tutorial section.


I made sure that the folder that the video files are in are all 777's..

I just tried running a .avi to .flv. Still no luck.
streamingnoob
 
Posts: 10
Joined: Sun Dec 08, 2013 4:35 pm

Re: SubSonic 4.8 Not streamin video..

Postby streamingnoob » Mon Dec 09, 2013 8:00 pm

..No luck over night...

Any ideas?
streamingnoob
 
Posts: 10
Joined: Sun Dec 08, 2013 4:35 pm

Re: SubSonic 4.8 Not streamin video..

Postby GJ51 » Mon Dec 09, 2013 9:59 pm

I've run into this on occasion several times. Some avi's are particularly tricky and can be difficult to get working. I'm only running Subsonic on Windows, so my issues and solutions may not necessarily work with Linux platforms.

On Windows sometimes files are stored on network shares and the only way to get to them is to edit the logon rights associated with the Subsonic service. I've read of similar issues with Linux users but have no way of relating resolution of permission issues from first-hand experience.

I've also run into situations where the videos errored the first few times and then suddenly started working for no apparent reason.

Sometimes changing the ffmeg file helped.

Bottom line here is that there just isn't one "magic bullet" scenario that works for everybody in all situations. there are just too many variables.

I do a lot of testing and would be happy to test a sample file if you'd like. Just send me a PM if you want and we can set that up.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: SubSonic 4.8 Not streamin video..

Postby streamingnoob » Tue Dec 10, 2013 3:36 pm

Ah awesome.. That would be a lot of help..

I will PM you..

Where is the permission file for subsonic located? (IE /var/subsonic...)

Just for the record I found 'how to post for help' on the forum, explaining I need to list the following (I hope this helps!)


Problem Description:

Video Streaming calls an error 'Video not found or access denied': /stream?id=879&maxBitRate=1000&timeOffset=0&player=6


Troubleshooting Steps:

Directory/sub directory & file permissions set to 777. Reinstalled Subsonic. Upgraded to beta. Manual install of FFMPEG. Change of memory to 400MB.


Playback Application and version:

Default and Latest version of FFMPEG.


Subsonic Version:

4.8/4.9beta (neither work, reinstalled back to 4.8 as it seems to load faster)


Server Version:

jetty-6.1.x, java 1.6.0_27, Linux (44.9 MB / 85.7 MB)


Hardware Platform:

Debian RPI.


Java Memory Limit:

200MB which was then openned to 400MB. (Both made no difference).


Problem Filename:

FFMPEG (youtube internal linking and .mp3 work, but not .avi/wmv/mp4 or any other video formats including .flv)


Output from ffmpeg -i:

built on Mar 31 2013 13:58:10 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.

Not sure if I need to remove FFMPEG and install this in its place?! apt-get install avconv?!


Last ten log file lines:

[12/10/13 5:04:15 AM GMT] INFO MediaScannerService Marking non-present albums.
[12/10/13 5:04:16 AM GMT] INFO MediaScannerService Completed media library scan.
[12/10/13 5:04:20 AM GMT] INFO PlaylistService Starting playlist import.
[12/10/13 5:04:20 AM GMT] INFO PlaylistService Completed playlist import.
[12/10/13 5:04:20 AM GMT] INFO PlaylistService Starting playlist statistics update.
[12/10/13 5:04:20 AM GMT] INFO PlaylistService Completed playlist statistics update.
[12/10/13 3:14:57 PM GMT] WARN StreamController Unknown duration for ****. Unable to estimate transcoded size.
[12/10/13 3:14:57 PM GMT] INFO PlayQueueInputStream sickform listening to "video/****.avi"
[12/10/13 3:14:58 PM GMT] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/home/shared/video/****.avi] [-async] [1] [-b] [1000k] [-s] [640x480] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-]
[12/10/13 3:14:58 PM GMT] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) /var/subsonic/transcode/ffmpeg: 1: /var/subsonic/transcode/ffmp



Hope this is helpful!
streamingnoob
 
Posts: 10
Joined: Sun Dec 08, 2013 4:35 pm

Re: SubSonic 4.8 Not streamin video..

Postby andu_ » Thu Jan 02, 2014 5:13 pm

I was having the same or similar error using 4.9.beta3 (build 3772). Installing the newest version of FFMPEG (using the batch file included with the FFMPEG 7Zip package as well as replacing the file in \Subsonic\transcode) worked for me.
andu_
 
Posts: 18
Joined: Mon Oct 17, 2011 6:38 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 65 guests