Category Archives: RTMP and video streaming

Options while ordering wowza server

While ordering Wowza Streaming Engine on our billing system there are 4 options:

1- Live streaming, which as it says it is for live streaming or live broadcasts, perfect for broadcasting live events, sports, church events, weddings.

order wowza hosting

2- TV Station,  perfect for TV stations having the option to upload videos and create schedules and playlists schedule at a predetermined time.  At any time this schedule can be interrupted for live broadcasts.

3- Ondemand Streaming, with the option to upload videos and create playlists.

4- Live Camera Restream, used for IP cameras, the output of IP camera is normally RTSP or RTP ( example: rtsp://[camera-ip-address]:554/axis-media/media.amp ).

This format RTP or RTSP is useless for players, by using our wowza server and the Live Camera Re-Stream we convert this signal for playback on all supported player technologies. Some cameras are not supported, please open a ticket and email us the rtsp or rtp for us to check if it works on our wowza servers.

 

testing a red5 live streaming rtmp, plus creating a player for the rtmp

We created an app for live streaming here.

Now we going to test it and create a player code so we can start streaming to our site.

Do you have fmle installed on your computer? You need to download it from adobe.

Lets test it first, go to

http://209.95.39.220/test/

enter the rtmp of your app. the rtmp is

rtmp://server IP/app

so:

rtmp://RED5_SERVER_IP/live221

Enter this URL on the long string and click connect, now click “Publish” your camera will start,  and now click “Play” if the 2 players show the same thing you are on. Everything is good.

OK, now we have to work on “stream name”. We talked about rtmp, and we tested it, the testing site if you go back to it

http://209.95.39.220/test/

it has a stream name, “testing” this must be on both the publishing and on the player.

so it must be on the FMLE and on the player code.

fmle

(click on the image to have a better view)

the FMLE on the left you have your settings, frame per second, bitrate, your camera, format.

on the red5 server your bitrate should be about 320kbps higher then that you need a lot of RAM and server resources.

lets configure the fmle as the image shows.

on the right on the FMS URL enter the rtmp and on the stream enter your chosen stream name, in this case I entered “live” see image.

click connect, and then below click “Start”

you now streaming to your server.

 

Now creating a player for this stream. Go to

http://www.hosting-marketers.com/generator/

at the bottom on the “Streamer” enter the rtmp:

rtmp://RED5_SERVER_IP/live221

and on “Stream / File Name” enter the stream name, which we used on the FMLE, “live”

Click  “Generate Code!”

Take the “Preview & Embed” code, paste on your site and that’s it.

You can also use an image on the player, it will show before the user click to play,  enter the image URL on “Overlay Poster”

Red5 托管

Red5是一个类似于Adobe的Flash媒体服务器或者Wowza媒体服务器的媒体服务器。媒体服务器用于实况转播,视频聊天,会议直播,视频流,也被称为按需流。

使用媒体流服务器的主要好处是:

终端使用者(客户)的好处:

该服务器能够检测客户的连接速度并自动提供最佳视频流。Red5 托管

播放开始较早,用户可以跳至视频的任何部分,而不必等待整个文件下载。

提供者(站长)的好处:

广播直播活动的能力。

提供高级互动内容的能力,如直播聊天,视频会议等。

视频播放更有效率,需要较少的服务器资源和数据传输。

视频文件不是被下载到客户电脑,所以减少内容被盗取的机会。

详细的统计数据,诊断等
red5 托管

自2008年以来,Hosting Marketers就开始提供red5托管和wowza托管,我们拥有长期的经验而且我们的客户支持团队随时待命帮助您设置您的视频聊天或您的直播活动。

如果您需要更多信息,
请通过https://hosting-marketers.com/customers/submitticket.php?step=2&deptid=2 联系我们

或者直接通过http://hosting-marketers.com/ 下订单

Getting Event Cue Points to work with Red5 0.8 and Red5 0.9.1

I’ve written a flash app (in AS3) that streams video to a red5 server (over RMTP of course) and embeds event cue points into the stream. The red5 server is using the OFLA demo that comes with red5, which converts the streams to FLV files. I then have another flash app that reads the FLV (over HTTP in this case not RTMP) and calls a function when an event cue point is reached while playing the FLV.
Now – the code you need to write to ensure that the cue points get properly written into the FLV depends on what RED5 version you are running. The code I’m talking about is the AS3 code in the app that streams the video. When you want to insert an event cuepoint you need to format the “send” function call with the following code (where ns is the netstream object):


For Red5 0.8

ns.send(“onCuePoint”, cueData);

For Red5 0.9.1

ns.send(“@setDataFrame”, ”onCuePoint”, cueData);

And thats pretty much it. And the other thing you need to ensure is that when you are setting up your netconnection, make sure you are using AMF0 encoding. I noticed this is needed for cue points to be added successfully in the right format.

nc.objectEncoding = flash.net.ObjectEncoding.AMF0

Jeremy is the webmaster of http://builderscrack.co.nz

Red5 Webapps Online Application Generator

The Red5 Webapps Online Application Generator is a very simple but effective utility to generate Red5 application online. This application gives you the power to create red5 applications without having any knowledge of programming. You can generate streamer applications, with live broadcasting, streaming, recording and shared-Object capabilities in a single click. No compiling/editing needed.

The application takes configuration inputs using a simple flash based front end, and generated red5 application for you by injecting those informations into a application template at runtime.

The generator is located here Red5/Webapps Application Generator.

How to use:

1. Select a Red5 application from the drop down list of available applications. You can read the description of the application in the description box, once you have selected a application.

2. Then enter the name of your rtmp application in the text input box provided below the application list drop down. (no spaces). This will be the context name that you will connect to : rtmp://server/appname

3. Below the description box, you will find the Stream Directory Path option. Use this to select between absolute/relative path schemes. This will set the location for recording/playing streams using the application. In many cases where you may want the streams directory to be on a location other than the default streams folder under red5, you can use absolute path scheme to specify the path to your custom streams directory.

To select a path scheme select one of the radio buttons .

4. Enter appropriate relative/absolute paths in the text input boxes.

For absolute path scheme on linux file systems , use : /home/……

For absolute path scheme on windows use : c:/…..

* Relative path schemes remain same for linux and windows , though you wont use ../ to traverse backwards in either.

5. Press Generate & Download button to generate the specific application from its application template.

6. Press ok when your are prompted to download your application.

7. You may also want to read the description text to kn ow more about the selected application before generating your own copy.

Keep checking back for newly added Red5 applications at:

http://flashvisions.com/