<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Video Chat Scripts &#187; Video Streaming</title>
	<atom:link href="http://www.videochat-scripts.com/category/video-streaming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.videochat-scripts.com</link>
	<description>Live Video, Web2.0, Rich Media, Custom Content</description>
	<lastBuildDate>Sat, 04 Feb 2012 16:06:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Integrating VideoWhisper Applications with other scripts</title>
		<link>http://www.videochat-scripts.com/integrating-videowhisper-applications-with-other-scripts/?&#038;owa_medium=feed&#038;owa_sid=</link>
		<comments>http://www.videochat-scripts.com/integrating-videowhisper-applications-with-other-scripts/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 16:00:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Video Chat]]></category>
		<category><![CDATA[Video Streaming]]></category>
		<category><![CDATA[authenticate]]></category>
		<category><![CDATA[authorize]]></category>
		<category><![CDATA[bridge]]></category>
		<category><![CDATA[channel]]></category>
		<category><![CDATA[editions]]></category>
		<category><![CDATA[integrate]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[live streaming]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[membership]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[users]]></category>
		<category><![CDATA[video conference]]></category>
		<category><![CDATA[video messenger]]></category>
		<category><![CDATA[video recorder]]></category>
		<category><![CDATA[videowhisper]]></category>

		<guid isPermaLink="false">http://www.videochat-scripts.com/?p=549</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/integrating-videowhisper-applications-with-other-scripts/' addthis:title='Integrating VideoWhisper Applications with other scripts '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>If you&#8217;re using a standard CMS like Drupal, WordPress, Joomla, Elgg, Moodle you can find some ready made integrations to start from, on VideoWhisper.com . Otherwise you should start from the plain php editions. All integrations include full php in source form, that can be downloaded for free from the downloads section (after registering a [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/integrating-videowhisper-applications-with-other-scripts/' addthis:title='Integrating VideoWhisper Applications with other scripts' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/integrating-videowhisper-applications-with-other-scripts/' addthis:title='Integrating VideoWhisper Applications with other scripts '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>If you&#8217;re using a standard CMS like Drupal, WordPress, Joomla, Elgg, Moodle you can find some ready made integrations to start from, on <a href="http://www.videowhisper.com/">VideoWhisper.com</a> . Otherwise you should start from the plain php editions.</p>
<p>All integrations include full php in source form, that can be downloaded for free from the <a href="http://www.videowhisper.com/download.php">downloads</a> section (after <a href="http://www.videowhisper.com/register.php">registering a free account</a>).<br />
Integration is not affected by the license. When domain is licensed flash application starts in full mode (without limitations and intrusive ads showing in flash interface).</p>
<p>Integration depends mainly on site developers and site logic. We recommend starting with the simple php editions when integrating with new scripts. If needed apps can be tweaked to call other types of scripts (asp, jsp). Most already include parameters to change external script call path and extension.<br />
<strong></strong></p>
<p>&nbsp;</p>
<p><strong>LOGIN</strong></p>
<p>Flash applications call scripts ( _login.php : vc_login.php, lb_login.php, r_login.php &#8230;) to get start up parameters, user information (grant access), update user status.<br />
These can be integrated as needed with site logic.<br />
In example the login script could check cookies/sessions depending on site authentication type and allow user to access if logged in. Also this could populate username, gender and user permissions depending on user type.</p>
<p>The flash applications can also be embed in any html pages or templates for 3rd party scripts and some parameters like room name can be passed via a swf parameter like .swf?room=Test . Then flash will call the external scripts like login script where integration can be done as mentioned above.</p>
<p>Details about these calls (including explanations for multiple parameters you can pass) are listed on the php edition pages from VideoWhisper website:<br />
<a href="http://www.videowhisper.com/?p=PHP-Video-Recorder-Script" rel="nofollow" target="_blank">http://www.videowhisper.com/?p=PHP-Video-Recorder-Script</a><br />
<a href="http://www.videowhisper.com/?p=PHP-Live-Streaming" rel="nofollow" target="_blank">http://www.videowhisper.com/?p=PHP-Live-Streaming</a><br />
<a href="http://www.videowhisper.com/?p=PHP-Video-Conference" rel="nofollow" target="_blank">http://www.videowhisper.com/?p=PHP-Video-Conference</a><br />
<a href="http://www.videowhisper.com/?p=PHP-Video-Consultation" rel="nofollow" target="_blank">http://www.videowhisper.com/?p=PHP-Video-Consultation</a><br />
<a href="http://www.videowhisper.com/?p=PHP-2-Way-Video-Chat" rel="nofollow" target="_blank">http://www.videowhisper.com/?p=PHP-2-Way-Video-Chat</a><br />
<a href="http://www.videowhisper.com/?p=PHP-Video-Messenger-Script" rel="nofollow" target="_blank">http://www.videowhisper.com/?p=PHP-Video-Messenger-Script<br />
</a><a href="http://www.videowhisper.com/?p=PHP-Video-Live-Support" rel="nofollow" target="_blank">http://www.videowhisper.com/?p=PHP-Video-Live-Support</a><a href="http://www.videowhisper.com/?p=PHP-Video-Messenger-Script" rel="nofollow" target="_blank"><br />
</a><a href="http://www.videowhisper.com/?p=Admin+Software">http://www.videowhisper.com/?p=Admin-Software</a><br />
<strong></strong></p>
<p>&nbsp;</p>
<p><strong>ONLINE SESSIONS</strong></p>
<p>The applications can show timer/credits info and also communicate with scripts enabling access/disconnecting users as needed but logic must be implemented by site developers.<br />
This can be used for keeping lists of online users, getting and controlling user time online.</p>
<p>If you want to integrate this functionality in your custom projects see php edition pages and references to the _status.php scripts for each.</p>
<h5></h5>
<p><strong>Sample: Implementing an online channels list for Live Streaming</strong></p>
<p>The php edition does not use any sql tables so you can easily install it and integrate with a database system of your choice.</p>
<p>You have to build the online channels list same way as it&#8217;s done for Joomla and WordPress:</p>
<p>Each broadcaster application calls lb_status.php (about each 10s depending on connection) . You need to add channel name to an online broadcasters table (mysql). If already there update access time to current time. Delete all rows that were not access recently (last 30s) because these users must have disconnected.</p>
<p>Here is how it&#8217;s done for wordpress integration:</p>
<p>$s=$_POST['s'];<br />
$u=$_POST['u'];<br />
$r=$_POST['r'];<br />
$m=$_POST['m'];</p>
<p>$ztime=time();</p>
<p>$sql = &#8220;SELECT * FROM $table_name where session=&#8217;$s&#8217; and status=&#8217;1&#8242;&#8221;;<br />
$session = $wpdb-&gt;get_row($sql);<br />
if (!$session)<br />
{<br />
$sql=&#8221;INSERT INTO `$table_name` ( `session`, `username`, `room`, `message`, `sdate`, `edate`, `status`, `type`) VALUES (&#8216;$s&#8217;, &#8216;$u&#8217;, &#8216;$r&#8217;, &#8216;$m&#8217;, $ztime, $ztime, 1, 1)&#8221;;<br />
$wpdb-&gt;query($sql);<br />
}<br />
else<br />
{<br />
$sql=&#8221;UPDATE `$table_name` set edate=$ztime, room=&#8217;$r&#8217;, username=&#8217;$u&#8217;, message=&#8217;$m&#8217; where session=&#8217;$s&#8217; and status=&#8217;1&#8242;&#8221;;<br />
$wpdb-&gt;query($sql);<br />
}</p>
<p>$exptime=$ztime-30;<br />
$sql=&#8221;DELETE FROM `$table_name` WHERE edate &lt; $exptime&#8221;;<br />
$wpdb-&gt;query($sql);</p>
<p>This table is used:<br />
CREATE TABLE `$table_name` (<br />
`id` int(11) NOT NULL auto_increment,<br />
`session` varchar(64) NOT NULL,<br />
`username` varchar(64) NOT NULL,<br />
`room` varchar(64) NOT NULL,<br />
`message` text NOT NULL,<br />
`sdate` int(11) NOT NULL,<br />
`edate` int(11) NOT NULL,<br />
`status` tinyint(4) NOT NULL,<br />
`type` tinyint(4) NOT NULL,<br />
PRIMARY KEY  (`id`),<br />
KEY `status` (`status`),<br />
KEY `type` (`type`),<br />
KEY `room` (`room`)<br />
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT=&#8217;Video Whisper: Sessions &#8211; <a href="mailto:2009@videowhisper.com">2009@videowhisper.com</a>&#8216; AUTO_INCREMENT=1 ;&#8221;;</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/integrating-videowhisper-applications-with-other-scripts/' addthis:title='Integrating VideoWhisper Applications with other scripts' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.videochat-scripts.com/integrating-videowhisper-applications-with-other-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VideoWhisper RTMP Web Session Check</title>
		<link>http://www.videochat-scripts.com/videowhisper-rtmp-web-authetication-check/?&#038;owa_medium=feed&#038;owa_sid=</link>
		<comments>http://www.videochat-scripts.com/videowhisper-rtmp-web-authetication-check/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 17:55:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Video Chat]]></category>
		<category><![CDATA[Video Streaming]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[authorize]]></category>
		<category><![CDATA[check]]></category>
		<category><![CDATA[rtmp]]></category>
		<category><![CDATA[session]]></category>
		<category><![CDATA[user]]></category>
		<category><![CDATA[videowhisper]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.videochat-scripts.com/?p=541</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/videowhisper-rtmp-web-authetication-check/' addthis:title='VideoWhisper RTMP Web Session Check '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>For sites and integrations where additional security measures are required, VideoWhisper applications support login session check on RTMP side. This is used to make sure no clients will be able to connect to rtmp server without having previously logged in with the _login.php scripts. When a new client tries to connect to RTMP server with [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/videowhisper-rtmp-web-authetication-check/' addthis:title='VideoWhisper RTMP Web Session Check' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/videowhisper-rtmp-web-authetication-check/' addthis:title='VideoWhisper RTMP Web Session Check '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>For sites and integrations where additional security measures are required, VideoWhisper applications support login session check on RTMP side.</p>
<p>This is used to make sure no clients will be able to connect to rtmp server without having previously logged in with the _login.php scripts.<br />
When a new client tries to connect to RTMP server with a session name, rtmp application will check on the web server if that client session exists. If web server does not confirm that client logged in, rtmp server will reject the connection. RTMP server will also check for a webKey that needs to be configured same way on rtmp and web server: this will prevent connections in case of web domain hijacking.<br />
Notes<br />
- This will disable connections from external encoders (ie. FMLE) and players (ie. JwPlayer) to that rtmp address, as these will not provide a session name to check for validity.<br />
- Usually, each installation will require its own rtmp side that checks session info with that installation. Otherwise you will have to tweak scripts to check on all installations.</p>
<p>&nbsp;</p>
<h3>RTMP Configuration</h3>
<p>RTMP side web session check is currently supported for Wowza rtmp side. <a href="http://www.videowhisper.com/download.php">Download latest </a>version of Wowza rtmp side, deploy to your server and update these settings in <em>conf/videowhisper-web/Application.xml</em> :</p>
<blockquote><p>&#8230;<br />
&lt;Properties&gt;<br />
&lt;Property&gt;<br />
&lt;Name&gt;acceptPlayers&lt;/Name&gt;<br />
&lt;Value&gt;true&lt;/Value&gt;<br />
&lt;/Property&gt;<br />
&lt;Property&gt;<br />
&lt;Name&gt;webLogin&lt;/Name&gt;<br />
&lt;Value&gt;http://<strong>installation_url/</strong>rtmp_login.php?s=&lt;/Value&gt;<br />
&lt;/Property&gt;<br />
&lt;Property&gt;<br />
&lt;Name&gt;webKey&lt;/Name&gt;<br />
&lt;Value&gt;VideoWhisper&lt;/Value&gt;<br />
&lt;/Property&gt;<br />
&lt;Property&gt;<br />
&lt;Name&gt;webLogout&lt;/Name&gt;<br />
&lt;Value&gt;http://<strong>installation_url</strong>/rtmp_logout.php?s=&lt;/Value&gt;<br />
&lt;/Property&gt;<br />
&lt;/Properties&gt;<br />
&lt;/Application&gt;</p>
<p>&nbsp;</p>
<p>&nbsp;</p></blockquote>
<p>Then restart WowzaMediaServer service. For troubleshooting check Wowza access logs. If errors occur in the error logs <a href="http://www.videowhisper.com/tickets_submit.php">submit a ticket to VideoWhisper</a> about this.</p>
<h3>Web Configuration</h3>
<p>Download latest Video Conference php edition and check these integration files:<br />
<em>rtmp.inc.php</em> &#8211; stores session info when user authenticates from vc_login.php ; contains $webKey if you want to change it<br />
<em>rtmp_login.php</em> &#8211; called by rtmp server to see if a session name is valid (authenticated); also gets canKick permission to allow user to kick clients<br />
<em>rtmp_logout.php</em> &#8211; called by rtmp server when client with a session name disconnected (to cleanup session)</p>
<p>Configure settings.php to use the videowhisper-web rtmp address.</p>
<p>To integrate this on other editions or installations you will need to copy the 3 files mentioned above to installation folder and include rtmp.inc.php in the _login.php scripts that authorize the user.<br />
Other changes could be required depending on particularities of each integration.</p>
<h3>Sample Demo Configuration</h3>
<p>Installation url: <a href="http://www.videowhisper.com/demos/vc_web">http://www.videowhisper.com/demos/vc_web</a><br />
Using rtmp address: <em>rtmp://videowhisper.com/videowhisper-web</em></p>
<blockquote><p>         &lt;Property&gt;<br />
&lt;Name&gt;webLogin&lt;/Name&gt;<br />
&lt;Value&gt;http://www.videowhisper.com/demos/vc_web/rtmp_login.php?s=&lt;/Value&gt;<br />
&lt;/Property&gt;<br />
&lt;Property&gt;<br />
&lt;Name&gt;webKey&lt;/Name&gt;<br />
&lt;Value&gt;VideoWhisper&lt;/Value&gt;<br />
&lt;/Property&gt;<br />
&lt;Property&gt;<br />
&lt;Name&gt;webLogout&lt;/Name&gt;<br />
&lt;Value&gt;http://www.videowhisper.com/demos/vc_web/rtmp_logout.php?s=&lt;/Value&gt;<br />
&lt;/Property&gt;</p>
<p>&nbsp;</p></blockquote>
<p>&nbsp;</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/videowhisper-rtmp-web-authetication-check/' addthis:title='VideoWhisper RTMP Web Session Check' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.videochat-scripts.com/videowhisper-rtmp-web-authetication-check/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Red5 on Debian</title>
		<link>http://www.videochat-scripts.com/install-red5-on-debian/?&#038;owa_medium=feed&#038;owa_sid=</link>
		<comments>http://www.videochat-scripts.com/install-red5-on-debian/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 18:48:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Video Streaming]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jdk]]></category>
		<category><![CDATA[jre]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[red5]]></category>
		<category><![CDATA[rtmp]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[squeeze]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wheezy]]></category>

		<guid isPermaLink="false">http://www.videochat-scripts.com/?p=523</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/install-red5-on-debian/' addthis:title='Install Red5 on Debian '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>At least Debian 5 (Lenny) required. Checkout release: cat /proc/version uname -a cat /etc/issue cat /etc/debian_version &#160; If system is not in English, enable that: dpkg-reconfigure locales export LANG=en_US.UTF-8 Update /etc/enviroment You may need to reboot. &#160; Update: apt-get update Install Subversion: apt-get -y install subversion Install tools to build your own Debian packages: apt-get -y [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/install-red5-on-debian/' addthis:title='Install Red5 on Debian' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/install-red5-on-debian/' addthis:title='Install Red5 on Debian '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>At least Debian 5 (Lenny) required.</p>
<p>Checkout release:<br />
<em><strong>cat /proc/version</strong></em><br />
<em><strong> uname -a</strong></em><br />
<em><strong> cat /etc/issue</strong></em><br />
<em><strong>cat /etc/debian_version</strong></em></p>
<p>&nbsp;</p>
<p>If system is not in English, enable that:<br />
<em><strong>dpkg-reconfigure locales</strong></em><br />
<em><strong> export LANG=en_US.UTF-8</strong></em></p>
<p>Update /etc/enviroment</p>
<p>You may need to reboot.</p>
<p>&nbsp;</p>
<p>Update:<br />
<em><strong>apt-get update</strong></em></p>
<p><span class="search_hit">Install</span> <a class="urlextern" title="http://subversion.tigris.org" href="http://subversion.tigris.org/" rel="nofollow">Subversion</a>:<br />
<em><strong>apt-get -y install subversion</strong></em></p>
<p>Install tools to build your own Debian packages:<br />
<em><strong>apt-get -y install dpkg-dev debhelper dh-make devscripts fakeroot</strong></em></p>
<p><span class="search_hit">Install</span> Java (accept sun license if applies):<br />
<strong><em>apt-get -y install java-package</em></strong><br />
<strong><em>apt-get -y install sun-java6-jre</em></strong><br />
<strong><em>apt-get -y install sun-java6-jdk</em></strong><br />
<strong><em>java -version</em></strong></p>
<p><span class="search_hit">Install</span> Apache <a class="urlextern" title="http://ant.apache.org" href="http://ant.apache.org/" rel="nofollow">Ant</a>:<br />
<em><strong>wget http://www.apache.org/dist/ant/binaries/apache-ant-1.8.2-bin.tar.gz</strong></em><br />
<em><strong>tar zxvf apache-ant-1.8.2-bin.tar.gz</strong></em><br />
<em><strong>mv apache-ant-1.8.2 /usr/local/ant </strong></em><br />
<em><strong>export ANT_HOME=/usr/local/ant</strong></em><br />
<em><strong>/usr/local/ant/bin/ant -version</strong></em></p>
<p>Download the latest development version of Red5:<br />
<em><strong>svn co http://red5.googlecode.com/svn/java/server/trunk red5-trunk</strong></em></p>
<p>Run ant to build red5:<br />
<em><strong>cd red5-trunk</strong></em><br />
<em><strong>/usr/local/ant/bin/ant</strong></em></p>
<p>Deploy red5:<br />
<em><strong>mkdir /usr/local/red5</strong></em><br />
<em><strong>cp -R dist/* /usr/local/red5/</strong></em><br />
<em><strong>cd /usr/local/red5 </strong></em><br />
<em><strong>chmod 755 red5.sh</strong></em></p>
<p>Deploy your custom apps in/usr/local/red5/webapps .<br />
In example <a href="http://www.videowhisper.com/?p=RTMP+Applications">VideoWhisper Red5 RTMP application</a> needed to run <a href="http://www.videowhisper.com/">VideoWhisper</a> solutions.</p>
<p>Start Red5 in background:<br />
<em><strong>cd /usr/local/red5<br />
./red5.sh &gt;&gt; red5.log &amp;</strong></em></p>
<p>Verify the correct ports are being bound to:<br />
<em><strong>netstat -ant</strong></em></p>
<p>&nbsp;</p>
<p>You need to restart red5 each time you add webapps to /usr/local/red5/webapps or change configuration.</p>
<p>Close Red5:<br />
<em><strong>cd /usr/local/red5<br />
./red5-shutdown.sh<br />
</strong></em></p>
<p>Or kill Red5 processes:<br />
<em><strong>ps aux | grep red5</strong></em><br />
<em><strong>kill</strong></em> $process_id</p>
<p>Then start it again:<br />
<em><strong>cd /usr/local/red5<br />
./red5.sh &gt;&gt; red5.log &amp;</strong></em></p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/install-red5-on-debian/' addthis:title='Install Red5 on Debian' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.videochat-scripts.com/install-red5-on-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up VideoWhisper RTMP on Influxis</title>
		<link>http://www.videochat-scripts.com/setting-up-videowhisper-rtmp-on-influxis/?&#038;owa_medium=feed&#038;owa_sid=</link>
		<comments>http://www.videochat-scripts.com/setting-up-videowhisper-rtmp-on-influxis/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 13:36:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Video Chat]]></category>
		<category><![CDATA[Video Streaming]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[deploy]]></category>
		<category><![CDATA[flash media server]]></category>
		<category><![CDATA[fmis]]></category>
		<category><![CDATA[Influxis]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[restart]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[Vhost]]></category>
		<category><![CDATA[videowhisper]]></category>

		<guid isPermaLink="false">http://www.videochat-scripts.com/?p=515</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/setting-up-videowhisper-rtmp-on-influxis/' addthis:title='Setting up VideoWhisper RTMP on Influxis '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>If you have a FMS account with Influxis, use these instructions for setting up a new application: 1. Create application from Tools &#62; New App Builder or My Applications &#62; Add New Application. Use any name i.e. &#8220;videowhisper&#8221; and save generated rtmp path. 2. From Tools &#62; File Manager / File Admin edit videowhisper/main.asc file [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/setting-up-videowhisper-rtmp-on-influxis/' addthis:title='Setting up VideoWhisper RTMP on Influxis' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/setting-up-videowhisper-rtmp-on-influxis/' addthis:title='Setting up VideoWhisper RTMP on Influxis '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>If you have a FMS account with Influxis, use these instructions for setting up a new application:</p>
<p>1. Create application from Tools &gt; New App Builder or My Applications &gt; Add New Application. Use any name i.e. &#8220;videowhisper&#8221; and save generated rtmp path.</p>
<p>2. From Tools &gt; File Manager / File Admin edit videowhisper/main.asc file and make sure it has the contents of videowhisper/main.asc (open it with notepad or other text editor). If needed select all from text editor (CTRL+A), copy (CTRL+C), move to form, select all from there (CTRL+A), paste from clipboard (CTRL+V).<br />
Get VideoWhisper FMIS rtmp side from <a href="http://www.videowhisper.com/download.php">Downloads</a> : RTMP VideoWhisper Applications &gt; FMIS .</p>
<p>3. From Account Settings &gt; Domain Permissions, Set Referring Domain(s), Add New Domain &#8211; add your domain that hosts the flash (i.e. your-domain.com)</p>
<p>4. Reset the VHost for your Influxis account so it loads new applications or updates.<br />
In your Influxis account go to My Applications &gt; FCS Administration Console: Connect then go to Maintenance : Adaptor / VHost: Restart .</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/setting-up-videowhisper-rtmp-on-influxis/' addthis:title='Setting up VideoWhisper RTMP on Influxis' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.videochat-scripts.com/setting-up-videowhisper-rtmp-on-influxis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playback RTMP with JW Player</title>
		<link>http://www.videochat-scripts.com/playback-rtmp-with-jw-player/?&#038;owa_medium=feed&#038;owa_sid=</link>
		<comments>http://www.videochat-scripts.com/playback-rtmp-with-jw-player/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 11:46:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Video Streaming]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[encoder]]></category>
		<category><![CDATA[external]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[jw player]]></category>
		<category><![CDATA[jwPlayer]]></category>
		<category><![CDATA[live]]></category>
		<category><![CDATA[player]]></category>
		<category><![CDATA[publish]]></category>
		<category><![CDATA[red5]]></category>
		<category><![CDATA[rtmp]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[wirecast]]></category>
		<category><![CDATA[wowza]]></category>

		<guid isPermaLink="false">http://www.videochat-scripts.com/?p=497</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/playback-rtmp-with-jw-player/' addthis:title='Playback RTMP with JW Player '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>You can publish a rtmp stream to a rtmp address and then playback with an external player like JWPlayer. If you publish StreamName to rtmp address rtmp://your-rtmp-address-here then you will need to configure JW Player: var flashvars = { file: StreamName.flv, streamer: rtmp://your-rtmp-address-here, autostart:&#8221;true&#8221;, type:&#8221;rtmp&#8221;} &#160; Webcam video streams can be published from web with [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/playback-rtmp-with-jw-player/' addthis:title='Playback RTMP with JW Player' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/playback-rtmp-with-jw-player/' addthis:title='Playback RTMP with JW Player '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>You can publish a rtmp stream to a rtmp address and then playback with an external player like JWPlayer.<br />
If you publish <em>StreamName</em> to rtmp address <em>rtmp://your-rtmp-address-here</em> then you will need to configure JW Player:<br />
var flashvars = { file: <em>StreamName</em>.flv, streamer: <em>rtmp://your-rtmp-address-here</em>, autostart:&#8221;true&#8221;, type:&#8221;rtmp&#8221;}</p>
<p>&nbsp;</p>
<p>Webcam video streams can be published from web with a <a href="http://www.videowhisper.com/?p=Live+Streaming">video Live Streaming broadcasting script</a>. With the VideoWhisper Live Streaming soulution, StreamName is channel name (in example Studio586). Important: As latest VideoWhisper solutions also support P2P streaming, these need to be configured with alwaysRTMP=1 parameter in their _login.php or equivalent script so streams are always published to RTMP server.</p>
<p>&nbsp;</p>
<p>If you want to publish for other devices special encoders and codecs would be required. Using an external encoder you can encode with codecs and settings not available in browser flash player (due to flash limitations). Not all encoders and versions are compatible with all rtmp servers and versions. Some require special configuration and usage instructions.</p>
<p><a href="http://www.adobe.com/products/flashmediaserver/flashmediaencoder/">Adobe Flash Media Live Encoder</a> can be used for Adobe Media Interactive server and is also reported to work with Wowza.</p>
<p><a href="http://www.wowza.com/forums/content.php?104">Wowza &amp; Wirecast documentation and support</a> is available for <a href="http://www.videowhisper.com/?p=Wowza+Media+Server+Hosting">Wowza Media Server hosting</a>.</p>
<p>&nbsp;</p>
<p>Note that when publishing H.264, video player should be configured to play StreamName.mp4 instead of StreamName.flv .</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/playback-rtmp-with-jw-player/' addthis:title='Playback RTMP with JW Player' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.videochat-scripts.com/playback-rtmp-with-jw-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Flash Live Video Streaming Applications</title>
		<link>http://www.videochat-scripts.com/configuring-flash-live-video-streaming-applications/?&#038;owa_medium=feed&#038;owa_sid=</link>
		<comments>http://www.videochat-scripts.com/configuring-flash-live-video-streaming-applications/#comments</comments>
		<pubDate>Fri, 11 Feb 2011 12:31:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Video Chat]]></category>
		<category><![CDATA[Video Streaming]]></category>
		<category><![CDATA[bandwith]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[latency]]></category>
		<category><![CDATA[live]]></category>
		<category><![CDATA[rtmp]]></category>
		<category><![CDATA[Skype]]></category>
		<category><![CDATA[streaming]]></category>

		<guid isPermaLink="false">http://www.videochat-scripts.com/?p=464</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/configuring-flash-live-video-streaming-applications/' addthis:title='Configuring Flash Live Video Streaming Applications '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>Measure connection capabilities To configure flash applications streaming you will first need to determine the connections that most users will have. So test first with your connection and also request other users to test. So let&#8217;s consider this situation determined by http://www.speedtest.net (measure speed to a server close to the location of your streaming server): [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/configuring-flash-live-video-streaming-applications/' addthis:title='Configuring Flash Live Video Streaming Applications' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/configuring-flash-live-video-streaming-applications/' addthis:title='Configuring Flash Live Video Streaming Applications '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><h3><strong>Measure connection capabilities</strong></h3>
<p>To configure flash applications streaming you will first need to determine the connections that most users will have. So test first with your connection and also request other users to test.</p>
<p>So let&#8217;s consider this situation determined by <a href="http://www.speedtest.net">http://www.speedtest.net</a> (measure speed to a server close to the location of your streaming server):<br />
Download: 9.43Mbp/s<br />
Upload: 0.49Mbps</p>
<p>This looks like ADSL (in this situation upload bandwidth is 20 times lower than total connection bandwidth).</p>
<p>0.49 Mbps = 502 Kbps (kilobits per second)<br />
8 bits = 1 byte,  so that means you can upload with 62 kb/s  (kilobytes per second)</p>
<p>As you can see, usually, connection is the cause of quality and latency limitations. A server with 1000Mbps connection will theoretically be able to handle  up to 2000 x 0.49Mbps streams, so the server is not the problem with  your tests, unless you&#8217;re on a shared plan and other clients are maxing  out the resources.</p>
<h3><strong>How to configure <a href="http://www.videowhisper.com/">flash videochat applications</a>?</strong></h3>
<p>Considering you also have to upload audio and other data on that connection, you could setup camBandwidth to 49152 bytes/s (allocate for the compressed video stream).<br />
On chat systems buffering should be reduced to 0.1 so delays are minimized. On 1 way streaming systems, you can use higher buffering to increase fluency in case of connection turbulence.</p>
<h3><strong>Flash streaming applications vs Skype</strong></h3>
<p>Skype desktop application uses different technology than these web based applications limited by browser based flash technology limitations . Skype uses:<br />
-  p2p connections between all users and also uses fast 3rd users as proxies (not using server &#8211; so if you are in the same local network with the other tester or with a 3rd skype client with better connection, it uses the local bandwidth)<br />
-  better codecs to get better quality for same bandwidth (flash player currently encodes only h263 and external encoders must be used to encode h264)</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/configuring-flash-live-video-streaming-applications/' addthis:title='Configuring Flash Live Video Streaming Applications' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.videochat-scripts.com/configuring-flash-live-video-streaming-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Red5 Linux Server Optimizations and Tools</title>
		<link>http://www.videochat-scripts.com/red5-linux-server-optimizations-and-tools/?&#038;owa_medium=feed&#038;owa_sid=</link>
		<comments>http://www.videochat-scripts.com/red5-linux-server-optimizations-and-tools/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 02:19:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Video Streaming]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[java6]]></category>
		<category><![CDATA[jdk]]></category>
		<category><![CDATA[jdk6]]></category>
		<category><![CDATA[jre]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[optimize]]></category>
		<category><![CDATA[red5]]></category>
		<category><![CDATA[restart]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.videochat-scripts.com/?p=239</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/red5-linux-server-optimizations-and-tools/' addthis:title='Red5 Linux Server Optimizations and Tools '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>Some java optimizations to add in red5.sh : export JAVA_OPTS=&#8221;-Xrs -Xms128M -Xmx256M -Dsun.rmi.dgc.client.gcInterval=300000 -Dsun.rmi.dgc.server.gcInterval=360000 -Djava.net.preferIPv4Stack=true -XX:+ExplicitGCInvokesConcurrent -XX:+UseConcMarkSweepGC -Xverify:none&#8221; Assuming red5 was installed in /opt/red5/dist admin will often need to restart it or check if it&#8217;s running. Make sure Red5 restarts: restart.sh #!/bin/bash #Restart the process #First see if running PID=`ps -eo &#8216;tty pid args&#8217; &#124; [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/red5-linux-server-optimizations-and-tools/' addthis:title='Red5 Linux Server Optimizations and Tools' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/red5-linux-server-optimizations-and-tools/' addthis:title='Red5 Linux Server Optimizations and Tools '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>Some java optimizations to add in red5.sh :</p>
<blockquote><p>export JAVA_OPTS=&#8221;-Xrs -Xms128M -Xmx256M -Dsun.rmi.dgc.client.gcInterval=300000 -Dsun.rmi.dgc.server.gcInterval=360000 -Djava.net.preferIPv4Stack=true -XX:+ExplicitGCInvokesConcurrent -XX:+UseConcMarkSweepGC -Xverify:none&#8221;</p></blockquote>
<p>Assuming red5 was installed in /opt/red5/dist admin will often need to restart it or check if it&#8217;s running.</p>
<p>Make sure Red5 restarts: restart.sh</p>
<blockquote><p>#!/bin/bash<br />
#Restart the process<br />
#First see if running<br />
PID=`ps -eo &#8216;tty pid args&#8217; | grep &#8216;red5&#8242; | grep -v grep | grep -v restart | tr -s &#8216; &#8216; | cut -f2 -d &#8216; &#8216;`<br />
cd /opt/red5/dist<br />
if [ -z "$PID" ]<br />
then<br />
#not running<br />
echo &#8220;Red5 was not running at `date`&#8221; &gt;&gt; /opt/red5/dist/run-restart.log<br />
else<br />
echo &#8220;Red5: $PID&#8221;<br />
#shutdown<br />
/opt/red5/dist/red5-shutdown.sh<br />
sleep 6<br />
#make sure<br />
kill $PID &gt;&gt; null<br />
sleep 2<br />
fi<br />
#start<br />
/opt/red5/dist/red5.sh &gt;&gt; /opt/red5/dist/red5.log &amp;<br />
echo &#8220;On request restarted Red5 at `date`&#8221; &gt;&gt; /opt/red5/dist/run-restart.log</p></blockquote>
<p>Mare sure Red5 process is running, if not start it: running.sh</p>
<blockquote><p>#!/bin/bash<br />
#set environment<br />
PID=`ps -eo &#8216;tty pid args&#8217; | grep &#8216;red5&#8242; | grep -v grep | grep -v running | tr -s &#8216; &#8216; | cut -f2 -d &#8216; &#8216;`<br />
if [ -z "$PID" ]<br />
then<br />
#Restart the process<br />
cd /opt/red5/dist<br />
/opt/red5/dist/red5.sh &gt;&gt; /opt/red5/dist/red5.log &amp;<br />
echo &#8220;Restarted Red5 at `date`&#8221; &gt;&gt; /opt/red5/dist/run-restart.log<br />
else<br />
#do nothing<br />
echo &#8220;Red5 is already running with PID=$PID at `date`&#8221; &gt;&gt; /opt/red5/dist/run-checked.log<br />
fi</p></blockquote>
<p><strong>Red5 Services</strong><br />
<a href="http://www.videowhisper.com/?p=Red5+Hosting">Red5 Hosting</a><br />
<a href="http://www.videowhisper.com/?p=Red5+Installation">Red5 installation on VPS &amp; Dedicated Servers (Linux / Windows)</a></p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/red5-linux-server-optimizations-and-tools/' addthis:title='Red5 Linux Server Optimizations and Tools' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.videochat-scripts.com/red5-linux-server-optimizations-and-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Red5 0.9 Final Released</title>
		<link>http://www.videochat-scripts.com/red5-0-9-final-released/?&#038;owa_medium=feed&#038;owa_sid=</link>
		<comments>http://www.videochat-scripts.com/red5-0-9-final-released/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 00:04:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Video Streaming]]></category>
		<category><![CDATA[0.9]]></category>
		<category><![CDATA[final]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[red5]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://www.videochat-scripts.com/?p=225</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/red5-0-9-final-released/' addthis:title='Red5 0.9 Final Released '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>Get latest Red5 0.9 Final (27 January 2010) from http://code.google.com/p/red5/. This final release includes important improvements and bug fixes. http://code.google.com/p/red5/updates/list Red5 Tutorials Red5 Centos Linux Installation Red5 Unbuntu Linux Installation Run Red5 &#38; Wowza Flash Media Servers on Same Linux Server Red5 Services Red5 Hosting Red5 installation on VPS &#38; Dedicated Servers (Linux / Windows) [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/red5-0-9-final-released/' addthis:title='Red5 0.9 Final Released' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/red5-0-9-final-released/' addthis:title='Red5 0.9 Final Released '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>Get latest Red5 0.9 Final <a name="Installers">(27 January 2010) </a>from <a href="http://code.google.com/p/red5/">http://code.google.com/p/red5/</a>.<a name="Installers"></a></p>
<p>This final release includes important improvements and bug fixes.<br />
<a href="http://code.google.com/p/red5/updates/list">http://code.google.com/p/red5/updates/list</a></p>
<p><strong>Red5 Tutorials</strong><br />
<a href="../installed-red5-08-rc3-with-jdk-1613-on-linux/">Red5 Centos Linux Installation</a><br />
<a href="../install-red5-0-9-on-linux-ubuntu/">Red5    Unbuntu Linux Installation</a><br />
<a title="Run Red5 &amp; Wowza Flash Media Servers on Same Linux Server" href="../run-red5-wowza-flash-media-servers-on-same-linux-server/">Run Red5 &amp; Wowza Flash Media Servers on Same Linux Server </a></p>
<p><strong>Red5 Services</strong><br />
<a href="http://www.videowhisper.com/?p=Red5+Hosting">Red5 Hosting</a><br />
<a href="http://www.videowhisper.com/?p=Red5+Installation">Red5 installation on VPS &amp; Dedicated Servers (Linux / Windows)</a></p>
<p><span id="more-225"></span><strong>Red5 Video Streaming Software</strong><br />
(free to download)<br />
<strong><a href="http://www.videowhisper.com/?p=Video+Consultation"><img src="http://www.videowhisper.com/snaps/box_cns_75.png" border="0" alt="Online Video Consultation" align="absmiddle" />Video Consultation</a></strong></p>
<p><strong></strong><strong><a href="http://www.videowhisper.com/?p=2+Way+Video+Chat"><img src="http://www.videowhisper.com/snaps/box_2w_75.png" border="0" alt="2 Way Video Chat Script" align="absmiddle" />2 Way Video Chat</a></strong></p>
<p><strong></strong><strong><a href="http://www.videowhisper.com/?p=Video+Conference"><img src="http://www.videowhisper.com/snaps/box_vc_75.png" border="0" alt="Video Conference Script" align="absmiddle" />Video Conference</a></strong></p>
<p><strong></strong><strong><a href="http://www.videowhisper.com/?p=Live+Streaming"><img src="http://www.videowhisper.com/snaps/box_ls_75.png" border="0" alt="Live Streaming Video Script" align="absmiddle" />Live Streaming</a></strong></p>
<p><strong></strong><strong><a href="http://www.videowhisper.com/?p=Video+Recorder"><img src="http://www.videowhisper.com/snaps/box_vr_75.png" border="0" alt="Video Recorder Script" align="absmiddle" />Video Recorder</a></strong></p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/red5-0-9-final-released/' addthis:title='Red5 0.9 Final Released' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.videochat-scripts.com/red5-0-9-final-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Run Red5 &amp; Wowza Flash Media Servers on Same Linux Server</title>
		<link>http://www.videochat-scripts.com/run-red5-wowza-flash-media-servers-on-same-linux-server/?&#038;owa_medium=feed&#038;owa_sid=</link>
		<comments>http://www.videochat-scripts.com/run-red5-wowza-flash-media-servers-on-same-linux-server/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 04:49:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Video Streaming]]></category>
		<category><![CDATA[1935]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[dedicated server]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash media server]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[red5]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[rtmp]]></category>
		<category><![CDATA[same]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[simultaneously]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[wowza]]></category>
		<category><![CDATA[wowza media server]]></category>

		<guid isPermaLink="false">http://www.videochat-scripts.com/?p=209</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/run-red5-wowza-flash-media-servers-on-same-linux-server/' addthis:title='Run Red5 &#38; Wowza Flash Media Servers on Same Linux Server '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>This post shows how to install Wowza on a server where there is another RTMP server, already installed, i.e. Red5. Run 2 rtmp servers at same time and allow applications to connect on both simultaneously. First install Wowza Media Server. Update version if necessary. cd /root/tmp wget http://www.wowzamedia.com/downloads/WowzaMediaServer-2-0-0/WowzaMediaServer-2.0.0.rpm.bin chmod a+x WowzaMediaServer-2.0.0.rpm.bin ./WowzaMediaServer-2.0.0.rpm.bin Then fill your [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/run-red5-wowza-flash-media-servers-on-same-linux-server/' addthis:title='Run Red5 &#038; Wowza Flash Media Servers on Same Linux Server' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/run-red5-wowza-flash-media-servers-on-same-linux-server/' addthis:title='Run Red5 &amp; Wowza Flash Media Servers on Same Linux Server '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>This post shows how to install Wowza on a server where there is another RTMP server, already installed, i.e. Red5. Run 2 rtmp servers at same time and allow applications to connect on both simultaneously.</p>
<p><span id="more-209"></span>First install Wowza Media Server. Update version if necessary.</p>
<blockquote><p>cd /root/tmp<br />
wget http://www.wowzamedia.com/downloads/WowzaMediaServer-2-0-0/WowzaMediaServer-2.0.0.rpm.bin<br />
chmod a+x WowzaMediaServer-2.0.0.rpm.bin<br />
./WowzaMediaServer-2.0.0.rpm.bin</p></blockquote>
<p>Then fill your Wowza Media Server license ( a <a href="http://www.wowzamedia.com/pro10s.php">free developer license for 10 connections</a> can be used for testing):</p>
<blockquote><p>cd /usr/local/WowzaMediaServer/bin<br />
./startup.sh</p></blockquote>
<p>Change rtmp port in /usr/local/WowzaMediaServer-2.0.0/conf/VHost.xml from 1935 to some other port not in use (i.e. 1936):</p>
<blockquote><p>&lt;Root&gt;<br />
&lt;VHost&gt;<br />
&lt;HostPortList&gt;<br />
&lt;HostPort&gt;<br />
&lt;ProcessorCount&gt;4&lt;/ProcessorCount&gt;<br />
&lt;IpAddress&gt;*&lt;/IpAddress&gt;<br />
&lt;!&#8211; Separate multiple ports with commas &#8211;&gt;<br />
&lt;!&#8211; 80: HTTP, RTMPT &#8211;&gt;<br />
&lt;!&#8211; 554: RTSP &#8211;&gt;<br />
&lt;Port&gt;<strong>1936</strong>&lt;/Port&gt;</p></blockquote>
<p>Run Wowza in background. You can also add this to /etc/rc.d/rc.local to have it running on each server restart:</p>
<blockquote><p>cd /usr/local/WowzaMediaServer/bin<br />
./startup.sh &gt; start.log &amp;</p></blockquote>
<p>Now you&#8217;ll be able to access wowza rtmp applications with <em>rtmp://your-server<strong>:1936</strong>/your-wowza-application</em> while red5 applications will be accessible the old way with  <em>rtmp://your-server/your-red5-application .<br />
</em></p>
<p>An example of 2 rtmp servers running on same linux server is the <a href="http://www.videowhisper.com/?p=Video+Recorder">VideoWhisper Webcam Video Recorder</a>.</p>
<p><a href="http://www.videowhisper.com/demos/recorder_php/">Red5 Video Recorder</a><br />
<a href="http://www.videowhisper.com/demos/recorder_wowza/">Wowza Video Recorder</a></p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/run-red5-wowza-flash-media-servers-on-same-linux-server/' addthis:title='Run Red5 &#038; Wowza Flash Media Servers on Same Linux Server' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.videochat-scripts.com/run-red5-wowza-flash-media-servers-on-same-linux-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install ffmpeg mplayer flvtool2 yamdi x264 theora mp3lame vorbis ogg faac</title>
		<link>http://www.videochat-scripts.com/install-ffmpeg-mplayer-flvtool2-yamdi-x264-theora-mp3lame-vorbis-ogg-faac/?&#038;owa_medium=feed&#038;owa_sid=</link>
		<comments>http://www.videochat-scripts.com/install-ffmpeg-mplayer-flvtool2-yamdi-x264-theora-mp3lame-vorbis-ogg-faac/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 05:31:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Video Streaming]]></category>
		<category><![CDATA[avs]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[clip]]></category>
		<category><![CDATA[clip-share]]></category>
		<category><![CDATA[clipshare]]></category>
		<category><![CDATA[codecs]]></category>
		<category><![CDATA[compatible]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[cpffmpeg]]></category>
		<category><![CDATA[devel]]></category>
		<category><![CDATA[encode]]></category>
		<category><![CDATA[exec]]></category>
		<category><![CDATA[faac]]></category>
		<category><![CDATA[faad2]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[flvtool2]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[lame]]></category>
		<category><![CDATA[lib]]></category>
		<category><![CDATA[libgpac]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[mediainfo]]></category>
		<category><![CDATA[mencoder]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[mp3lame]]></category>
		<category><![CDATA[MP4Box]]></category>
		<category><![CDATA[mplayer]]></category>
		<category><![CDATA[neroAacEnc]]></category>
		<category><![CDATA[nerodigitalaudio]]></category>
		<category><![CDATA[ogg]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[resize]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[sharing]]></category>
		<category><![CDATA[stream]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[suphp]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[theora]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[video sharing]]></category>
		<category><![CDATA[vorbis]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[x264]]></category>
		<category><![CDATA[xvid]]></category>
		<category><![CDATA[youtube]]></category>
		<category><![CDATA[yum]]></category>
		<category><![CDATA[zenlib]]></category>

		<guid isPermaLink="false">http://www.videochat-scripts.com/?p=159</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/install-ffmpeg-mplayer-flvtool2-yamdi-x264-theora-mp3lame-vorbis-ogg-faac/' addthis:title='Install ffmpeg mplayer flvtool2 yamdi x264 theora mp3lame vorbis ogg faac '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>This is a tutorial to enable video sharing support on Centos servers. This should install ffmpeg, mplayer, mencoder, flvtool2, yamdi, x264, theora, mp3lame, vorbis, ogg, faac, faad2, xvid, mediainfo, mp4box, neroaacenc . These tools will enable on your server: video and audio conversion thumbnail generation FLV meta injection (flvtool2, yamdi) extra codecs (x264, theora, mp3lame, [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/install-ffmpeg-mplayer-flvtool2-yamdi-x264-theora-mp3lame-vorbis-ogg-faac/' addthis:title='Install ffmpeg mplayer flvtool2 yamdi x264 theora mp3lame vorbis ogg faac' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.videochat-scripts.com/install-ffmpeg-mplayer-flvtool2-yamdi-x264-theora-mp3lame-vorbis-ogg-faac/' addthis:title='Install ffmpeg mplayer flvtool2 yamdi x264 theora mp3lame vorbis ogg faac '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><p>This is a tutorial to enable video sharing support on Centos servers.</p>
<p>This should install ffmpeg, mplayer, mencoder, flvtool2, yamdi, x264, theora, mp3lame, vorbis, ogg, faac, faad2, xvid, mediainfo, mp4box, neroaacenc . These tools will enable on your server:</p>
<ul>
<li>video and audio conversion</li>
<li>thumbnail generation</li>
<li>FLV meta injection (flvtool2, yamdi)</li>
<li>extra codecs (x264, theora, mp3lame, vorbis, ogg, faac, faad2, xvid)</li>
</ul>
<p>This is functional and we update it each time we configure a new server.<br />
Installation is done using the &#8220;root&#8221; account.</p>
<p>&nbsp;</p>
<p>Attention: If you copy and paste commands below, make sure &#8220;-&#8221; are not converted to &#8220;.&#8221;.  If these get converted, edit &#8220;.&#8221; back to &#8220;-&#8221;. Some options use 2 * &#8220;-&#8221;.</p>
<p>Some prerequisites:</p>
<blockquote><p><span class="content"><span class="block" style="margin-left: 0px;"><code class="plain">yum install gcc gcc-c++ automake autoconf libtool yasm git subversion</code></span></span><br />
yum install zlib-devel libmad-devel libvorbis-devel libtheora-devel lame-devel faac-devel a52dec-devel xvidcore-devel freetype-devel<br />
<span class="content"><span class="block" style="margin-left: 0px;"><code class="plain">yum </code><code class="functions">install</code> <code class="plain">libogg zlib-devel libtool</code></span></span></p>
<div class="line alt2"><span class="content"><span class="block" style="margin-left: 0px;"><code class="plain">rpm -ivh  http://rpm.livna.org/livna-release.rpm</code></span></span></div>
<p><span class="content"><span class="block" style="margin-left: 0px;"><code class="plain">yum </code><code class="functions">install</code> <code class="plain">yasm<br />
</code></span></span><span class="content"><span class="block" style="margin-left: 0px;"><code class="plain">yum </code><code class="functions">install</code> <code class="plain">libogg libogg-devel libvorbis libvorbis-devel<br />
</code></span></span></p></blockquote>
<p>The quick way to setup ffmpeg, mplayer, mencoder:</p>
<blockquote><p>rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.1-1.el5.rf.i386.rpm</p></blockquote>
<p><em>or</em> if you have 64bit server</p>
<blockquote><p>rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm</p></blockquote>
<blockquote><p>yum -y install ffmpeg ffmpeg-devel mplayer mencoder <code>ffmpeg-libpostproc</code></p></blockquote>
<p>Edit the <strong>/etc/ld.so.conf</strong> file and add the following lines:</p>
<blockquote><p><span class="content"><span class="block" style="margin-left: 0px;"><code class="plain">/usr/</code><code class="functions">local</code><code class="plain">/lib<br />
</code></span></span><span class="content"><span class="block" style="margin-left: 0px;"><code class="plain">/usr/lib</code></span></span></p></blockquote>
<p><strong>GIT<br />
</strong>(required to get X264)</p>
<blockquote><p>yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel</p></blockquote>
<blockquote>
<div>cd /usr/local/src</div>
<div>wget http://www.kernel.org/pub/software/scm/git/git-1.6.0.4.tar.gz</div>
<div>
<div>tar -zxvf git-1.6.0.4.tar.gz</div>
<div>cd git-1.6.0.4</div>
<div>make prefix=/usr/local all</div>
<div>make prefix=/usr/local/ install</div>
</div>
<div>git &#8211;version</div>
</blockquote>
<div>And git manpages:</div>
<blockquote>
<div>cd /usr/local/src<br />
wget http://www.kernel.org/pub/software/scm/git/git-manpages-1.6.0.4.tar.gz<br />
cd /usr/local/share/man<br />
tar -zxvf /usr/local/src/git-manpages-1.6.0.4.tar.gz</div>
</blockquote>
<div>
<p><span style="text-decoration: underline;"><strong>YASM</strong></span></p>
<p>YASM is a modular assembler, it is required by the x264 package.</p>
<blockquote><p>cd /usr/local/src/<br />
wget http://www.tortall.net/projects/yasm/releases/yasm-0.7.0.tar.gz<br />
tar zfvx yasm-0.7.0.tar.gz<br />
cd yasm-0.7.0<br />
./configure<br />
make &amp;&amp; make install<br />
cd ..</p></blockquote>
</div>
<div><span style="text-decoration: underline;"><strong>X264</strong></span></div>
<blockquote>
<div><span style="text-decoration: underline;"><strong><br />
</strong></span>cd /usr/local/src/</div>
<div>git clone git://git.videolan.org/x264.git<br />
cd /usr/local/src/x264<br />
./configure &#8211;enable-shared &#8211;prefix=/usr<br />
make &amp;&amp;  make install<br />
ls -s /usr/local/lib/libx264.so /usr/lib/libx264.so</div>
</blockquote>
<div>
<div><span style="text-decoration: underline;"><strong>Essential Codecs</strong></span></div>
<blockquote>
<div>cd /usr/local/src/</div>
<div>
<div class="lines">
<div class="line alt1"><span class="content"><span class="block" style="margin-left: 0px;"><code class="plain">wget http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.</code><code class="functions">tar</code><code class="plain">.bz2</code></span></span></div>
<div class="line alt2"><span class="content"><span class="block" style="margin-left: 0px;"><code class="functions">tar</code> <code class="plain">xjvf essential-20071007.</code><code class="functions">tar</code><code class="plain">.bz2</code></span></span></div>
<div class="line alt1"><span class="content"><span class="block" style="margin-left: 0px;"><code class="functions">mkdir</code> <code class="plain">/usr/</code><code class="functions">local</code><code class="plain">/lib/codecs/</code></span></span></div>
<div class="line alt2"><span class="content"><span class="block" style="margin-left: 0px;"><code class="functions">mv</code> <code class="plain">essential-20071007/ /usr/</code><code class="functions">local</code><code class="plain">/lib/codecs/</code></span></span></div>
<div class="line alt1"><span class="content"><span class="block" style="margin-left: 0px;"><code class="functions">chmod</code> <code class="plain">-R 755 /usr/</code><code class="functions">local</code><code class="plain">/lib/codecs/</code></span></span></div>
</div>
</div>
</blockquote>
</div>
<div>
<p>Or all codecs:</p>
<blockquote>
<div>cd /usr/local/src/</div>
<p>wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20100303.tar.bz2<br />
tar xjvf all-20100303.tar.bz2</p>
<div class="line alt1"><span class="content"><span class="block" style="margin-left: 0px;"><code class="functions">mkdir</code> <code class="plain">/usr/</code><code class="functions">local</code><code class="plain">/lib/codecs/</code></span></span></div>
<p>mv  all-20100303 <span class="content"><span class="block" style="margin-left: 0px;"><code class="plain">/usr/</code><code class="functions">local</code><code class="plain">/lib/codecs/</code></span></span></p></blockquote>
<p><strong><span style="text-decoration: underline;">LAME</span></strong></p>
<blockquote><p>cd /usr/local/src/</p>
<p>wget http://downloads.sourceforge.net/project/lame/lame/3.98.4/lame-3.98.4.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Flame%2Ffiles%2F&amp;ts=1285175656&amp;use_mirror=switch<br />
tar zxvf lame-3.98.4.tar.gz<br />
cd /usr/local/src/lame-3.98.4<br />
./configure<br />
make &amp;&amp; make install</p></blockquote>
<p><strong><span style="text-decoration: underline;">OGG</span></strong></p>
<blockquote><p>cd /usr/local/src/<br />
wget downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz<br />
tar zxvf libogg-1.1.3.tar.gz<br />
cd /usr/local/src/libogg-1.1.3<br />
./configure &#8211;enable-shared &amp;&amp; make &amp;&amp; make install<br />
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig<br />
export PKG_CONFIG_PATH</p></blockquote>
<p><strong><span style="text-decoration: underline;">VORBIS</span></strong></p>
<blockquote><p>cd /usr/local/src/<br />
wget downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz<br />
tar zxvf libvorbis-1.1.2.tar.gz<br />
cd /usr/local/src/libvorbis-1.1.2<br />
./configure &amp;&amp; make &amp;&amp; make install</p></blockquote>
</div>
<div><span style="text-decoration: underline;"><strong>Theora</strong></span></div>
<blockquote>
<div>
<div>cd /usr/local/src/</div>
</div>
<div>wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2</div>
<div>tar jxvf libtheora-1.1.1.tar.bz2</div>
<div>cd /usr/local/src/libtheora-1.1.1</div>
<div>./configure &#8211;prefix=/usr <span class="content"><span class="block" style="margin-left: 0px;"><code class="plain">--</code><code class="functions">enable</code><code class="plain">-shared</code></span></span></div>
<div>make &amp;&amp; make installls -s /usr/local/lib/libtheora.so /usr/lib/libtheora.so</p>
</div>
</blockquote>
<div><span style="text-decoration: underline;"><strong>FAAC</strong></span></div>
<blockquote>
<div>cd /usr/local/src/</div>
<div>wget http://downloads.sourceforge.net/faac/faac-1.28.tar.gz</div>
<div>tar zxvf faac-1.28.tar.gz<br />
cd /usr/local/src/faac-1.28</div>
<div>./configure &#8211;prefix=/usr<br />
make &amp;&amp; make install</div>
</blockquote>
<div>
<p><span style="text-decoration: underline;"><strong>FAAD2</strong></span></p>
<blockquote><p>cd /usr/local/src/<br />
wget http:<span class="code-comment">//downloads.sourceforge.net/faac/faad2-2.6.1.tar.gz<br />
tar zxf faad2-2.6.1.tar.gz<br />
cd faad2<br />
autoreconf -vif<br />
./configure –disable-drm –disable-mpeg4ip<br />
make &amp;&amp; make install</span></p></blockquote>
</div>
<div><span style="text-decoration: underline;"><strong>OpenJPEG</strong></span></div>
<blockquote>
<div>cd /usr/local/src/<br />
<span class="content"><span class="block" style="margin-left: 0px;"><code class="plain">wget http://openjpeg.googlecode.com/files/openjpeg_v1_3.</code><code class="functions">tar</code><code class="plain">.gz<br />
</code></span></span><span class="content"><span class="block" style="margin-left: 0px;"><code class="functions">tar</code> <code class="plain">zxvf openjpeg_v1_3.</code><code class="functions">tar</code><code class="plain">.gz</code></span></span><br />
<span class="content"><span class="block" style="margin-left: 0px;"><code class="functions">cd</code> <code class="plain">OpenJPEG_v1_3</code></span></span></p>
<div class="line alt1"><span class="content"><span class="block" style="margin-left: 0px;"><code class="functions">make &amp;&amp;</code></span></span><code class="number"> </code><span class="content"><span class="block" style="margin-left: 0px;"><code class="functions">make</code> <code class="functions">install</code></span></span></div>
<div class="line alt2"><span class="content"><span class="block" style="margin-left: 0px;"><code class="plain">ldconfig</code></span></span></div>
</div>
</blockquote>
<div><span class="content"><span class="block" style="margin-left: 0px;"><br />
</span></span></div>
<div><span style="text-decoration: underline;"><strong>Xvid</strong></span></div>
<blockquote>
<div>cd /usr/local/src/<br />
wget http://downloads.xvid.org/downloads/xvidcore-1.2.1.tar.gz<br />
tar zxfv xvidcore-1.2.1.tar.gz<br />
cd /usr/local/src/xvidcore/build/<span class="code-keyword">generic</span><br />
./configure <span class="content"><span class="block" style="margin-left: 0px;"><code class="plain">--</code><code class="functions">enable</code><code class="plain">-shared</code></span></span><br />
make &amp;&amp; make install</div>
<div>ls -s /usr/local/lib/libxvidcore.so.4.2 /usr/lib/libxvidcore.so.4.2</div>
</blockquote>
<p>Before installing ffmpeg, setup some linking for scripts that look in certain locations for codecs:</p>
<blockquote><p>ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50<br />
ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51<br />
ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49<br />
ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0<br />
ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51<br />
ln -s /usr/local/lib/libavdevice.so.52 /usr/lib/libavdevice.so.52</p>
<p>ln -s /usr/lib/libtheora.so.0.3.10 /usr/local/lib/libtheora.so.0.3.10<br />
ln -s /usr/lib/libx264.so.80 /usr/local/lib/libx264.so.80<br />
ln -s /usr/lib/libtheora.so.0.3.10 /usr/local/lib/libtheora.so<br />
ln -s /usr/lib/libx264.so.80 /usr/local/lib/libx264.so</p></blockquote>
<p><strong><span style="text-decoration: underline;">FFMPEG </span></strong><span style="text-decoration: underline;">(download latest from SVN)</span></p>
<blockquote><p>export TMPDIR=$HOME/tmp<br />
export LD_LIBRARY_PATH=/usr/local/lib/</p>
<p>cd /usr/local/src/<br />
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg<br />
cd /usr/local/src/ffmpeg/</p>
<p><span class="content"><span class="block" style="margin-left: 0px;"><code class="plain">./configure --</code><code class="functions">enable</code><code class="plain">-libfaac </code></span></span><span class="content"><span class="block" style="margin-left: 0px;"><code class="plain">--</code><code class="functions">enable</code><code class="plain">-shared --</code><code class="functions">enable</code><code class="plain">-memalign-hack --</code><code class="functions">enable</code><code class="plain">-gpl  --</code><code class="functions">enable</code><code class="plain">-libtheora --</code><code class="functions">enable</code><code class="plain">-libmp3lame --</code><code class="functions">enable</code><code class="plain">-libopenjpeg  --</code><code class="functions">enable</code><code class="plain">-libvorbis --</code><code class="functions">enable</code><code class="plain">-libx264 --</code><code class="functions">enable</code><code class="plain">-libxvid --</code><code class="functions">enable</code><code class="plain">-nonfree --</code><code class="functions">enable</code><code class="plain">-postproc --</code><code class="functions">enable</code><code class="plain">-avfilter </code><code class="plain">--</code><code class="functions">enable</code><code class="plain">-swscale</code></span></span><br />
make &amp;&amp; make install</p>
<p>ln -s /usr/local/bin/ffmpeg /usr/bin/ffmpeg</p></blockquote>
<p>FFMPEG configure options use 2 x &#8220;-&#8221;.</p>
<p><strong><span style="text-decoration: underline;">MPLAYER</span></strong></p>
<blockquote><p>cd /usr/local/src/<br />
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer<br />
cd /usr/local/src/mplayer<br />
svn update<br />
cd /usr/local/src/mplayer<br />
./configure &amp;&amp; make &amp;&amp; make install</p>
<p>ln -s /usr/local/bin/mencoder /usr/bin/mencoder<br />
ln -s /usr/local/bin/mplayer /usr/bin/mplayer</p></blockquote>
<p><strong><span style="text-decoration: underline;">FLVTOOL2</span></strong><br />
First install Ruby from WHM.</p>
<blockquote><p>cd /usr/local/src/<br />
wget rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz<br />
tar zxvf flvtool2_1.0.5_rc6.tgz<br />
cd /usr/local/src/flvtool2_1.0.5_rc6/<br />
ruby setup.rb config<br />
ruby setup.rb setup<br />
ruby setup.rb install</p></blockquote>
<p><span style="text-decoration: underline;"><strong>YAMDI</strong></span></p>
<blockquote><p>cd /usr/local/src/<br />
wget http://downloads.sourceforge.net/project/yamdi/yamdi/1.4/yamdi-1.4.tar.gz?use_mirror=ufpr<br />
tar zxf yamdi-1.4.tar.gz<br />
cd yamdi-1.4<br />
gcc yamdi.c -o yamdi -O2 -Wall<br />
mv yamdi /usr/bin/<br />
yamdi -h</p></blockquote>
<p><span style="text-decoration: underline;"><strong>INSTALLATION RESULTS</strong></span></p>
<p>mencoder: /usr/local/bin/mencoder<br />
mplayer: /usr/local/bin/mplayer<br />
yamdi: /usr/bin/yamdi</p>
<p>Add these shortcuts to /usr/bin if you need these there by default:<br />
mencoder to /usr/local/bin/mencoder<br />
mplayer to /usr/local/bin/mplayer</p>
<p><strong>SuPHP fix<br />
</strong></p>
<p>With suphp  &#8220;env -i&#8221; is required when executing php scripts.</p>
<p>exec(&#8220;env -i /usr/<em>bin</em>/<em>php </em>&#8221; . $cmd.  &#8216;&gt;/dev/null &amp;&#8217;);</p>
<p><span style="text-decoration: underline;"><strong>MediaInfo</strong></span></p>
<p>http://mediainfo.sourceforge.net/en/Download/CentOS</p>
<blockquote><p>wget http://downloads.sourceforge.net/zenlib/libzen0-0.4.14-1.i386.CentOS_5.rpm<br />
wget http://downloads.sourceforge.net/zenlib/libzen0-devel-0.4.14-1.i386.CentOS_5.rpm<br />
wget http://downloads.sourceforge.net/mediainfo/libmediainfo0-0.7.32-1.i386.CentOS_5.rpm<br />
wget http://downloads.sourceforge.net/mediainfo/libmediainfo0-devel-0.7.32-1.i386.CentOS_5.rpm<br />
wget http://downloads.sourceforge.net/mediainfo/mediainfo-0.7.32-1.i386.CentOS_5.rpm<br />
rpm -vi libzen0-0.4.14-1.i386.CentOS_5.rpm<br />
rpm -vi libzen0-devel-0.4.14-1.i386.CentOS_5.rpm<br />
rpm -vi libmediainfo0-0.7.32-1.i386.CentOS_5.rpm<br />
rpm -vi libmediainfo0-devel-0.7.32-1.i386.CentOS_5.rpm<br />
rpm -vi mediainfo-0.7.32-1.i386.CentOS_5.rpm</p>
<p>ln -s /usr/bin/mediainfo /usr/local/bin/mediainfo</p></blockquote>
<p><span style="text-decoration: underline;"><strong>MP4Box<br />
</strong></span></p>
<blockquote><p>yum -y install freetype-devel SDL-devel freeglut-devel</p>
<p>wget -c http://mirror.ffmpeginstaller.com/source/gpac/gpac-full-0.4.5.tar.gz</p>
<p>tar -xzf gpac-full-0.4.5.tar.gz<br />
cd gpac</p>
<p>./configure &#8211;prefix=/usr/local/cpffmpeg/ &#8211;extra-cflags=-I/usr/local/cpffmpeg/include/ &#8211;extra-ldflags=-L/usr/local/cpffmpeg/lib &#8211;disable-wx &#8211;strip</p>
<p>make &amp;&amp; make lib &amp;&amp;  make apps &amp;&amp; make install lib &amp;&amp; make install</p>
<p>cp bin/gcc/libgpac.so /usr/lib</p>
<p>ln -s /usr/local/cpffmpeg/bin/MP4Box /usr/local/bin/MP4Box<br />
ln -s /usr/local/cpffmpeg/bin/MP4Box /usr/bin/MP4Box</p>
<p>install -m644 bin/gcc/libgpac.so /usr/local/lib/libgpac.so<br />
chmod +x /usr/local/lib/libgpac.so<br />
ldconfig</p></blockquote>
<p><span style="text-decoration: underline;"><strong>neroAacEnc</strong></span></p>
<blockquote><p>wget ftp://ftp6.nero.com/tools/NeroDigitalAudio.zip<br />
unzip NeroDigitalAudio.zip -d nero<br />
cd nero/linux<br />
sudo install -D -m755 neroAacEnc /usr/local/bin</p>
<p>ln -s /usr/local/bin/neroAacEnc /usr/bin/neroAacEnc</p></blockquote>
<p><strong><span style="text-decoration: underline;">uploadprogress</span></strong></p>
<blockquote><p>cd /usr/local/src<br />
wget http://pecl.php.net/get/uploadprogress-1.0.0.tgz<br />
tar -zxvf uploadprogress-1.0.0.tgz<br />
cd uploadprogress-1.0.0<br />
phpize<br />
./configure &amp;&amp; make &amp;&amp; make install</p></blockquote>
<p>Edit /usr/lib/php.ini and add:</p>
<blockquote><p>extension = &#8220;uploadprogress.so&#8221;</p></blockquote>
<blockquote>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 343px; width: 1px; height: 1px;">
<p>ASM is a modular assembler, it is required by the x264 package.</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family: monospace;">codec:$ <span style="color: #c20cb9; font-weight: bold;">wget</span> \
http:<span style="color: #000000; font-weight: bold;">//</span>www.tortall.net<span style="color: #000000; font-weight: bold;">/</span>projects<span style="color: #000000; font-weight: bold;">/</span>yasm<span style="color: #000000; font-weight: bold;">/</span>releases<span style="color: #000000; font-weight: bold;">/</span>yasm-0.7.0.tar.gz
codec:$ <span style="color: #c20cb9; font-weight: bold;">tar</span> zfvx yasm-0.7.0.tar.gz
codec:$ <span style="color: #7a0874; font-weight: bold;">cd</span> yasm-0.7.0
codec:$ .<span style="color: #000000; font-weight: bold;">/</span>configure
codec:$ <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
codec:$ <span style="color: #7a0874; font-weight: bold;">cd</span> ..</pre>
</div>
</div>
</div>
</blockquote>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.videochat-scripts.com/install-ffmpeg-mplayer-flvtool2-yamdi-x264-theora-mp3lame-vorbis-ogg-faac/' addthis:title='Install ffmpeg mplayer flvtool2 yamdi x264 theora mp3lame vorbis ogg faac' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_twitter"></a><a class="addthis_button_tweetmeme"></a><a class="addthis_button_google"></a><a class="addthis_button_facebook"></a><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.videochat-scripts.com/install-ffmpeg-mplayer-flvtool2-yamdi-x264-theora-mp3lame-vorbis-ogg-faac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

