Page 1 of 3

Subsonic 4.3 - Video not found

PostPosted: Sun Jan 16, 2011 3:04 pm
by Gomez
Hi,

i just updated my installation with Subsonic 4.3.

I added a directory with a movie inside and found it on the website, but it does not play:

Image

In the log this happens:

[2011-01-16 16:00:56,256] INFO PlaylistInputStream - gomez listening to "test.avi"
[2011-01-16 16:00:56,278] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/movies/test.avi] [-async] [1] [-b] [1000k] [-s] [480x360] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-]
[2011-01-16 16:00:56,322] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) FFmpeg version r11872+debian_0.svn20080206-18+lenny1, Copyright (c) 2000-2008 Fabrice Bellard, et al.
[2011-01-16 16:00:56,322] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) configuration: --enable-gpl --enable-libfaad --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-altivec --disable-vis --enable-shared --disable-static
[2011-01-16 16:00:56,322] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavutil version: 49.6.0
[2011-01-16 16:00:56,322] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavcodec version: 51.50.0
[2011-01-16 16:00:56,322] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavformat version: 52.7.0
[2011-01-16 16:00:56,322] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) libavdevice version: 52.0.0
[2011-01-16 16:00:56,322] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) built on Jan 28 2010 20:57:25, gcc: 4.3.2


I have a linux install from the .deb and a apache in front doing SSL. Music plays well.

Someone a idea?

Thx!!

PostPosted: Sun Jan 16, 2011 7:23 pm
by Mycophiles
same thing is happening to me. I'm on windows server 2008.

PostPosted: Mon Jan 17, 2011 6:30 pm
by quamosity
I think the issue is more a problem with jwplayer and not subsonic, as google searches on the error message pop up with other software programs that use jwplayer. Some indicate an issue with the latest version of jwplayer not using an absolute URL path to the video. Instead, some people are reporting that you can connect to your videos properly if you route the url from the location of the .swf file for jwplayer.

I have two installations of Subsonic, one on a Windows Home Server (which is essentially Server 2003 (x86)) and one on Windows Server 2008 R2 Core (x64 bit only). Videos work fine for me on my Windows Home Server, but I get the error message on my Server 2008 R2 installation.

Are you guys running on x64 or x86 operating systems?

PostPosted: Mon Jan 17, 2011 6:37 pm
by Gomez
I have debian linux 32 bit.

You guys use SSL? Or a apache in front?

PostPosted: Mon Jan 17, 2011 6:44 pm
by quamosity
Gomez wrote:I have debian linux 32 bit.

You guys use SSL? Or a apache in front?


No SSL or Apache on either of my boxes :(

This is one of the discussions from longtailvideo's forums about the problem and the file path issue:

http://www.longtailvideo.com/support/fo ... -or-access

PostPosted: Mon Jan 17, 2011 10:05 pm
by GJ51
I'm running 3 SS servers, one WHS, two on server 2008 code. Both work fine. You most likely have transcoding definition issues. Try putting

ffmpeg -v 0 -ss %o -async 1 -i %s -f flv -b %bk -s %wx%h -ar 44100 -ac 2 -

into the transcoding for avi and see if that fixes it.

PostPosted: Mon Jan 17, 2011 10:11 pm
by stozher

PostPosted: Tue Jan 18, 2011 7:59 am
by Gomez
i changed the transcoding definitions, but it does not help :(

Maybe its the path issue.

PostPosted: Tue Jan 18, 2011 1:16 pm
by stozher
Upgrade FFmpeg from Debian-Multimedia repository. This is a unofficial repository: some license issues, package law problems for some countries and etc. All packages with above issues not included in official Debian repository and moved here...

PostPosted: Tue Jan 18, 2011 2:55 pm
by quamosity
GJ51 wrote:I'm running 3 SS servers, one WHS, two on server 2008 code. Both work fine. You most likely have transcoding definition issues. Try putting

ffmpeg -v 0 -ss %o -async 1 -i %s -f flv -b %bk -s %wx%h -ar 44100 -ac 2 -

into the transcoding for avi and see if that fixes it.


Server 2008 or Server 2008 R2? Changing the transcoding for me does not work, either.

PostPosted: Tue Jan 18, 2011 4:25 pm
by GJ51
Server 1:WHSv1
Server 2:Windows Server 2008 R2
Server 3:Windows Small Business Serve 7 beta

All three work as advertised without any issues. Current transcoding:

ffmpeg -v 0 -ss %o -async 30 -i %s -f flv -b %bk -r 30 -s %wx%h -ar 44100 -ac 2 -

You might also consider the possibility that your source file is corrupt?

PostPosted: Tue Jan 18, 2011 5:23 pm
by stozher
GJ51,

Use: ffmpeg -v 0 -ss %o -async 30 -i %s -f flv -b %bk -r 30 -s %wx%h -acodec copy -

... don't transcode audio (not needed).

PostPosted: Tue Jan 18, 2011 5:35 pm
by GJ51
Thanks Stozher!

PostPosted: Thu Jan 20, 2011 5:00 pm
by quamosity
GJ51 wrote:Server 1:WHSv1
Server 2:Windows Server 2008 R2
Server 3:Windows Small Business Serve 7 beta

All three work as advertised without any issues. Current transcoding:

ffmpeg -v 0 -ss %o -async 30 -i %s -f flv -b %bk -r 30 -s %wx%h -ar 44100 -ac 2 -

You might also consider the possibility that your source file is corrupt?


It's good to rule out the x64 issue, but sadly the transcoding doesn't work. Multiple files all give the same problem, sadly.

Thank you for the info!

PostPosted: Thu Jan 20, 2011 6:35 pm
by GJ51
Sounds like you may have a corrupt installation. Why not just delete C:\Subsonic and do a fresh install, it only takes a few minutes.