Quote:
Originally Posted by pistacho
Media sizes:
http://en.wikipedia.org/wiki/DVD
and output sizes ...many hours of work and much research
Sample:
Code:
...
size = audio * Video[i_v].duracion;
n_packets = size / (1536-head);
over = n_packets * head;
media -= size;
media -= over;
n_packets = media / 1536;
over = n_packets * 81;
media -= over;
media -= (300 * 8 * Video[i_v].frame_count);
bitrate = (int)(media / (Video[i_v].duracion * 0.9893));
....
|
I used another approach. I calculated hundreds of formulas. Maybe we can share our information sometimes?