Vitamio 4.0
Vitamio 4.0 for Android
Upgrade from 3.0
You don't need to change anything once 4.0 is finally released. But if you want to use it right now, warnnings below:
- If you use RGBA_8888 surface to render video, you use the VideoView from Vitamio, nothing to do. Otherwise, you must add
getHolder().setFormat(PixelFormat.RGBA_8888)
to your own VideoView. If You use RGB_565 surface render video, you must addgetHolder().setFormat(PixelFormat.RGB_565)
andsetVideoChroma(MediaPlayer.VIDEOCHROMA_RGB565)
New features
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 the HLS support.
- 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, and increase the color conversion accuracy and speed.
- Support switching RGB_565 or RGBA_8888 to video rendering.
- Enhance the hardware decoding in Android 16+.
- Support ARMV6 CPU, may have some bugs.
- Support adaptive bitrate streaming, you need open manually.
Requirements
- Reference ZI as Android library project