Android uses Vitamio to build its own universal player (1)--ready to _android

Source: Internet
Author: User

Objective 

Although Android has built-in Videoview components and MediaPlayer classes to support the development of video players, but support the format, performance and so on are very limited, here with everyone to use the free Vitamio to create their own Android Universal player!

Body

I. Achievement of the goal

1.1 Support formats

Support mainstream video and audio format: mp3/mp4/mkv/avi/3gp/rmvb/mov/flv.

1.2 Support Features

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

1.2.2 can scan sdcard, show it in a list, and 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 is similar to the Android default MediaPlayer, but contains more powerful features! (Note: Vitamio after commercialization of personal free, company charges)

2.1 Web site

Official micro-Blog: Http://weibo.com/vitamio

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

2.2 Success Stories

Domestic: Vplayer, Panda Audio-visual, 321 audio and video, etc.

Abroad: Tvltaliane, Dizi TV, etc.

2.3 Network protocol

Audio and video playback that supports the following protocols:

* MMS
* RTSP (RTP, SDP)
* HTTP streaming (progressive streaming)
* HTTP Live Streaming (m3u8), Android 2.1+

2.4 Media Format

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

* Divx/xvid
* WMV
* flv
* TS
* RMVB
* MKV
* MOV
* M4V
* avi
* mp4
* 3gp

2.5 subtitles

Vitamio support displays some built-in or external caption formats:

* SubRip (. srt)
* Sub Station ALPHA (. SSA)/Advanced sub Station to Wiki
* Alpha (. Ass)

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

2.6 Other Features

* Background Playback
* Multi-track support
* Multi-caption support, including internal or external
* Multi-platform Processor optimization
* Adjustable aspect ratio
* Automatic text encoding

2.7 License/Authorization (lisences)

Vitamio used the Sevral open source project to thank them.

2.7.1 FFmpeg

FFmpeg provides software decoders and multi-channel output (demuxers). Vitamio code can be downloaded from here using the LGPLv2.1 license ffmpeg code.

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

Universalchardet is the Mozilla Code Detection Library. Vitamio uses Universalchardet code under MPL License to detect alphabetic text encoding.

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

  Third, related articles

Mobile Streaming Media Mobile protocol overview. pdf

Developer's Guide Android supported media format

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 and another important series related to the video, it is gratifying that Vitamio is the development of people in foreign countries have been widely used, there are some domestic, welcome to exchange.

The above is a simple introduction to the Android Vitamio, need friends can look down.

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.