How to convert an image into a play-able TS Stream

Source: Internet
Author: User

Living with you!
Reprinted

Http://blog.csdn.net/livingpark

Living Park

 

This requirement can be achieved using the software film cube, namely, MPEG Video Wizard.

You can download the shared trial version of the software from the Internet and start a Chinese version. Some problems may occur. Many files in different formats cannot be imported normally. You can use the English version v4.0.4.112 after downloading the software.

1. First open the installed movie cube and import the image to be converted (how to import it? You can drag the file to the Left area or the import button marked in the dot to complete the operation. You also need a sound file (I recorded a file as small as possible with a windows recorder, because no sound is needed ).

PS:

Why do audio files need to be converted? If there is no audio file, no TS Stream format exists in the exported file format, as shown below: only these two formats can be selected

After adding the sound, the last one is the TS format we need.

2. Continue. After importing images and audio files, you need to put these files in video track and music track? Drag the import file area from the left to

To the corresponding track area ). As shown in the following figure: video track is marked in red and music track is marked in green.

3. after the file is placed in the corresponding track, there will be a default length, you can use the mouse to drag compression or stretch, because I do not need to sound, so the sound to the shortest (reduce the size of the last generated file ). Of course, if you need an image or sound, you can keep the sound length by default and drag the image to make it and sound length.

At this time, the output window on the upper right side will be previewed. You can click the Forward button to view the playback effect. I don't know why the preview effect is invisible after capturing the image.

4. Set the output. Click the output button:

The output Settings dialog box is displayed,

The first is the General tab, which has many options. You can change the file path (I use the default). The other is to select the file format as TS and the project used (this is the current project, if not, you can add it ).

There are many items on the Video tab, and I have also changed a lot. Change the corresponding parameters as needed. Pay attention to setting the width, height, and frame rate.

There are not many items on the Audio tab, and there is no need for Audio. Two items are changed.

Finally, on the Monitor tab, click Start until the green bar in the middle is complete. Done is displayed, and the ts file is generated. The default suffix is mpg. If you are not satisfied with the final effect, then, redo it to adjust the relevant parameters.

 

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.