Streaming Video

Need help? Post your questions here.

Moderator: moderators

Streaming Video

Postby vsssr » Fri Jul 18, 2008 9:17 pm

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
vsssr
 
Posts: 8
Joined: Wed Jul 18, 2007 3:11 am

Postby BrianDelShasta » Tue Jul 22, 2008 6:26 am

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...
BrianDelShasta
 
Posts: 116
Joined: Tue Jun 03, 2008 4:45 am
Location: USA

Postby bogphanny » Thu Jul 24, 2008 12:29 pm

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.
bogphanny
 
Posts: 1
Joined: Thu Jul 24, 2008 12:22 pm

Postby vsssr » Thu Jul 24, 2008 4:57 pm

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
vsssr
 
Posts: 8
Joined: Wed Jul 18, 2007 3:11 am


Return to Help

Who is online

Users browsing this forum: No registered users and 25 guests