Build your own audio and video platform in a Linux Desktop Environment

Source: Internet
Author: User

Video and audio processing has always been an important application of computers in multimedia. Traditionally, it is the world of Unix workstations. BecauseLinuxIs a variant of a Unix operating system. To some extent, it is inherently applicable to the graphic market. At present, most of the market has been divided by Linux workstations. Linux has become a substitute for Unix systems on personal computers and can be used to replace expensive systems. Therefore, using Linux at home can complete some tasks. This article introduces a Linux-based desktop environment that can be created at home.Audio and videoWorkstation.

MainActor is an excellent software used to process videos and audios. It has excellent editing and editing tools for format conversion of animated videos, it also comes with the editing function AVI <--> MPG, MPG <--> AVI, and animation sequence. It can be used for mutual conversion of many file formats, with many filters, the Supported file formats include AVI, FLI, FLC, JPEG, MOV, TGA, GIF, and MPEG-I/Ⅱ. Currently, the latest version can directly capture and process digital camera signals.

As video processing and audio have high requirements on the computer's central processor, display system, and storage system, we should try to provide some high-performance hardware systems. The following uses my hardware configuration as an example to describe how to build a video and audio platform. Hardware configuration: the central processor is AMD Duron 1.1 GB, the memory is 256 mb sdam, the display card is nVIDIA GeForce2 MX 32 MB, the sound card is the innovative PCI 128 digital edition, and the hard disk is the 20GB7200 conversion of the three generations of xijiecoyu, 2 MB cache ). To improve work efficiency, a high-performance hardware system should be provided whenever possible to build a platform based on the Linux desktop environment.

Software Download and preparation

1. Software Download

MainActor software can http://www.mainconcept.com/download RPM packages on its home page, for http://www.mainconcept.com/archive/MainActor-3.6-5.i386.rpm.

2. System Requirements

Software requires kernel Kenerl) at least 2.4. KDE 2.0, Window System XFree86 4.03, desktop resolution at least 800 × 600, Desktop color at least 16 enhanced colors.

The hardware's central processor is Pentium III 450 MHz or above, with a memory of 128 MB, hard disk space of 600 MB, OSS/Linux-compatible sound card, and 16 MB of Display memory.

3. Preparations

Because zlib, Qt, gtk and libpng functions are required during work, make sure to check whether the computer contains the following software before installation: zlib (zlib-1.1.3-xx or above), Qt (Qt-2.0.xx or above) and libpng gtk. The rpm can be used to confirm:

Rpm-qa | grep gtk

Rpm-qa | grep zlib

Rpm-qa | grep qt

Rpm-qa | grep libpng

The detection result is shown in Figure 1.

Figure 1 The module and function library must be installed to run MainActor

Software Installation

Run the following command to install the software:

Rpm-ivh MainActor-3.6-5.i386.rpm

The package management program creates four executable programs in the/usr/local/bin directory, namely mave, maseg, macap, and mahelp. These are the main programs that MainActor processes videos and audios.

Features

The following describes the use of mave and aseg software.

1. mave

Mave is a tool for converting audio, video, and image format files. It is also a multimedia player. MainActor supports JPEG, GIF, BMP, PNG, GIF, PCX, TGA, IFF-ANIMX and MacPICT. MainActor supports audio and video file formats including 8SVX, AIFF, AU, AVI, FLI/FLC, GIF-Anim, MPEG-I/II (MPEG-II optional), MPEG-Audio, PPM/PGM/PBM, Quicktime, and WAV.

There are many tools for converting image formats in Linux. Here we mainly talk about the conversion of audio and video files. MPEG-1 standard ISO/IEC11172), established in 1992, is an international standard for digital storage of motion media images and audio coding for data transfer rates below 1.5 Mbps. It is mainly used to store color synchronous motion Video images in CD-ROM including Video-CD, CD-I, etc. It compresses images with standard resolution (352x240 in NTSC format and 352x288 in PAL format) for SIF standard switching format, and allows 30 frames to be played per second, provides CD (laser recording) sound quality. It is also used for Video Transmission over digital telephone networks, such as asymmetric digital user lines (ADSL), VOD, and education networks. It aims to compress a 221 Mbps NTSC image to 1.2 Mbps with a compression ratio of to 1. MPEG-2 for broadband transmission of images, image quality to television broadcasting and even HDTV Standards. Compared to MPEG-1, MPEG-2 supports a wider range of resolutions and bit rates and will become digital image disk DVDs) and digital broadcast television compression methods. MPEG-2 standard ISO/IEC13818) developed in 1994, is for 3 ~ The international standard for motion images and audio companion codes developed at a data transfer rate of 10 Mbps. MPEG-1 and MPEG-2 apply to VCD and DVD respectively. When creating a VCD, you often need to convert the AVI file into an MPEG file before burning it. Next I will explain how to convert an AVI file into a MPEG-1 file.

1) open a new AVI (Audio Video Interleaved) file and preview the image and sound before conversion. Because MainActor is also a multimedia player that supports many formats. See figure 2.

2) Conversion format. Click Save in the toolbar, as shown in figure 3. Select MPEG-1 format, PAL encoding, sampling frequency 44 KHz, playing 25 frames per second, the file output length is 352x288mm. After setting the parameters, click "Save" to generate a file name and storage directory. I use the above parameters to convert a 23 MB AVI file, around 7 minutes 40 seconds, the speed is relatively fast, the generated MPEG-1 Format File image and audio is not distorted, the video compression rate is 26: 1, and the quality is relatively high. In addition, the above process is completely reversible, from the MPEG-1 format can be converted to AVI, QuickTime and other formats.

Figure 2 MainActor is a multimedia player

2. maseg

Maseg is a multimedia editor used to synthesize multiple multimedia files, as shown in figure 3.

Figure 3 powerful multimedia Editor

(1) Main Menu and shortcut buttons. The main menu includes five sub-menu options: File, Edit, Object, View, and Help.

(2) The main menu is a set of toolbar, including adding images, fonts, colors, videos, sounds, irregular graphics to the timeline.

(3) In the multimedia file preview window, preview the file before saving it.

(4) Timeline) divides time into many small pieces, each representing? Recover J Ben Yi's system to take the "Xiao jie. ?

(5) 2D and 3D symbol browsers.

(6) Timeline playback controller.

Here is an example:

Right-click the timeline and select the third item to add 2D characters to the timeline, as shown in figure 4.

Figure 4 Add 2D characters to the timeline

In the next frame of the timeline, click the "Inset oscillatoscope" button in the toolbar to add an oscillating symbol to the timeline. In the audio/video preview window, you can see its shape, as shown in Figure 5.

Figure 5 preview of the oscillator in the timeline

Right-click the next frame in the timeline and select the second item to add a multimedia file to the timeline.

Select the Conversion Tool mave for audio, video, and image format files to generate MPEG-1 files.

Preview the newly generated file and click "Play" of Timeline Player, as shown in figure 6.

Figure 6 preview the newly generated file

After the preview is complete, click "Save" in the "File" menu to Save the File to a folder as a Project.

Linux is a real preemptible multi-task, multi-thread, multi-user operating system. It has advantages in both cost and technology in building an audio/video platform. By introducing the use of the main software modules mave and maseg in MainActor, a low-cost audio and video work platform can be established in the Linux desktop environment.

By introducing the use of mave and maseg in MainActor, I am sure you have some experience in setting up an audio and video platform on a Linux Desktop.

  • Linux speed-up guide
  • How to modify Linux host names
  • Unlimited Linux spring in the future
  • Linux shell Introduction
  • Use ubuntu to easily implement Totem
  • Storm audio and video announced the recall of 0.12 billion player software
  • How to easily build HTPC with Intel's new core

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.