I Am going to do a DJ'ing gig latter this year and I plan on having it live on my website also. I Am hoping to use the "JW FLV Player" as the player for my users to view the gig live on-line at my website. But in order to make that happen I need a "red5" server. Now I have that sorted. But here is the bit I can't work out. How do get the live content to the "red5" server for it to stream to "JW FLV Player". I Will need some sort of capture software to take the feed from the camera to then send it to the "red5" server.
What software do I use? I Know if I was to use the "Adobe" software. I Would "Adobe Flash Media Live Encoder 3" to capture and "Adobe Flash Media Streaming Server" to do the streaming. ButI am not going to use Adobe. So What would I use instead of "Adobe Flash Media Live Encoder 3"?
You can use the demo app. *SimpleBroadcaster.swf* that comes with Red5. They have an example of it embedded in an HTML page.
Or you can use the JW FLV Media Player with type=camera embedded like a normal player.
Either one will use the Adobe Flash Player to capture the camera output on the client and send it to your Red5 server.
Then you can use the demo app *SimpleSubscriber.swf* or a JW FLV Media Player to display the stream on your clients. Embedded like a normal player. streamer=rtmp://www.mydomain.com/oflaDemo and file=red5StreamDemo or whatever you have named your stream.
Maybe you can help me, I try using my http://66.96.XX.XXX:5080/demos/simpleBroadcaster.html like encoder without problem.
Later I try to see with SETUP WIZARD JW FLV Media Player with an rtmp stream but notning, I put demo in the file but player say "the playlist is not a valid XML file"
Whats is wrong?
One more thing, anybody know how create publishing points for example stream1, stream2, stream3, etc. and limit users and BW?
Hey guys.. I have a website Stealthshot.net. Basically we stream NY sports games for fans that can't watch it. Anyway I am having a hard time getting my stream to the JW player.. If there is someone that is willing to help me that would be greatly appreciated. You can contact me at:
Rikk or Bluewar.. if you guys could possibly help me out. I have been trying to get my live streaming to work for weeks now, but can't seem to figure it out. I've met a bunch of people that know how to do this and that, but I need someone that has personal experience with this. If one of you or someone please message me and help me out. This would be greatly appreciated.
Ed, Im trying make live stream with Flash Media Encoder and play stream in JW.
Until now, nothing, but maybe my problem is type again.
Putting camera in type works without problem, but Im not sure if with this way video is recorded in streams RED5 folder, but works and there (camera option) you can put instead of the camera something like splitcam and put videos.
I Am hoping to use the "JW FLV Player" as the player for my users to view there live video content from web cam at my website.But in order to make that happen in my project web cam catch live content but not work properly in display time.
http://www.12ticks.com/conference.php
Please message me and help me out. This would be greatly appreciated.
helou guys well i m new with red5. tell me how to setup red5 to stream with FME to RED5 and put in my applicateion adres rtmp://my domain/live and stream name. how to do in fme i now but where in red5 i can setup strema adres and its name
how do you stream to with FME to RED5 ?? does anyone has got a tutorial? do i have to have special application instaled on RED5 ? Can creat many streams?
I'm trying to get this sorted out so I can post some demos.
Google "Red5 Live Stream Publishing" for more information.
Live Stream Publishing requires three components:
1) The Publisher The Publisher utilizes a Flash movie to encode the stream from your video source into flash video (Sorenson) and send the stream to the RTMP server. The Flash movie can be a JW FLV Player (up to v4.5.207) with type=camera or the Red5 Publisher demo.
2) A RTMP Server The RTMP Server receives the stream from the Publisher and makes it available for streaming to the clients.
3) Clients The Clients utilize a Flash movie to receive the RTMP stream from the Server and display it. The Flash movie can be any FLV player that can utilize an RTMP stream, such as any of the JW FLV Player versions.
You use the same stream name that you used in your Publisher.
Here's code using a JW FLV Player as a Live Stream Client. The Publisher is the Red5 Live Stream Publisher demo. bc.. <!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
Finally figured it out. The JW FLV Player needs these three flashvars:bc.. 'streamer':'rtmp://www.domain.com/oflaDemo', 'file':encodeURIComponent('livestream?videoKeyframeFrequency=5&totalDatarate=446'), 'type':'rtmp',
Where: *livestream* is the Stream: set in FME. *videoKeyframeFrequency* is the Keyframe frequency set in FME (click on the wrench icon at Format:). *totalDatarate* is the Total bandwidth required to stream: from FME.
<script type="text/javascript"> var so = new SWFObject('/jw/embed/player.swf','mpl','470','290','9'); so.addParam('allowscriptaccess','always'); so.addParam('allowfullscreen','true'); so.addParam('flashvars','&file=encodeURIComponent('live?videoKeyframeFrequency=5&totalDatarate=800'),&type=rtmp&streamer=rtmp://66.96.XXX.XXX/oflaDemo/live'); so.write('player'); </script>
Many thanks for stuff about streaming from camera. With Publisher demo it's ok for me.
But using the FME it doesn't work. When I use FME in FMS URL : rtmp://IP_adress/oflaDemo/. And then in my code for flash player there is line: so.addVariable('streamer', 'rtmp://66.96.XXX.XXX/oflaDemo/live') What stand's for 'live' there? i must use some application called 'live'?
And another one BIG question. I have live broadcasting channels with UDP/RDP multicast and want to use RTMP streaming in my flash client. Have there any support in Red5 for RDP, RTSP or MPEG-TS for incoming streaming of H.264/HE-AAC content (like in wowza for example). And if it's possible, which application can I use to do this?
Hi,*lost* Thank you for reply. But could you check what I'm doing wrong:
*FME side*: FMS URL: rtmp://192.168.1.101/oflaDemo Stream: live Total bitrate: 296 kbit/s
*Client side code*: bc.. so.addVariable('streamer','rtmp://192.168.1.101/oflaDemo'); so.addVariable('file', encodeURIComponent('live?videoKeyframeFrequency=5&totalDatarate=296'));
If I try to check stream in oflaDemo application use: rtmp://192.168.1.101/oflaDemo -- connect but in the 'library' i don't see 'live', just *.flv content (like DarkKnight.flv & IronMan.flv).
By the way i tried many combinations with 'live', but all was failed. Regards
I checked my client:bc.. so.addVariable('streamer', 'rtmp://192.168.1.101/oflaDemo'); so.addVariable('file', encodeURIComponent('livestream?videoKeyframeFrequency=5&totalDatarate=296')); so.addVariable('type', 'rtmp');
<p id='preview'>The player will show in this paragraph</p> <script type='text/javascript' src='swfobject.js'></script> <script type='text/javascript'> var s1 = new SWFObject('player-viral.swf','player','400','300','9'); s1.addParam('allowfullscreen','true'); s1.addParam('allowscriptaccess','always'); s1.addParam('wmode', 'opaque'); s1.addVariable('file', '9'); // you can modify this name in the fla of samplebroadcaster s1.addVariable('type', 'rtmp'); // in order to streaming rtmp live video s1.addVariable('streamer', 'rtmp://219.144.130.165/oflaDemo'); // rtmp url to red5 server s1.write('preview'); </script>
I have been able to get JW player to act as the Flash publisher for both live streams and recorded streams.
The issue is that in some versions of JW player the Camera model is not implemened. Alsi the Camera model that is there (but Disabled) is set to only record not do live stream.
If you have adobe cs3 I can let you know what the changes need to be in order to make it work. I have those changes t version .5 of the player.
If you do not have CS3, I can send you my modified version that is full function for uploading streams.
Hi and thanks all for your knowledge. A bit confused still. I have a publisher demo running in red5 and publishing my webcam. Now trying the JW player but :
.- with your script/html examples i get nothing. .- what port or rtmp url is it supossed to be the one outputted from publisher? why oflademo in sush rtmp example urls if I yet don't have no ofla running at all (at least consciously)
I would like to check with something like mplayer vlc or whatever that my publisher is actually publishing a rtmp stream, but I do not get it :
*oflaDemo* is a demo application that you can install and then use for streaming so you don't have to write your own application.
You can install *oflaDemo* from the demo page of Red5.
http://www.domain.com:5080/index.html
Then you should be able to stream the demo videos from *oflaDemo/streams* using the v5 JW Player with this swfobject code:bc.. 'streamer': 'rtmp://www.domain.com/oflaDemo', 'file': 'IronMan', 'provider': 'rtmp',
Tnx Noodle. My problem is I do not get the client gets the stream. My settings are : .- Red5 with publisher demo running. publisher publishing stream from a camera available at settings device combobox. Stream published is named simply 'livestream' .- I get to open another publisher.swf, connect to the ofla server and so play the formerly published webcam
.- However, from jwplayer with next configuration, I do not even get to see such client is reaching the server to play livestream :
If you want to smash everything together in one unreadable line, then do it like this:bc.. so.addParam('flashvars','file=' + encodeURIComponent('live?videoKeyframeFrequency=5&totalDatarate=800') + '&type=rtmp&streamer=rtmp://66.96.XXX.XXX/oflaDemo/live');
Also, be sure that you copy the correct settings from FME:
*livestream* is the Stream: set in FME. *videoKeyframeFrequency* is the Keyframe frequency set in FME (click on the wrench icon at Format:). *totalDatarate* is the Total bandwidth required to stream: from FME.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>test</title> </head>
<body> <p id='preview'>The player will show in this paragraph</p> <script type='text/javascript' src='swfobject.js'></script> <script type='text/javascript'> var s1 = new SWFObject('player.swf','player','400','300','9'); s1.addParam('allowfullscreen','true'); s1.addParam('allowscriptaccess','always'); s1.addParam('wmode', 'opaque'); s1.addVariable('file', '9'); // you can modify this name in the fla of samplebroadcaster s1.addVariable('type', 'rtmp'); // in order to streaming rtmp live video s1.addVariable('streamer', 'rtmp://219.144.130.165/oflaDemos'); // rtmp url to red5 server s1.write('preview'); </script>
i am willing to pay someone to set up my website with red5. site is hosted on bluehost, but if you can get it dont i am willing to make it worth your while!
now, i'm learning about video chat... i download free sample from http://sourceforge.net/projects/red5chat/... but, i always got problems... can someone give me the tutorial how to make it work.?? any help really appreciated..
Here is my code of test.html page Red 5 is running on localhost I have checked by opening a browser http://localhost:5080/demos/ofla_demo.html
But this code has not worked.Any help would be appreciated. The default Demo application has 4 files in its streams directory named avatar.flv avatar-vp6.flv toystory3.flv toystory3-vp6.flv
<html> <head> </head> <body>
<!-- START OF THE PLAYER EMBEDDING TO COPY-PASTE -->
@tapas – I mean provide a link to your test page here. Please post the link to (www.yoursite.com/my_awesome_test_page.html), so we can take a look at the page to better debug your issue.
I was able to get my videos streamed via oflaDemo application. Initially I was getting the problem because my java scripts and flash players which I was calling were not in servers document root . I was testing on my laptop which was client machine so I did not had any idea to install a web server on my laptop. When I installed a webserver on my laptop for some other experiment I had accidentally kept the pages in its document root and then the HTML pages which contained java scripts to connect to Red5 streams were able to connect more over I found certain flv files which were played in VLC and other media players were not getting played in Jwplayer is there some thing I can do to test this type of thing.
Can any one tell me which version of jw player should I use to activate webcam live stream on my website? I tried Lost's examples (below examples) and it doesn't work!
Also, to be sure that I ve understood the scenario, can you plz also tell me in few steps what should I do to add webcam live stream on my website?
Hi all I used the publisher demo to publish a webcam video. Now I want to have the exact adress of this live stream, in order to extract some information in this stream.
Can you please help me ou here? I am looking for something like "rtmp://localhost/oflaDemo/20105689" where 20105689 is the name of the stream I published.
Using AS3, I am trying to connect to the stream published by olfademo named 20105689, in order to perform some operation on it (the live stream). I need a video URL. Which URL should I use?
I'm trying to use the demo publisher of OflaDemo, I have my red 5 running also the publisher makes connections and show me success I connect my webcam and is recognized by the Publisher but I have a problem with the sound, I already tried several devices but non of them appears in the options to be choose the only options I can see in the part of the sound are Linux sound and no sound.
I'm using ubuntu , can you please help me with this? I really need info regarding this because is related to my graduation project and I have all functional but this is giving me a real hard time.
I've troubles using JW media player to embed live streams in a page.
I have RED5 setted up right I think. I can use publisher to create a video stream from the client camera to another PC in the private network using the oflaDemo applications provided.
I can use FW player to embed video from the flv samples in the oflaDemo (avatar.flv)
I'm not able to show the streaming live video of the cam in FW. Using 'streamer': 'rtmp://192.168.1./oflaDemo', 'file': 'test.flv', 'type': 'rtmp',
where test.flv is the name of the stream in the publisher demo application. I can't see the video in the FW player.
as I read some posts I got that JW Player doesn't support online stream so I want to know that is there any good solution for recording a video or audio without using FME, Flash Media Encoders?