In android  i have instance of videoview is video, how to handle this for
calculate percentage?

On Thu, Nov 24, 2011 at 3:51 PM, arun kumar <[email protected]> wrote:

> *Manually calculate the bitrate**
> *The basic bitrate formula is
>
> (*S*ize - (*A*udio x *L*ength )) / *L*ength = *V*ideo bitrate
>
> L = Lenght of the whole movie in seconds
> S = Size you like to use in KB (note 700 MB x 1024*°* = 716 800 KB)
> A = Audio bitrate in KB/s (note 224 kbit/s = 224 / 8*°* = 28 KB/s)
> V = Video bitrate in KB/s, to get kbit/s multiply with 8*°*.
>
> *°8 bit = 1 byte.*
> *°1024 = 1 kilo in the computer world.*
>
> Example
> 90 minutes video, L = 90 x 60 = 5 400 seconds
> 700 MB CD but be sure that if fits use a bit lower like 695 MB, S = 695 x
> 1024 = 711 680 KB
> Audio bitrate, A = 224 kbit/s / 8 = 28 KB/s
>
> (711 680 - (5400 x 28) ) / 5400 = 104 KB/s x 8*°* = 830 kbit/s.
>
>
> WITH REGARDS
> ARUN KUMAR P D
> +91-9663471079
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to