Use Vitamio to build your Android universal player

Source: Internet
Author: User

PrefaceAlthough Android has built-in Videoview components and MediaPlayer class to support the development of video player, but the support format, performance, etc. are very limited, here with you to use the free Vitamio to build their own Android Universal player!

StatementWelcome reprint, but please keep the original source of the article:) Blog Park: http://www.cnblogs.com farmer Uncle: http://over140.cnblogs.com BodyFirst, to achieve the goal

1.1 Supported formats

Support the Mainstream AV format: mp3/mp4/mkv/avi/3gp/rmvb/mov/flv, etc.

1.2 Support Features

1.2.1 Of course the most important is the playback function, including playback control (play, pause, sound, brightness adjustment, etc.)

1.2.2 can scan the sdcard, display it with a list, can search

1.2.3 can play Network video audio (HTTP, RTSP, MMS)

Ii. Introduction of Vitamio Project

Vitamio is a multimedia framework that supports all Android devices. Vitamio works in the same way as Android's default MediaPlayer, but includes more powerful features! (Note: Vitamio after commercialization of personal free, corporate fees)

2.1 Website

Official Weibo: Http://weibo.com/vitamio

Official website: http://vov.io/vitamio/

2.2 Success Stories

Domestic: Vplayer, Panda av, 321 audio and video, etc.

Foreign: Tvltaliane, Dizi TV, etc.

2.3 Network Protocols

Supports audio and video playback for the following protocols:

* MMS * RTSP (RTP, SDP) * HTTP streaming (progressive streaming)

* HTTP Live Streaming (m3u8), Android 2.1+

2.4 Media formats

Vitamio integrates a number of audio and video decoding packages, some of which are listed here compared to Android's built-in default media format:

* Divx/xvid * WMV * FLV * TS * RMVB * MKV * MOV * M4V * avi * MP4 * 3gp

2.5 subtitles

Vitamio supports displaying some built-in or external subtitle formats:

* SUBRIP (. SRT) * Sub Station ALPHA (. SSAS)/Advanced Sub Station Shift Wiki

* Alpha (.)

* SAMI (. Smi/.sami) * MICRODVD (. sub/.txt) * SubViewer2.0 (. Sub) * MPL2 (. mpl/.txt) * Matroska (. mkv) Subtitle Track

2.6 Other Features

* Background Play * Multi-track support * Multi-subtitle support, including internal or external * multi-platform Processor optimization * Adjustable aspect ratio * Text encoding automatic detection

2.7 Licensing/Authorization (lisences)

Vitamio used the Sevral open source project to thank them.

2.7.1 FFmpeg

The ffmpeg provides a software decoder and multiple outputs (demuxers). Vitamio uses ffmpeg code under LGPLv2.1 license, and the code can be downloaded from here.

2.7.2 Universalchardet (a program that automatically detects page text encoding in Mozilla)

Universalchardet is the Code detection library for Mozilla. Vitamio uses Universalchardet code under the MPL license to detect alphabetic text encoding.

The above is mainly for the official introduction of a simple translation.

Iii. related articles

Mobile Streaming Media Mobile protocol overview. pdf

Developer Guide for Android supported media formats

Android Internet Radio Project

Iv. Maintenance of the article

Vitamio 3.0 Novice Tutorials

End

This series will be followed by the C # video surveillance series after another video-related important series, it is gratifying that Vitamio is developed by the Chinese, has been widely used abroad, there are some, welcome to exchange.

Use Vitamio to build your Android universal player

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.