Android Digital Video:formats, concepts and optimization Android digital Video formats:mpeg4 H. and WebM VP8h.263 support for older displays
MPEG4 SP
Supported for commercial video (support for commercial videos)
3GP
Google adds support for WEBM in 2.3.3
Version number after video Stream 4.0
Recommend using MPEG-4-H-AVC
WebM Live stream
Android Videoview and MediaPlayer class:video Players
MediaPlayer: In the package Android.media.
Videoview: In package Android.widget, direct subclass of the Android Surfaceview (refer to the book for details).
The Foundation of Digital video:motion, Frames and FPS
Pixels, resolution, aspect ratios, color depth, alpha channels, pixel blending, image compositing, and even data footprint Optimization (similar to the concept of a picture).
Calculate Movie size: Size per frame * frame rate * Time
Digital Video conventions:bit Rates, Streams, SD, and HD
Internet 2.0 IP infrastructure is 1536 Kbits/second (1.5 MBPS, or megabits per second).
A faster data pipe is at least 2048 kbits/s, or 2 mbits/s or 2 MBPS, and video compressed at the higher bit rate exhibits A higher visual quality level. More modern 4G networks claim-be between 3 and 6 mbits/s (3G networks deliver between-kbits/s and 1.5 mbits/s, so, O n average, these'll be 1.5 mbits/s and classified as a medium data pipe).
Digital Video Files for android:resolution Density Targets
dpi:density Pixel Imagery
For digital video, this also includes different target bit rates, so-you can try to fit all of the different device s Creen densities and the different processing power capabilities of Single-core through Quad-core CPU product offerings.
Optimizing Digital Video:codecs and Compression
Decode codec
Professional solution (less than 1000 knives) (professional solution)
Editshare Lightworks (Open source)
Creating Your Video assets:using terragen 3 3D Software
PlanetSide
Creating uncompressed video:using VirtualDub software
VirtualDub Video (Takes a lot of time)
Compressing Your Video assets:using Sorenson Squeeze
from AVI to MP4 (H264) (sample: Compression ratio up to 120:1)
Installing a Video Asset in android:using the Raw Folder
Referencing the Video Asset in Your Android application
"Pro Android Graphics" second section of reading notes