Vitamio for Android
You don't need to change anything once 4.x is finally released. But if you want to use it right now, warnnings below:
- 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 addgetHolder().setFormat(PixelFormat.RGBA_8888)
to your own VideoView. - Vitamio 4.1.0 support full version and online version. If you wanna playback online video, you can copy
dist/libarm_online.so
tovitamio/res/raw/libarm.so
, otherwise usedist/libarm_full.so
.
Only few important features are listed here, we have fix many bugs and may introduce some new bugs.
- The latest FFmpeg 2.0 git version, which should fix most playback issues, or bring some issues.
- Support most FFmpeg AVOptions, which enables custom HTTP headers support.
- Support more hardwares, e.g. X86 or MIPS.
- Improve streaming, especially support adaptive bitrate streaming, you need open manually.
- OpenSSL included, so some SSL related protocols, such as https, tls, rtmps, rtmpts, are supported.
- Playback speed control from 0.5x to 2.0x.
- Audio amplify to 2x volume.
- Improved subtitle support, including external bitmap subtitles.
- Cache online video to local storage and can be reused until you delete the cache file.
- More MediaPlayer API, e.g.
getMetadata
,getVideoTrack
. - The full Java code is open to all developers, modify and contribute is welcome.
- Support RGBA_8888 rendering, spport switching RGB_565 or RGBA_8888 to video rendering.
- Enhance the hardware decoding in Android 16+.
- Support ARMV6 CPU, may have some bugs.
Please refer License