Page 1 of 1

Streaming Video

PostPosted: Fri Jul 18, 2008 9:17 pm
by vsssr
Hey folks,
I'm hoping someone here might have an idea on how to solve an issue I'm having. I'm attempting to stream videos through Subsonic and as a test I attempted to stream a 500mb wmv file. It opens successfully in winamp and VLC but it quickly freezes (buffering?).

Is there anyway to stream full movies properly? Can I transcode on the fly like audio? Say in a smaller format or perhaps set the bit rate?

PS - Besides the above I'm having a blast with Subsonic. Excellent product, Sindre

PostPosted: Tue Jul 22, 2008 6:26 am
by BrianDelShasta
If you're using the windows installation of subsonic it uses jetty as a web server. You might want to try using tomcat instead to get much better throughput...

PostPosted: Thu Jul 24, 2008 12:29 pm
by bogphanny
I'm using ffmpeg as a transcoder to lower the bitrate and help with streaming though having difficulty getting the audio of the video to stream.

I've set up a transcoding rule as follows:

ffmpeg -i %s -f avi -acodec copy -b 128k -

which streams video perfectly, though 0 bytes of audio makes it through.

If I run the same command locally from the Windows CMD, and pipe the output to a file, the file will play perfectly within Windows, which leads me to believe it may be an issue with the way Subsonic deals with the different streams.

Any input is greatly appreciated.

PostPosted: Thu Jul 24, 2008 4:57 pm
by vsssr
Thanks guys,

That ffmpeg transcoder did the trick. Audio is working fine as well, but I had to take out the '-acodec copy' out of the command line. This is while streaming WMV to AVI

thanks again and cheers
vsssr