MCPcopy
hub / github.com/yixia/VitamioBundle

github.com/yixia/VitamioBundle @v4.2.2 sqlite

repository ↗ · DeepWiki ↗ · release v4.2.2 ↗
572 symbols 1,363 edges 40 files 132 documented · 23%
README

Vitamio

Vitamio is an open multimedia framework for Android and iOS, with full and real hardware accelerated decoder and renderer.

Upgrade from 3.0

You don't need to change anything once 4.x is finally released. But if you want to use it right now, warnnings below:

  1. Vitamio support RGBA_8888 and RGB_565 surface to render video, use RGBA_8888 as default. if you use the VideoView from Vitamio, you can use setVideoChroma(MediaPlayer.VIDEOCHROMA_RGB565) to render video. Otherwise, you must add getHolder().setFormat(PixelFormat.RGBA_8888) to your own VideoView.

  2. The dist folder include arm_x86, arm_x86_mips, online_arm, you can select difference arch copy to Vitamio.

New features

Only few important features are listed here, we have fix many bugs and may introduce some new bugs.

  1. The latest FFmpeg 2.0 git version, which should fix most playback issues, or bring some issues.
  2. Support most FFmpeg AVOptions, which enables custom HTTP headers support.
  3. Support more hardwares, e.g. X86 or MIPS.
  4. Improve streaming, especially support adaptive bitrate streaming, you need open manually.
  5. OpenSSL included, so some SSL related protocols, such as https, tls, rtmps, rtmpts, are supported.
  6. Playback speed control from 0.5x to 2.0x.
  7. Audio amplify to 2x volume.
  8. Improved subtitle support, including external bitmap subtitles.
  9. Cache online video to local storage and can be reused until you delete the cache file.
  10. More MediaPlayer API, e.g. getMetadata, getVideoTrack.
  11. The full Java code is open to all developers, modify and contribute is welcome.
  12. Support RGBA_8888 rendering, spport switching RGB_565 or RGBA_8888 to video rendering.
  13. Enhance the hardware decoding in Android 16+.
  14. Support ARMV6 CPU, may have some bugs.

How to use

please see the website

License

Please see License

Google+

Vitamio Developers Community on Google+ http://goo.gl/fhCDTD

Extension points exported contracts — how you extend this code

OnPreparedListener (Interface)
(no doc) [10 implementers]
vitamio/src/io/vov/vitamio/MediaPlayer.java
OnBufferingUpdateListener (Interface)
(no doc) [7 implementers]
vitamio/src/io/vov/vitamio/MediaPlayer.java
OnCompletionListener (Interface)
(no doc) [5 implementers]
vitamio/src/io/vov/vitamio/MediaPlayer.java
MediaScannerClient (Interface)
DON'T TOUCH THIS FILE IF YOU DON'T KNOW THE MediaScanner PROCEDURE!!! [2 implementers]
vitamio/src/io/vov/vitamio/MediaScannerClient.java
OnTimedTextListener (Interface)
(no doc) [4 implementers]
vitamio/src/io/vov/vitamio/MediaPlayer.java

Core symbols most depended-on inside this repo

e
called by 58
vitamio/src/io/vov/vitamio/utils/Log.java
addFileType
called by 37
vitamio/src/io/vov/vitamio/MediaFile.java
i
called by 37
vitamio/src/io/vov/vitamio/utils/Log.java
d
called by 33
vitamio/src/io/vov/vitamio/utils/Log.java
show
called by 24
vitamio/src/io/vov/vitamio/widget/MediaController.java
getPair
called by 22
vitamio/src/io/vov/vitamio/utils/Device.java
getString
called by 21
vitamio/src/io/vov/vitamio/Metadata.java
toString
called by 21
vitamio/src/io/vov/vitamio/MediaFormat.java

Shape

Method 495
Class 60
Interface 17

Languages

Java100%

Modules by API surface

vitamio/src/io/vov/vitamio/MediaPlayer.java135 symbols
vitamio/src/io/vov/vitamio/widget/VideoView.java70 symbols
vitamio/src/io/vov/vitamio/widget/MediaController.java43 symbols
vitamio/src/io/vov/vitamio/MediaScanner.java28 symbols
vitamio/src/io/vov/vitamio/EGL.java26 symbols
vitamio/src/io/vov/vitamio/provider/MediaStore.java19 symbols
vitamio/src/io/vov/vitamio/MediaFormat.java18 symbols
vitamio/src/io/vov/vitamio/utils/Base64.java16 symbols
vitamio-sample/src/io/vov/vitamio/demo/MediaPlayerDemo_setSurface.java16 symbols
vitamio-sample/src/io/vov/vitamio/demo/MediaPlayerDemo_Video.java15 symbols
vitamio/src/io/vov/vitamio/MediaMetadataRetriever.java14 symbols
vitamio-sample/src/io/vov/vitamio/demo/MediaPlayerSubtitle.java13 symbols

For agents

$ claude mcp add VitamioBundle \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact