Quote:
Originally Posted by twazerty
I noticed this tool a while ago. I was interested in the bitrate calculator so I compared it with my AVCHDCalculator. I was stunned of how close the results are. Most of the time only a couple of kbps different then AVCHDCalculator. Also your Media selection sizes are surprisingly the same as AVCHDCoder's ouput sizes so I thought I'd find AVCHDCalculator in your package. But I couldn't find it. So my question is: how did you do it?
|
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));
....
__________________
BDtoAVCHD - Create an AVCHD disc (DVD5/DVD9/BD25) from a Blu-Ray or HD MKV