Flash Media Server
Red5
swfobject:
Basic inline audio record/playback control
Control record and play with Javascript
Student/Assignment Management Layer
FMS solutions document (PDF)
Your IP address is 38.103.63.60.
You are visitor 4863.
Streaming Media Samples:
Streaming MP3 file from FMS:
LOAD
Streaming FLV file from FMS:
LOAD
Streaming MP3 file from Red5:
LOAD
Streaming FLV file from Red5:
LOAD
Record yourself using Red5:
LOAD
Of course Red5 can do video!
LOAD
Record youself on video
LOAD
Source Code for video recorder and player
Leave me a comment:
News/Comments
I liked your site.
Rob Miller
Your comment here:
Your comment here:
Can the code recode the audio to the uncompressed WAV format? Thanks!
Fred
nukerito
nu
lols
Can you please share Red5 server side java codes to record and playback video?
Cristian Rusu
Your comment here:
Hi ,man. Does your flash and sources in this page are open sources? Or they are copyright?
jerry
The red5-Server is running on my local machine (OS X.5) an some of the demo apps work well.
but when i try to run your "Basic inline audio record/playback control" it doesn't work anymore. of course i changed the variables in the .js file and i chose rtmp://localhost/ as file location as well as some self created sub folders. but the recording just isn't being created. the server doesn't create the file. maybe there's something wrong with my folder permissions (already have had this issue with mampp). i'm very new to red5, so maybe it's just a stupid little thing i didn't think of. can you/anybody help?
tim
None of the demos are working for me... on a macbook, with the built in mic and cam.
The red5 record can "hear" me but doesnt record anything. The video ones dont show any video..
Maybe it's just a temporary error!
PY
Hello,
could you tell me the interpret and title of MP3 streamed in FMS and RED5 examples.
Many thanks in advance
Best regards
George
Outi
Response to Udit: No.
Webmaster
If the app directly saves a file on the server side, is there a way to intercept this request to save it in the cloud (eg. Amazon S3) ?
Udit
Your comment here:
Response to Fabrice: the code and information that I have listed here is in the public domain. It's my small contribution to the developer community.
Webmaster
Hi Dennie,
Nice work, nice guides, thanks!
One question: is there any kind of licence on the work you have made available (e.g. GPL, MIT ot whatever on the audioControl component) ?
Thanks, and best regards,
Fabrice.
Fabrice
Reply to Amit: The Flash plugin must have permission to access the system microphone in order to create a recording. The permissions dialog requires the Flash movie to be at least 215x138. Any smaller, and the dialog will not display, and the FLV will not be created.
Webmaster
Hi!
Nice working!!
But in Audio recorder one issue is there.
When I reduce the dimension in html,
Means
var so = new SWFObject("audioControl.swf", "audiocontrol", "200", "150", "9", "#FF6600");
Try this. .
This dimension does not work
.Flv file does not create.
What should be the reason and what should be the solution??
Can you please tell me?
I tried to solve but could not solve it.
I am waiting for your reply.
Amit
Your comment here:
Very good examples with simple explanations, thank you! Perhaps there is something I forgot to read but it took me a while to realise that you use the oflaDemo (with a new directory) on the server side if trying to get your code to work on our own servers. ie. rtmp://localhost/oflaDemo/video-recorder
Glenn
Sorry, the Red5 server was down for a while. It's back up now.
Webmaster
Is your red5 server down? Recording doesn't seem to work from the examples...
Al
Your comment here:
What i need to do if i want to user to save th recorded audio at local machine.
OK
Your comment here:
Your comment here:
Your comment here:
Due to the architecture of FMS/Red5, no "save" function is necessary. See the FAQ below
Webmaster
Hello Dennie, We have downloaded your samples voice recording application. we are trying to connect to our server by giving both URL and Ip in the _root.myServer : "rtmp://nottinghill.llc.msu.edu/recordYourself/video"; but we are not able to connect to our remote server. So please kindly give us any suggestion to overcome this issue.Also want to know how to get the save video file at server. Thanks in Advance.
Rabinarayan
Rabinarayan
Hello Dennie,
We have downloaded your samples voice recording application. we are trying to connect to our server by giving both URL and Ip in the
_root.myServer : "rtmp://nottinghill.llc.msu.edu/recordYourself/video";
but we are not able to connect to our remote server.
So please kindly give us any suggestion to overcome this issue.
Thanks in Advance.
vijay
Wonderfull web site But I need a RED5 FLV RECORDER with a Save button, for save differents FLV´s files.
Tanks!!!!
Plese send me a Mail:
acastellis@gmail.com
Alex
Your comment here:
Hi, I've been searching the web for days and finally found someone who has written clear instructions with excellent source files. Thank you so much, after hitting the submit button I will be hitting the Donate button!
You've saved me several hours of work.
Nick
Response to mitesh:
Actually, no "save" button is needed, because the act of recording with FMS/Red5 creates a file on the server. What you do need is a mechanism for tagging the files with a particular user. That is the responsibility of the "business logic," which runs on another process.
See the "Student/Assignment Management Layer" examples to the left for more information.
Webmaster
Your comment here: hey nice codding. . . but one thing is that, , ,you need a save button. This is the logic most people will use. They record and listen… record again and listen until they decide that the recorded version is fine. After this they should be able to press a SAVE button which in the background will actually save the file on our system . . can you this king of FMS???? if you have any idea mail me on patelmitesh13@yahoo.com waiting for your reply ..
I like your code I have tried this its nice...
mitesh
Response to David: The red5 server is not running FMS. I created an application using the instructions linked to at the left-hand side of this page.
Webmaster
Hi,
This is very helpful! I just got access to FMS 3.
What did you have to do to your FMS directory rtmp://red5.llc.msu.edu/dsh (other than chmod) so that this works?
Thanks again!
David Martin
Source code for video recorder and player has been posted. Files are in Flash 8 format (let me know if you need it in the format for earlier versions of Flash). Enjoy!
Webmaster
I'll put up the source for video recording soon. Check back next week.
Webmaster
do u have source code for video recording i m not able to do it
mikul Gohil
Your comment here:
You aren't an idiot, csbryce. My server was down. Sorry!
Webmaster
I must be an idiot. I cannot get this to record anything.
csbryce
pls say you are ****** are barabar che
bhikha bhai
Response to pedro: Right, thanks. Also, remember that if you're using Red5, the process is different. Use the information on the left under the link "Create an application in Red5"
Webmaster
I did not understand that? produce how?
1. As root, create a directory with this command:
mkdir /opt/macromedia/fms/applications/foobar
Thanks for the good work
pedro
Response to udo: the "dsh" application isn't really an application, it's a directory. If all you need is to be able to record and play back sound, then you need nothing on the server but a directory to hold the sound files. All of the work is done via the Flash app; there is no code on the server side. Cool, eh?
Webmaster
In the "audio record/playback" examples you use a rtmp://red5..../dhs link for recording audio. what is this 'dhs' application and can it be found somewhere on the net? thanks.
p.s. very cool examples, thanks.
udo
Server problems. Everything should be fixed now. Sorry everyone! 12/5/2007
Webmaster
Red5, like Flash Media Server, only streams files (both up and down). The audio and video compression is handled by the Flash plugin.
Webmaster
Thanks for sharing all this information and code! :)
Answering ken's question, here's a way to convert flv to mp3:
http://www.nabble.com/FLV-to-mp3-convertion-t4756223.html
Cheers!
Davide
Does Red5 handle the encoding of the upload video or do the video have to be encoded before it can be pushed in an Red5 application?
Neveo
Hi, thanks for the great code and tutorial.
Can you tell me: how the heck can I convert my FLV audio files into MP3?
I have a .SWF photo application that consumes MP3's via an XML file - but it doesn't know what to do with FLV files.
Is there a way to convert these to MP3 or do I need to create a special player that will play FLV?
Thanks very much
ken
I fixed some minor server problems. Everything should be working now. PLEASE let me know if something doesn't work. Comments on the site are ALWAYS welcome.
Administrator
Looking great! Everything seems to work!
A Fan
FAQ
How do I program a "save" button?
You do not need a save button when recording with FMS/Red5. Files are created by the server through the process of initiating recording.
In other words, if audio has been recorded, that means that there is a file on the server. No separate process of saving is necessary.
The Flash app sets the name of the file to save on the server. The real question should be "how do I tell the Flash app what name to give to the file?"