Use Ckplayer to build rtmp video Live app

Source: Internet
Author: User

Video live streaming is the RTMP protocol for video real-time transmission, where the software we use is the Adobe Company's
One is: Flash media Server4 Another is Flash media Live encoder
Both of these software:http://pan.baidu.com/share/link?shareid=256521&uk=1711305891

Installation and construction of Flash Media Server4 see:use Ckplayer and FMS to build rtmp video applications
Connection: Http://www.ckplayer.com/bbs/forum.php?mod=viewthread&tid=227&highlight=RTMP
I'm not going to say much here.

The following is mainly about the use and installation of Flash media Live encoder:
The installation is relatively simple and is not described.

Flash Media Server supports real-time video and audio streaming. Adding Flash Media Live encoder encoded live web broadcast now offers two key benefits: high-quality video support and faster, easier deployment.
Flash Media Live Encoder provides high-quality video directly by using ON2 's V6 encoding.
Flash Media Live Encoder is a full-featured acquisition and encoding application,
Flash Media Live Encoder 3.2 Features:
Menu
Preview display: input (left) and output (right)
Control Panel: Preset selection, video encoding settings, audio encoding settings, output settings (do not display output metadata and encoding logs)
Control buttons: Start and stop
<ignore_js_op>

Make sure that your webcam is properly connected to your computer and is turned on.
Click Start > All Programs >adobe>adobe Flash Media Live Encoder 3.2 launch
The window is divided into two regions: the input and output areas.
Three views: Input video, Output video, and audio are freely controlled.
The Preset has a common preset mode. If there is no fit, you can change the parameters to satisfy you.
You are free to select video and audio devices in the Driver.
Adjust the appropriate video size by using input size and crop.
Use the Volume slider to adjust the volume level of the microphone.
Multi-bitrate rate setting, the award live stream is encoded as multiple devices, capable of running at different bitrate of the streaming device.
At the bottom of the window, you will see the total bitrate, the sum of the audio and video bit rates.

<ignore_js_op>

In the output area, remove stream to Flash Media Server.
Tick save to File and click Browse to open the Save dialog box.
Save the media file to disk.
Click the Green start to start recording.
When you start recording, the panel switches to encodeing Log to display real-time information.
This is to be able to wave in front of the camera, to record a beautiful dance.
You can click Stop to end the recording at any time during recording.
You can also turn off the FMLE and exit the software at any time.
Recording the end of the video you can play, see it, is not very magical.
<ignore_js_op>

Flash Media Live Encoder video Live settings
You can choose Presets, or you can customize
If you want only one video stream, cancel the audio recording.
Tick a bit rate, in fact I prefer to record different sizes and bits at the same time
Tick stream to Flash Media Server in the output area.
If you do not want to record the video at the same time, cancel save to File.
FMS url:rtmp://localhost/live
Stream: The name of the input stream file, if recorded in a multi-bit stream, the%i suffix must be added here, i.e.: filename%i
Confirm that the Flash Media Server service is started. Connect to FMS by clicking Connect
Everything is ready, start recording.
FMLE's encodeing log records recording information.
<ignore_js_op>

Flash Media Live Encoder video Live
You can use Flash Player that you have previously made to play. You can also open http://www.osmf.org/configurator/fmp/
You can set the width of the player and other data, here video Source:rtmp://localhost/live/livestream
If it is multi-bit recording, livestream behind the%i={1,2,3 ...}
Click preview> Play video to start browsing live video.
If you close the stream, go back to FMLE and click Stop to stop.
<ignore_js_op>

Use Ckplayer to build rtmp video Live app

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.