Hi there everyone!

RED5 is an open source flash server written in java. It supports streaming audio, video, recording client streams (FLV only) shared objects, live stream publishing, and remoting. You can find out more about the project here http://osflash.org/red5

I wanted to share this resource with the community because this Red5 project makes a lot of really exciting functionality, usually only accessible with Flash Media Server (FMS) from Adobe, easy to access and develop with.

In my experience of late, I think that enabling the recording of webcams will continue to be a key attractor for sites, and Red5 rbings down deployment costs markedly by simply reducing the license costs for FMS from Adobe.

This is not an advertisement for Red5 or an appeal for modules so much as it is a nice hello and introduction of what seems to be a very viable solution for integrating user generated video in a stable solution.

No everyone will be able to use this software because many shared hosts do not allow streaming servers or 'persistant processes' in shared hosting environments, but with all of the innovation in the last couple of months in the area of using ffmpeg in order to convert video file submissions to flv it seems that more and more complicated processes and cofnigurations are coming into play.

I hope that those interested in user generated video will look at this offering. If there is a developer interested in working on this solution, I will help to see that a reasonable project for integration of Red5 client stream recording functionality is funded for public release.

Comments

davecormier’s picture

This is exactly what I've been looking for. I wonder if we can also plug in a ppt conversion do hickey that would work with JODconverter and then display as something flashy on a website.

I will be working on this for integration into drupal... if anyone is interested.

jefbak2’s picture

Just bumping this back into the world to see if anyone has tried using RED5 with drupal.

chris_car’s picture

I integrated red5 and drupal. I am using red5 for webcam audio and video recording in a current project (will be online soon). I also plan to release a audiovideo recorder module soon.

Btw, I use the services module to create nodes on the fly, from Flash using amfphp.

---
http://meidia.ca

Johannes De Boeck’s picture

Could you please provide a little more info on how you do the connection with Red5?

My goal is to store the results of a Drupal View as a persistent Remote Shared Object (RSO) in Red5, to allow Flash/Flex clients to get this RSO and use the data as dynamic content for the Flash. This way the Flash client doesn't have to wait for Drupal to do the MySQL query and this would speed up the loading of dynamic data provided by Drupal a lot.

I got this working with Flex like this:

First step:
A Flex application does the following:
- get view from Drupal via Services
- store results as a Remote Shared Object in Red5

Second step:
Another Flex application gets this Remote Shared Object in Red5

Now, I would like to eliminate the first step and instead get the results from the View in Drupal directly with Red5 (using Java).
How should I make this connection?

Thanks

chris_car’s picture

I would recommend reading http://sziebert.net/posts/server-side-stream-recording-with-red5/ which is audio and video recording specific and this http://www.joachim-bauch.de/tutorials/red5/MigrationGuide.txt which gives a good overview on red5. And of course there are many more: http://osflash.org/red5/help

To communicate from red5 with drupal directly you have to use the services api from drupal. There are several methods of how to access remote services from within Java; I am sure there is a REST lib available for Java. Or you can directly use Java's RMI lib (remote method invocation) to communicate with the drupal services endpoint.

Hope it helps.

---
http://meidia.ca

HAMMAMI_IMED’s picture

i'am new in developping drupal8 and i want to develop a module for webcam recording with red5.if you have the module for webcam audio and video recording let me see it.thank you.

vermario’s picture

I'm thinking of a way to use red5 in conjunction with the (already excellent in my opinion) Flashvideo module by Travis Tidwell. Flv streaming could be a useful feature.

To accomplish that, you have to run the files through a metadata injector (Yamdi works great), and them stream them out of red5. I already tried with the flv streaming module from lighttpd, but i would like to compare the performance of both systems... anyone tried that?

I will write a tutorial on how to use lighttpd with the flash video module as soon as I find the time! :)

chris_car’s picture

I just finished the video recorder module for Red5. Maybe you are interested. Have a look at http://www.test1212.org
I published the Red5 java code and the Flash 8 video recorder code as well.

Hope I can get some time to publish the module on Drupal soon.

Let me know what you think.

Cheers

UPDATE: Drupal project is set-up: http://drupal.org/project/red5flashserver

---
http://test1212.org
http://meidia.ca

lionstone’s picture

Just a heads up that I am going to be releasing a new drupal-red5 module for D6 shortly, "red5node"
Unlike current offerings this one will be totally open-source, and is geared more towards module developers that want a customizable solution.

The module (still pre-alpha) currently lets you create new webcam nodes and edit them.
- It lets you configure the path to the red5 app you wish to use to save to, so you can write your own red5 apps and use them with this , or just use the default oflaDemo.
- I will provide all source code for the Flex recorder that is meant to be analogous in functionality to the YouTube Recorder, so you can customize it to your heart's content.

Next up I am going to make the recorder work as a field, so you can add it to your custom content types. It will even allow for multiple red5 nodes to be associated with one field. More info coming soon :)

If you want to grab a copy of the pre-alpha sources and test them out just drop me a line.

Otherwise I will repost here with a link once I release the alpha

~ Long live open source software ~
- Ben Lowenstein
Colingo Labs LLC

giorgio79’s picture

Thanks Ben, look forward to this. I especially like the Youtube like recorder feature and the CCK field integration.

lionstone’s picture

Hey giorgio79,
Check out http://benl.com/node/30 ... It is still wayy pre-alpha, though - NOT FOR PRODUCTION SITES YET
Secure version coming soon

lionstone’s picture

I just wanted to let everyone know that I put out a formal alpha release of red5node tonight.

You can record webcam nodes at node/add/red5node
You can edit / re-record the nodes at node/[nid]/edit
You can create a form element that launches the red5node, giving module developers flexibility to be creative with how to implement it. I wrote it for an application that lets you record multiple audio files and attach them to one fieldset.

This release is much more secure than the pre-alpha and has its Drupal API based around AMFPHP & Services. You should be able to use it now for development - I'd love if anyone wants to try it out and give me feedback.

All Flex sources are included so you can customize the player / recorder to your heart's content using the open-source Flex SDK. I'd definitely appreciate any improvements there.

I can set up a repro if people want to share code?

pkumar125’s picture

I am not able to save red5node content
Title is blank
status is always un-publish
Third problem is nothing is comming in view mode.
Add and edit mode can see video but view mode can't see anything, It give blank page in view mode

Please help me to find the problem. I need to do this work urgently.

socialnicheguru’s picture

I just tried the module red5node
1. permissions are not available because of a typo.
Change function red5node_red5node_perms() to red5node_perms
2. the module does not save properly at all

http://SocialNicheGuru.com
Delivering inSITE(TM), we empower you to deliver the right product and the right message to the right NICHE at the right time across all product, marketing, and sales channels.