Our latest ad on youtube, no visitors yet….

October 18th, 2011

http://www.youtube.com/user/red5hosting

In the future we will make videos tutorials about live broadcast and video streaming and we will post it on our youtube channel.
YouTube Preview Image

Red5 security or hiding the rtmp

September 4th, 2011

For each customer we supply on request a rtmp, this rtmp is customized with a random number so that you are the only one who is going to use it, but if you leave your player code visible on the source code of the web page people can steal your rtmp and use it, stealing your resources and bandwidth. Below there are instructions on how to hide and secure your rtmp.

1- Lets create your player first, using the rtmp given to you, go to http://code.google.com/p/swfobject/

2- Download swfobject_generator_1_2_html.zip   or you can download it here.

3- Unzip it and run the index.html file from your desktop.

4- Fill the swfobject path as:

http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js

On the swf file use the adobe strobe, which is a very good player:

http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf

Adjust your player dimensions. Now enter your rtmp and if it is for live broadcast add the stream name to the rtmp.

5- Select dynamic method of embedding and press generate.

6- Copy the code within the set of script tags, where you see the embed function flashvars and then go to

http://www.javascriptobfuscator.com/Default.aspx

see below our video tutorial:

or click here for a larger more visible player.

Using ffmpeg to create a single thumbnail image from a red5 recorded flv file

June 7th, 2011

Below is a simple php code to manipulate with ffmpeg and create a thumbnail image from a recorded flv file. Assuming that we used oflaDemo to record the video and we want the image to be the frame on the 4th second of the video:

<?php

//Set video flv path
$videoFilePath = “/usr/local/red5/webapps/oflaDemo/streams/9.flv”;

//Set Image path
$videoImageFilePath = “/home/username/public_html/test/test.jpg”;

//Set time
$time = ’00:00:04′;

//Execute ffmpeg command
exec(“/usr/local/bin/ffmpeg -i $videoFilePath -an -ss ” . $time . ” -an -r 1 -s qcif -vframes 1 -y $videoImageFilePath “);

?>

Check if exec is enabled on your account, in most of our servers it is disabled, contact support to have it enable in your account, this is done by adding a php.ini file to your account.

admin folder on red5 version 1.0 – Red5 1.0 RC1 setup problem

May 30th, 2011

Setup problem on the new Red5 1.0 RC1 – The admin interface.

On the new version of red5 which came out some weeks ago the admin is not there, it is going to be a plugin this time. to install it, please follow the instructions below:

First of all, you will need to download two files as provided the links below

http://red5.googlecode.com/files/AdminPlugin-1.0.zip

http://red5.googlecode.com/files/admin.jsp

Extract the zip file into the Red5′s plugin folder. And put admin.jsp
inside red5/webapps/root folder.  Restart your Red5 system.
Go to your Red5′s http access to view admin.jsp ( which should be
http://localhost:5080/admin.jsp by default)

If you do see any such errors, then you will need to add/delete some
jars.

Issue: Exception java.lang.ClassCastException:
org.slf4j.helpers.BasicMDCAdapter cannot be cast to
ch.qos.logback.classic.util.LogbackMDCAdapter

Solution: Delete the following jar files below.
com.springsource.slf4j.juli-1.6.1.jar
com.springsource.slf4j.log4j-1.6.1.jar

Issue: Unable to view jsp via http access

Solution: Add these following jar files to plugin folder.
jasper-6.0.18.jar (or newer)
jasper-jdt-6.0.18.jar (or newer)
jasper-el-6.0.18.jar (or newer)

Issue: Unable to create usename and/or password or invalid database.

Solution: Delete the admin folder completely from the root folder of
your disk drive.

Successfully create username and password?  Next step.

Go to http://localhost:5080/demos/adminPanel.html to view your admin panel (exactly
similar to the previous admin panel look alike).

Goldenrod server Update

March 17th, 2011

Hello

The last 2 days the goldenrod is slow and has a high server load, we are not sure what is it, perhaps one of the hard disks needs to be replaced, we have test it and this about 5 hours of downtime, we are thinking of doing this sometime this evening, is that ok?

Please reply to this email with your ideas.

Thank you for your patience.

Warm regards,
Chris Black
Customer Support Manager?