Add flash titles for RM format movies

Source: Internet
Author: User
Tags interface

BT is now popular to download TV dramas or movies, but if there are many episodes, the diversity download is unavoidable, so watch them when there is a manual switch step, always seem a bit troublesome. Of course, you can also make a playlist to solve, but the playlist usually only support the same format files--here is a method, not only can be connected to the N RM files to play, but also in the "title" embedded in a flash, so that the film plays a very professional level:

first, the production of Flash

Use Flash to make a SWF file, depending on the content of the movie. Because it's just an interface, the SWF doesn't have to be complicated--the movie's title is usually a description of the content and the copyright, so at most it's a few layers, and it's a bit of an art base. However, in the production process, please be sure to note two points:

1, it is best to set the size of the SWF file to be equivalent to the movie fragment (each RM file should be the same size?) Of course, this is only for aesthetic reasons and does not affect subsequent playback.

2, must not have any interaction in the SWF file design, otherwise the movie playback will stop because it can not automatically go on, because the RM player is not supported interactive as code.

Ii. Editing of smil files

Open the Notepad software, prepare to edit a text file, or, to be exact, edit a smil file. The role of the Smil file is to coordinate the playback integration of RM and RT (a text playback format with RM). In the operation of this article, the Smil file is the Flash and RM files that are played in sequence. The code listing resembles the following:

< smil>

< head>

< layout>

< region id= "Nemo" left= "0" top= "0"/>

</layout>

< body>

< seq>

< video region= "Nemo" src= "http://www.webjx.com/htmldata/2005-04-15/Title.swf"/>

< video region= "Nemo" src= "no1.rm"/>

< video region= "Nemo" src= "no2.rm"/>

< video region= "Nemo" src= "no3.rm"/>

</seq>

</body>

</smil>

Edit finished, the file with SMI as a suffix to save, and then this SMI file with SWF file and 3 RM files into the same folder, double-click the implementation of SMI files, how to see the effect of playback it?

SMI files played in RealOne, the interface shows Flash titles based on "Finding Nemo"
third, Code interpretation

In fact, it doesn't matter if you don't understand the code, as long as you remember where the RM files and SWF files appear in your code, and other code can be copied--in a smil file, there are only a few places that need to be edited manually.
  
1, < region id= "Nemo" left= "0" top= "0"/> parameter defines the location where the SWF file is played, where the upper-left corner of the player is defined.

2, <seq> tag pairs embedded in the need to play the name of the file. In this case, http://www.webjx.com/htmldata/2005-04-15/Title.swf is the SWF file that was just made, and NO1.RM code is the name of the RM file. You can, of course, reverse their order. As for players that play SMI files, they can be RealPlayer or realone that support RM file playback.

Read the introduction of this article is not a lot of learning a trick. In fact, only RM-formatted files are not necessarily available for this method, and you can experiment with other formats as long as the player supports it. As long as you can think of it, you must do it:

  Little knowledge: About SMIL

SMIL is a subset of XML, translated into Chinese is "synchronous multimedia integration language." In the application of network editing, SMIL is mainly used to provide an environment that can integrate sound, image, text and picture to achieve the goal of synchronous playback. More detailed information about SMIL can be accessed from the Web site of the consortium.



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.