Copyright © 2012 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
I just got Kaltura and RED5 working with webcam recording. I will be posting a detailed description of how to do so after a meeting I have this morning. Here is my sample video mix added with the Wordpress plugin:
http://blog.dearbornschools.org/webmaster/kaltura-test-video/
I will post the instructions as soon as I can.
If you had been using Kaltura before, you must delete from your database anything related to Kaltura using phpmyadmin or other database tool. If memory serves me correct these are in the wp_options table for your blog. Just delete anything with Kaltura ***BEFORE*** activating the All in one video plugin with your new Kaltura 3.0 setup.
that's great stuff. just going to come across as snooty here, but generally speaking you don't want to run the graphical/desktop software on top of a production server for a variety of reasons
You are probably right. It just makes things easier I guess for noobs like me.
Even better than my instructions you can read the official Kaltura Red5 install here:
http://www.kaltura.org/kaltura-ce-v30-documentation
My instructions for working with the All in One video plugin I think are still valid.
Here is how I got it working on Ubuntu 10.04 server with the Desktop installed:
To setup Red5 I followed this tutorial:
http://www.videochat-scripts.com/install-red5-0-9-on-linux-ubuntu/
I just copied and pasted the commands into a terminal window logged in as "su" sudo su in the command line.
Start Red5 and navigate to the red5 demo page: http://yourserver:5080
Find the link or add /installer/ to your url and install the oflademo application. Leave this terminal window open because if you closing it will stop RED5.
Open a new terminal window to complete the install of Kaltura.
Then I installed Kaltura 3.0 following their setup page and made sure my server had all the necessary requirements:
http://www.kaltura.org/kaltura-ce-v30-documentation
Most of the server requirements were installed using the Synaptic Package installer and activating all the Software Sources under the System >Administration > Software Sources.
Once Kaltura was installed I made changes to the following files under opt/kaltura/web/content/uiconf/kaltura/wordpress
cw_wordpress.xml, cw_wordpress_comments.xml, cw_wordpress_in_se.xml
Change the serverURL and I DID NOT include the :5080 port at the end of the URL. I had done this before and it messed things up.
<id>2</id>
<type>webcam</type>
<authMethodList>
<authMethod>1</authMethod>
</authMethodList>
<moduleUrl>WebcamView.swf</moduleUrl>
<name>Webcam</name>
<logo/>
<customData>
<serverUrl>rtmp://yourserver.org/oflaDemo</serverUrl>
</customData>
<media>
<type>video</type>
</media>
</service>
Then in the same folder I modified the se_wordpress.xml file to disable uploading of media from the kaltura editor window by adding this line as seen below
<enableCW>false</enableCW>I did this because no matter what settings you chose in the Wordpress plugin it always shows an "Add Media" button in the kaltura video editor. I would assume you want to be able to control what/who can upload media via the plugin by just making the users upload the media first using the player button before editing the video.<ContributionWizard>
<UIConfigId>504</UIConfigId>
</ContributionWizard>
<Welcome>/swf/simpleeditwelcome.swf</Welcome>
<enableCW>false</enableCW>
<DefaultTransition>None</DefaultTransition>
<UIConfigList>
<UIConfig>
<target>simpleeditor.swf</target>
<cssUrl>/content/uiconf/kaltura/styles_SimpleEditor_default.swf</cssUrl>
<localeUrl>/content/uiconf/kaltura/en_US_SimpleEditor.swf</localeUrl>
</UIConfig>
</UIConfigList>
</SimpleEditor>
Using Ubuntu sudo nautilus from the terminal I navigated to /usr/share/red5/webapps/oflademo. Right click on Streams and change permissions to allow writing to the folder. Then right click again and select "Make Link". Copy the new linked "streams" folder and go to opt/kaltura/web/content and paste the linked folder there. Delete or rename the existing "webcam" folder. Change the name of the linked streams folder to webcam.
Then I downloaded the All in One Video Plugin and modified settings.php in the root of the plugin folder. I changed the following to point to my Kaltura server:
define("KALTURA_SERVER_URL", "http://yourserver.org");
define("KALTURA_CDN_URL", "http://yourserver.org");
I also changed the /admin/kaltura_admin_partner_info_form.php file to point to my Kaltura server so they can login from the wordpress admin page to advanced Video Management by modifying these lines below. The only thing needed to change is the href to point them to your Kaltura server to login. See below.
<tr class="kalturaFirstRow">
<th align="left"><?php _e('Partner ID'); ?>:</th>
<td style="padding-right: 90px;"><strong><?php echo get_option("kaltura_partner_id"); ?></strong></td>
</tr>
<tr>
<th align="left"><?php _e('KMC username'); ?>:</th>
<td style="padding-right: 90px;"><strong><?php echo get_option("kaltura_cms_user"); ?></strong></td>
</tr>
<tr class="kalturaLastRow">
<td colspan="2" align="left" style="padding-top: 10px;padding-left:10px">
<b><a href="http://yourserver.org/index.php/kmc" target="_blank">Login</a> to the Kaltura Management Console (KMC) for advanced <br />media management<br /></b>
Learn More about <a href="http://wordpress.kaltura.org/" target="_blank">new plugin features</a>
</td>
</tr>
</table>
Once all the files were modified, I restarted the Kaltura server. Normally it boots to a graphic login screen on our VMWare. I then hit CTRL+F5 to get the command line login. I login with my main account and start RED5 with the following:
cd /usr/share/red5
sudo ./red5.sh
It runs through it's startup and then stops. At that point I can leave the screen and go to the main graphical login with hitting CTRL+F7.
I logged into my wordpress blog and activated the All in One plugin and registered on my new Kaltura server.
As you can see, the editor and webcam recording is working here as a test (Might not be available or editable as I may lock it down because we are a K-12 school district).
http://blog.dearbornschools.org/webmaster/kaltura-test-video/