Dose someone know how to install lighttpd? I found this interesting article about lighttpd.
http://jan.kneschke.de/projects/flv-streaming
If someone know how, it will be grate to share with others.
Printable View
Dose someone know how to install lighttpd? I found this interesting article about lighttpd.
http://jan.kneschke.de/projects/flv-streaming
If someone know how, it will be grate to share with others.
Yes. That's what I currently use for FLV streaming now. It's fairly simple to install. I would, however, suggest that you do not replace Apache with lighttpd for the current version of vShare as not all of the rewrite rules that you use in Apache work in lighttpd. For me, I run both Apache and lighttpd.
In order to tell you how to install it, I need to know what OS your servers are running.
question.... What changes in vshare needs to be changed to take advance of this? my storage server is running lighttpd already and I have made the changes to the lighttpd.config file.
No changes really need to be made to vShare. Your player just needs to support it.
Okay, I'm using jw flv version 4.2.
Then all you need to add is the "streamer=lighttpd" flag to your flashvars in your player.inc.
Is the videodownload faster? I am running CentOS with Apache (Configpanel=Plesk).
No, the video download is no faster than what you get with Apache. The benefits to lighttpd is that you can stream your videos (pseudo streaming) allowing for a person to fast forward or rewind a video before the video has finished downloading.
Where am I supposed to add the streamer=lighttpd in the player.inc? Below is my code from my player.inc file...
Code:<?php
$displayheight = $config['player_height'] - 20;
$vshare_player = <<<EOT
<script type="text/javascript" src="{$config['baseurl']}/player/swfobject_1.5.js"></script>
<p id="vshare_player">
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
</p>
<script type="text/javascript">
var so = new SWFObject("{$config['baseurl']}/player/player.swf","vshare_player","$config[player_width]","$config[player_height]","8");
so.addParam("allowfullscreen","true");
so.addVariable("file","{$file}");
so.addVariable("image","{$video_thumb_url}/thumb/{$video_folder}{$video_id}.jpg");
so.addVariable("logo","{$config['baseurl']}/templates/images/watermark.gif");
so.addVariable("link","{$config["watermark_url"]}");
so.addVariable("linktarget","_blank");
so.addVariable("width","{$config['player_width']}");
so.addVariable("height","{$config['player_height']}");
so.addVariable("displayheight","$displayheight");
so.addVariable("overstretch", "true");
so.addVariable("autostart", "{$config['player_autostart']}");
so.addVariable("bufferlength", "{$config['player_bufferlength']}");
so.write('vshare_player');
</script>
EOT;
Ooopps... I just downloaded JW Player 5 today... So, any help getting lighttpd going would be great, or some other pseudo-streaming program.
Thanks
Tim