Media Player: Introduction to tcpmp players

Source: Internet
Author: User

**************************************** **************************************** **************************************** ***
Easywave time: 2014.09.06

Category: Media Player-tcpmp playerDescription: reprinted. Please keep the link

NOTE: If any error occurs, please correct it. These are my Learning Log articles ......

**************************************** **************************************** **************************************** ***

I. Introduction to tcpmp

Tcpmp-the core pocket Media Player is a famous PDA media player. The best media playing software in the handheld device can be used to replace any player that comes with the device system. It supports many media formats. In addition, functions can be extended in the form of plug-ins, such as synchronizing subtitles, displaying lyrics, and more media formats.


Ii. tcpmp Functions

Tcpmp is a powerful and open-source multimedia player, which consists of the core framework module (common project) and decoder separator plug-in. Tcpmp has many plug-ins, which are described in combination with several of the most commonly used plug-ins (FFMPEG and Splitter). The interface plug-in implements the tcpmp interface because it has nothing to do with media playback, this part can be completely replaced with your own interface.

  • The FFMPEG project is the main audio/video decoding module of the system. FFmpeg is a complete open-source solution integrating recording, conversion, audio/video encoding and decoding functions. FFmpeg is developed based on Linux, but can be compiled and used in most operating systems. FFmpeg supports more than 40 types of code, including MPEG, DivX, MPEG4, AC3, DV, and FLV, and more than 90 types of decoding such as Avi, MPEG, Ogg, matroska, and ASF. FFmpeg is used in many open-source players. However, the FFMPEG program decoding efficiency is not very high, and the system only uses part of the FFMPEG decoding function. The main directory of FFMPEG contains subdirectories such as libavcodec, libavformat, and libavutil. Libavcodec is used to store various encode/decode modules, libavformat is used to store muxer/demuxer modules, and libavutil is used to store memory operations and other common modules. The system's media file splitter has a separate splitter module. Therefore, libavformat sub-directories are not required. Libavcodec and libavutil keep subdirectories in the FFMPEG directory.
  • The libmad project is used for MP3 file decoding. This project contains two functional modules. One is responsible for parsing the MP3 file format, including mpeg1 audio files (MP1, MP2, MP3, and MPa ), read the audio data of each frame. The other is responsible for decoding mpeg1 audio data, and the decoding code is in the libmad subdirectory. Libmad is an open-source high-precision mpeg1 audio decoding library that supports MPEG-1 (layer I, layer II and layeriii, that is, MP3 ). Libmad provides 24-bit PCM output, which is completely fixed-point computing and is suitable for platforms without floating point support. Using a series of Apis provided by libmad, you can easily decode mp3 data. In the mad. h file under the libmad source code file directory, you can see the vast majority of the database's data structures and APIs. Libmad is a fixed-integer used to simulate decimal computation through integers. The precision can only be ensured to 9th digits after the decimal point (0.00000000372529 of the minimum value greater than 0). Although there is a loss of decoding accuracy, however, the decoding efficiency is greatly improved, especially on embedded devices.
  • The splitter project is used to Parse Multiple audio and video file formats. File formats that can be parsed include ASF media files, video files (AVI, DivX), Windows waveform files (WAV, RMP), and MPEG movie files (mPEG, mpg, MPV ), MPEG4 files (MP4, 3GP, m4a, m4b, and k3g ). The preceding format can be parsed, but the data encoding may not be decoded correctly. It depends on the system decoder.
  • The common project is a core module and an open multimedia playing framework integrating data input, conversion, audio/video decoding, and signal output. This framework does not contain any decode and split functions. These functions are implemented by plug-ins. The core module manages all functional modules and plug-in modules in a tree structure to enable data render, controls the input, conversion, and Output Processes, accepts operations during playback and processes events, and implements some common functions that are frequently used during system operation, for example, inverse Discrete Cosine transformation, memory operations, and multilingual character processing that are frequently used during decoding.
Iii. tcpmp status quoAt present, tcpmp is no longer open-source, and only the source of armv4 version is available. Therefore, there are no armv5 or more advanced versions, and there are more applications in wince, in Linux, there are very few players that are not seen yet. They are very good and excellent players !!
Iv. tcpmp directory ArchitectureShows the directory architecture of tcpmp:
Figure 1: One of the tcpmp directory Architectures
Figure 2: tcpmp directory architecture 2
Can someone transplant it to Linux?


Media Player: Introduction to tcpmp players

Related Article

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.