-
Play Live Streaming Video in Your Customized RTMP FLV Player on Site
Posted on February 10th, 2010 8 commentsI. Term Interpretations You May Want to Know:
Streaming Media are multimedia that are constantly received by, and normally presented (the term “presented” is used in a general sense that includes audio or video playback) to, an end-user while being delivered by a streaming provider……from Wikipedia
RTMP (Real Time Messaging Protocol) is a proprietary protocol developed by streaming provider Adobe Systems, for streaming audio, video and data over the Internet, between a Flash player and a server……from Wikipedia
Moyea RTMP Stream Plugin, developed by Moyea Software, is capable of playing live streaming videos, SMIL presentations, and streaming videos from kinds of RTMP servers in RTMP FLV player customized by Moyea Web Player……from playerdiy.com.
The combination of above 3 concepts comes the topic of this article: how to play LIVE streaming video imported from RTMP stream plugin in customized RTMP FLV player on site.
II. Typical Cases it May Apply but not only Limit to:
A. You have a webcam and you want to show whatever it’s capturing live via RTMP FLV player on internet.
B. Your friend has a DV recorder and he wants to display everything it’s recording live via RTMP FLV player on internet.
III. Essential Programs You have to Have:
1. Flash Media Server 3.5 (FMS)
Download here2. Flash Media Live Encoder 3 (FMLE)
Download here3. Moyea Web Player and Moyea RTMP Stream Plugin
Click here and here to downloadIV. Let’s Do It!
Step 1: Make sure your webcam or DV recorder is attached to computer and working.
Step 2: Install FMS in your server and launch it afterwards. Usually it operates at background rather than at desktop, but you can easily check its working status from “Control Panel” → “Administrative Tools” → “Services”.

Note: We will have an upcoming article soon introduces the solution of how to implement live streaming video playback in case your server is not accessible from local.
Step 3: Install FMLE in your computer and have a glance at the launch interface below.

Input area on the left, where it receives datas from camera and you can customize video and audio settings. Output area on the right where you can stream those datas to FMS and set other output-relative parameters.

Step 4: Click the green “Start” button to begin the video encoding and streaming process. The interface switches to show you the log accordingly like below. Start moving, acting, talking now in front of the webcam or DV recorder.

Step 5: Go back to FMLE interface, you will see the connection between FMLE and FMS is already established. Copy the FMS URL for the next step.

Step 6: Launch Moyea Web Player with Moyea RTMP Plugin installed, paste the FMS URL from the following interface.

Step 7: Proceed to the next RTMP FLV player customization procedures until it’s published. Then it’s time to enjoy the live streaming videos in your own player on any website.
-
Make Youtube Video Auto-Play in MySpace Profile
Posted on July 28th, 2009 34 commentsDo you have a MySpace account? Do you want your MySpace profile to be more attractive and to be browsed by as many people as possible? The last question: do you like youtube by the way?
This article is made by those whose answer is “YES” to the above questions.
The tutorial below contains two parts:
I. Auto-play youtube videos in MySpace profile.
II. Auto-play other videos in MySpace profile.Part I. Auto-play youtube videos in Myspace profile
Step 1: Choose your favorite video from www.youtube.com and then copy the video Embed Code.

Step 2: Add “&autoplay=1” to the embed code after video link.

Step 3: Sign in your MySpace account, click “Edit Profile” from the drop-down menu.

Paste the embed code in the “About Me” section and then click “Save Changes”.

Review your profile now, the video is already there and it’s auto playing, that’s cool!
Part II. Auto-play other videos in MySpace profile.
If you already have some existing flash videos or if you want the flash videos from other video-sharing websites or if you want your own logo on the video, no problem, we can also insert it in your MySpace profile with help from some extra tools. However, it’s easy!
Step 1. Download your preferred videos online with free Leawo Youtube Download.

Step 2: Create a flash video player with content by using Moyea Web Player.

Step 3: Click “Template”, uncheck the box of “Pause at first frame”.

Step 4: Publish the customized player and upload all the published files except index.html to the same folder of the web server and then copy and paste the generated code onto your MySpace profile.

Then, enjoy a more attractive MySpace profile with flash video now.
-
How to Use Multiple Playlists with One FLV (flash video) Player
Posted on July 28th, 2009 26 commentsSome Moyea Web Player users may wonder: Do I have to create flash video players for every webpage to play different videos?
The answer is: Not necessarily! Moyea Web Player offers easier solutions that you only need to create one player, and then embed it onto each webpage to play different videos by linking to different playlist file, or by linking to videos directly.
Only few steps will take you there, let’s have a look:
Step 1: Create a flash video player with Moyea Web Player which I have mentioned in my previous blog or you can kindly refer to the detailed tutorial to learn how.
Step 2: Embed the flash video player onto different webpage to play different videos by linking to different playlist file or linking to videos directly.
Situation A: Link to xml playlist file. The tutorial shows below:
For example: If you want to add the flash video player onto webpage A to play videos in “demo1.xml” playlist file, the embeded code will show as below:

By analogy, if you want to add the player on another webpage to play videos in “demo2.xml” playlist file, the player embed code will show as below:

Note: the only difference is the xml file name and its path, the others remain the same.
Situation B: Link to videos directly, the tutorial shows below:
The flashvars code syntax for linking multiple videos is playerOpts=playListPath*^caption^path^image^clickurl^clicktarget^endurl^styleoftarget^endtarget……*s’
Note:
1. The “…” part means the front code can be duplicated
2. The values of caption (video name), image, clickurl, clicktarget, endurl, styleoftarget and endtarget can be “null” but can’t be “none”For example: If you want to play video1.flv and video2.flv with the player, then the code will show as below:

Note: You can use relative paths or absolute paths to link the videos
-
How to Make FLV Player with Flash Professional 8
Posted on July 23rd, 2009 15 commentsFLV(Flash Video) is a video format which is perfectly supported by Flash Professional 8. This flash maker successfully solved the problem of the huge size of output SWF file that may not be played on Internet after inputting video file to flash. Let’s have a look below on how to make delicate FLV files:
1. How to make FLV files?
Step 1: Open Flash Professional 8 and establish a new flash docment.

Step 2: Input AVI video files(this is the common video format that is frequently used by your DC or DV) that you want to convert to FLV and follow the instructions.

Step 3: Keep the default setting for “Edit” and “Encode”, click “Import video” and
then “Next step” and “Finish” at last to complete the inputting process.
Note: If you don’t have Directshow 9 and QuickTime 6.5 or higher installed in your system, a pop-up window will remind you to do so in order to import AVI successfully. Or, if you want a much easier way to do it, try Moyea Video4Web Converter, it’s free and just a few clicks can complete the conversion from AVI to FLV.
Step 4: Press “Ctrl+L” to open the data base, double click the AVI file just input, open “Embed video property” interface, click “Output” to create a FLV file.
Above 4 steps lead you to convert AVI to FLV successfully and after conversion, you will surprisingly find the final size of FLV is just 541KB, much smaller than the original 23MB AVI. Now you can use it freely on Internet.
2. How to use FLV files?
Step 1: Establish a new flash document, press “Ctrl+F7” to open the “Components” window, drag “MediaPlayback” to the stage from “Media-Player 6-7”.

Step 2: Select “MediaPlayback”, press “Alt+F7” to open “Component Inspector” interface:

Some meanings of parameters in Component Inspector:
File Type: choose FLV as the defined file type, you can also choose to play MP3 file.
URL: specify the path of FLV files, because we put FLV files and Flash files in the same catalog, we only have to specify a file name here.
Control Placement: set the location of play panel.
Control Visibility: set the visibility of play panel.
Step 3: After settings, press “Ctrl+Enter” to test the performance.

Note Again:If you’d like to try something else simply and easy, Moyea Web Player is one of the best choices. With which, creating a flash video player only needs a few mouse-clicks. Enjoy!
-
Introduction of RTMP(Real Time Messaging Protocol)
Posted on July 21st, 2009 9 commentsRTMP is one of the protocols for streaming of Audio/Video exactly using Flash Media Server and Red5. following is the detailed content about it.
What exactly is RTMP and its classifications?
RTMP (Real Time Messaging Protocol)
RTMP is a TCP based propriety protocol developed by Adobe System for the purpose of streaming Audio/Video data between Flash Player and media server.
RTMPT (Real Time Messaging Protocol with Tunnel)
RTMPT is a variation of RTMP which works behind the firewall as well. It works on Port 80 and encapsulate the RTMP data in HTTP request.
RTMPS (Real Time Messaging Protocol Secure)
RTMPS is again a variation of RTMP which works over secure HTTPS connection.
RTMPE (Real Time Messaging Protocol with Encryption)
RTMPE is a new 128 bit encrypted protocol developed by Adobe systems for securing the stream data between flash client and server. It’s lightweight than SSL. It’s a DRM solution from Adobe for flash.
RTMPTE (Real Time Messaging Protocol with Encryption and Tunnel)
RTMPTE is a RTMPE tunneling over HTTP on port 80.
MRTMP (Multiplex Real Time Messaging Protocol)
Multiplex RTMP is a protocol between edge and origin, developed by Red5 for clustering of stream data using Terracotta.
How does RTMP operate?
The raw TCP-based RTMP maintains a single persistent connection and allows real-time communication. To guarantee smooth delivery of video and audio streams, while still maintaining the ability to transmit bigger chunks of information, the protocol may split video and data into fragments. The size of the fragments used can be negotiated dynamically between the client and server, and even disabled completely if desired, although the default fragment sizes are 128 bytes for video and most other data types, and 64-bytes for audio data. Fragments from different streams may then be interleaved and multiplexed over a single connection. With longer data chunks, the protocol would then only carry a one-byte header per fragment, thus incurring very little overhead. In practice however, individual fragments are not typically interleaved. Instead, the interleaving and multiplexing is done at the packet level, with RTMP packets across several different active channels being interleaved in such a way to ensure that each channel meets its bandwidth, latency, and other quality of service requirements. Packets interleaved in this fashion are treated as indivisible, and are not interleaved on the fragment level.
The RTMP defines several channels on which packets may be sent/received, and which operate independently of each other. During a typical RTMP session, several channels may be active simultaneously at any given time. When RTMP data is packetized, a packet header is generated. The packet header specifies, among other things, the id of the channel that it is to be sent on, the timestamp at which is was generated (if necessary), and the size of the packet payload. This is then followed by the packet payload, which is fragmented according to the currently agreed-upon fragment size before it is serialized over the connection. The packet header itself is never fragmented, and its size does not count towards the data in the packet’s first fragment. In other words, only the actual packet payload data is subject to fragmentation.
What players support RTMP?
The most well-known RTMP client is Adobe’s Flash Player which can stream video and audio from RTMP servers. Besides, the open source media player XBMC has acquired preliminary support for playing RTMP streams in its SVN version. Besides, JW player, flow player and Moyea Web Player version 2.0 with the RTMP Stream Plugin support the playback of live streaming videos, SMIL presentations, and streaming videos from RTMP servers.
What is RTMP server software?
Currently, the only full implementation RTMP servers are the Adobe Flash Media Server, Onlinelib VCS Video Communication Server (including iPhone Support), Wowza Media Server and WebORB Integration Server (free and available for .NET, Java and ColdFusion) both commercial and closed source implementations.
There is a reverse engineered open source project called Red5 which aims to produce a feature-complete implementation written in Java. As of October 2007, the majority of the functionality is implemented, although the project is still in the beta stage. OneTeam Media Server has also been announced by ProcessOne.
Some related news?
On 20 January 2009 Adobe announced it will publish the RTMP specification. On 21 May 2009 Adobe filed a DMCA removal request on a Sourceforge-hosted implementation of the protocol. On Monday, June 15, 2009 Adobe released the RTMP Specification, which is designed for high-performance transmission of audio, video, and data between Adobe Flash Platform technologies.
The project is dedicated to driving rich Internet experiences across televisions, personal computers, mobile devices, and consumer electronics. To support this mission, and as part of Adobe’s ongoing commitment to enable Web innovation, Adobe will continue to open access to Adobe Flash technology, accelerating the deployment of content and rich Internet applications (RIAs). This work will include:
Removing restrictions on use of the SWF and FLV/F4V specifications.
Publishing the device porting layer APIs for Adobe Flash Player.
Publishing the Adobe Flash® Cast™ protocol and the AMF protocol for robust data services.
Removing licensing fees - making next major releases of Adobe Flash Player and Adobe AIR for devices free.Sources are from Wikipedia.
-
How to Add Multiple Flash Video Players in One Webpage
Posted on July 16th, 2009 10 commentsOne of our dearest customers once has submitted an article about “how to add multiple flash video players onto one webpage” to our forum, unfortunately we just experienced a terrible break down of our server several days ago and sorry to say we have lost that article.
I’m rewriting here to express our sincere apology and hope other guys shall find this article useful and interesting.
First, Please refer to the detailed tutorial or my previous blog to learn how to create a flash video player with Moyea Web Player.
Then, let’s come back to the topic: how to add multiple flash video players in one webpage?
Suppose there are three videos awaiting in the playlist and you want to use three flash video players to play them respectively, let’s see how:
Flash Video 1: Keep the default “play item” serial number and “flash content” serial number.

Flash Video 2: Change the “play item” serial number from “0” to “1” and accordingly, change the “flashcontent” to “flashcontent1”

Flash Video 3: Analogically, Change the “play item” serial number from “1” to “2” and change the “flashcontent1” to “flashcontent2” as well.
Note: “playerOpts=playItem*0*i” means the player is playing the first video in playlist. Analogically, “playerOpts=playItem*1*i” means the player is playing the second video. The “flash content” serial number also has to be changed accordingly.
For more detailed information about how to edit flash video player wiith code, please visit http://www.playerdiy.com/support/tutorial/play-video-in-new-page.html and http://www.playerdiy.com/support/tutorial/edit-player-with-html.html
-
Add Flash Videos to WordPress Blog
Posted on July 15th, 2009 160 commentsWhatever your reason for wanting to add falsh videos to your WordPress blog or website-maybe you just want to share videos with your friends or want to show some business websites to your potential customers-it’s very easy with WordPress and a couple of other tools.
Tool One: Of course a WordPress account, go to www.wordpress.com and spend 5 minutes to register.
Tool Two: A flash video downloader. If you don’t have any existing flash videos at hand, no worries, you may use this flash video downloader to download flash videos from internet. Here I recommend Leawo Youtube Download
Tool Three: Moyea Web Player. Moyea Web Player is a WYSIWYG(what you see is what you get) program for customizing flash video player for website. It is very easy to use, with it, every single aspect of flash video player can be configured and previewed right away on graphical interfaces with a few mouse-clicks, no any coding needed. And the customized flash video player supports playing flash videos, streaming videos, live videos and SMIL presentations. It is mainly developed for web-designers and video hobbyists to build video sharing sites or add flash videos onto their websites or blogs for playing.
The step-by-step tutorial below teaches exactly how to upload your favorite videos to WordPress blog, let’s have a look:
Step 1: First upload the flash videos that you want to play on your blog or website to a sever (e.g.: upload to blip.tv), and then get the link addresses.
Step 2: Open Moyea Web player from Tool Three and click “Add URL” to input those flash videos’ link addresses which from Step 1.

Step 3: Select a video to edit and all the following features will show in the playlist.
a. Adjust the video order
b. Capture pictures during video playing
c. Rename video
d. Type the address where the video will lead to after playing
e. Type the address where the video will lead to when clicking

Step 4: Click “Template” to preview the webplayer you have created so far. If you don’t like the default player skin, choose another one from the left panel.

Step 5: Click “Option” tab, then “User define area”, choose “none” to remove Embed and URL information on the screen.

Step 6: On “Publish” interface, choose a publish path, and then publish the customized player.

Step 7: Upload all the published files except the index.html file, to the same folder of a web server (you can easily search a free hosting on google). And then copy and past the embed code on the following interface into your blog.

Note: mwplayer.swf is the actual flash video player, and the swfobject.js is an adobe flash object file, you point to them with links.
Then the player with the videos will show on your WordPress blog. Enjoy!


