CAFxX NMTE Corp. LTD
wABC Advanced Bitrate Calculator v.0.5.1 (1alpha, RC4)


fig.1 - la schermata di wABC 0.5
image 1 - wABC 0.5 GUI

Uso del programma
L'utilizzo di ABC é abbastanza intuitivo. Dopo aver immesso i dati clickare sul tasto accanto al dato desiderato. I tasti eseguono i calcoli dai dati che hanno la stessa etichetta (es. "Sp.C"). La prima sezione (Space criteria) é utile per il classico calcolo del bitrate, la seconda (Quality criteria) consente di calcolare il bitrate partendo dal Quality Index, mentre la terza (Compatibility) verifica la compatibilitá delle dimensioni del frame con il codec e, in caso d'incompatibilitá, calcola le dimensioni piú simili.

Tasto Azione
Disk space - Sp.C Calcola lo spazio necessario su disco partendo dai bitrate e dalla lunghezza.
Audio bitrate - Sp.C Calcola il bitrate disponibile per l'audio partendo dallo spazio su disco, dal bitrate video e dalla lunghezza.
Video bitrate - Qt.C Calcola il bitrate video partendo dalle dimensioni del frame, dal numero di frame al secondo e dal QI.
Video bitrate - Sp.C Calcola il bitrate video partendo dallo spazio sul disco, dal bitrate audio e dalla lunghezza.
Lenght - Sp.C Calcola la lunghezza del filmato partendo dallo spazio su disco e dai bitrate.
Frame width - Fr.P Calcola la larghezza del frame partendo dall'altezza del frame e dal rapporto.
Frame height - Fr.P Calcola l'altezza del frame partendo dalla largezza del frame e dal rapporto.
Frame width/Frame height - Qt.C Calcola le dimensioni del frame partendo dal bitrate video, dal rapporto tra le dimensioni, dal numero di frame al secondo e dal QI.
Frame aspect ratio - Fr.P Calcola il rapporto tra larghezza ed altezza del frame.
FPS - Qt.C Calcola il numero di frame al secondo partendo dal bitrate video, dalle dimensioni del frame e dal QI.
Quality Index - Qt.C Calcola il QI partendo dal bitrate video, dalle dimensioni del frame e dal numero di frame al secondo. Vedi "Quality Index".
Pixel block - Comp.V Verifica la compatibilita' delle dimensioni del frame con il codec. Vedi "Verifica di compatibilitá".

Unitá di misura
Campo Unitá
Disk space KByte
Audio bitrate KBit/sec
Video bitrate KBit/sec
Lenght Sec
Frame width Pixel
Frame height Pixel
Frame aspect ratio :100
FPS FPS
Quality Index Vedi "QI"
Pixel block Pixel

Quality Index (QI)
Il QI é un indice indiretto della qualitá del file video. Esso é ottenuto mediante la formula:

 ABPF = (bitrate / fps) / (fwidth * fheight)
QI = INT (ABPF * 10000)
dove ABPF = Average Bitrate per Pixel per Frame (Bitrate medio per pixel al fotogramma), QI = Quality Index (Indice di qualitá), fps = Fotogrammi al secondo, fwidth = Larghezza del frame in pixel, fheight = Altezza del fotogramma. Il valore del QI non é altro quindi che il numero medio di bit per pixel per frame, moltiplicato per 10000 e arrotondato. Un QI di 2000 corrisponde p.e. ad un flusso video di 1400 KBit/s, 25 FPS, 720 pixel di larghezza e rapporto 1.85:1.

Verifica di compatibilitá
La maggior parte dei codec necessita che le dimensioni del frame siano multiple di un numero n (generalmente 8 o 16 anche se esistono codec che necessitano di 32). La terza sezione verifica che le dimensioni di larghezza e altezza siano multipli di n. In caso contrario vengono fornite delle nuove dimensioni, simili (+/- n-1 pixel), dando prioritá alle proporzioni del frame (Frame Aspect Ratio).

Frame aspect ratio
Il frame aspect ratio e' dato dalla formula:

fratio = fwidth / fheight
In wABC questo dato deve essere immesso in centesimi. P.e. se il formato e' 1.85:1 allora l'aspect ratio sará di 185. Nella stampa compare invece in forma normale.

Stampa dei risultati
Questa funzione stampa tutti i risultati calcolati. Occupa metá A4 o US Letter.

Version history
wABC
> 0.5 (1alpha RC4) Aggiunta la stampa dei dati calcolati.
Eliminato il tasto help.
Creazione di un help file html (questo documento).
Modifiche ad alcuni degli algoritmi di calcolo.
> 0.4 (1alpha RC3) Conversione in ambiente Windows
dABC
> 0.3 (1alpha RC2) Aggiunta della terza sezione del programma per la verifica di compatibilitá.
Eliminata la visualizzazione dell'ora in alto a destra.
> 0.2 (1alpha RC1) Prima versione del programma.

Disclaimer

L'autore non si assume nessuna responsabilitá per danni derivanti dall'uso del programma o per qualsiasi conseguenza derivante dal suo uso. Attenzione! Il programma non é ancora una release definitiva. Benché la maggior parte delle funzioni sia implementata correttamente non é sicuro che tutte diano risultati corretti. Il programma é freeware.

Copyright
(C) 2002 CAFxX NMTE Corp. LTD

Info
www.cafxx.cjb.net
abc@cafxx.cjb.net

Suggerimenti, bug report, ecc.
Potete mandare una mail all'indirizzo riportato sopra. Ringrazio anticipatamente chi vorrá contribuire segnalandomi errori, imperfezioni o possibili migliorie.
Using the program
Using wABC it's pretty simple. Once you typed the values required just click on the button near the value you need. The buttons calculate the desired value from the values that are in the same group (e.g. a button marked Sp.C. calculates the value from the values inserted in the SPace Criteria group). The first group (Space criteria) it's useful for the "classic" bitrate calculation, the second one (Quality criteria) allow you to calculate the bitrate starting from the Quality Index (see "QI"), while the third one (Compatibility) verifies the compatibility of the frame width and height with the codec and, if they're not compatible, calculates the most similar dimensions.

Button Action
Disk space - Sp.C Calculate the necessary disk space from the bitrate and the video lenght.
Audio bitrate - Sp.C Calculate the available audio bitrate from disk space, video bitrate and lenght.
Video bitrate - Qt.C Calculate the video bitrate from frame width and height, fps and QI.
Video bitrate - Sp.C Calculate the video bitrate from disk space, audio bitrate and lenght.
Lenght - Sp.C Calculate the lenght from dsk space and both bitrates.
Frame width - Fr.P Calculate the frame width from the height and the aspect ratio.
Frame height - Fr.P Calculate the frame height from the width and the aspect ratio.
Frame width/Frame height - Qt.C Calculates both frame width and height from video bitrate, aspect ratio, fps and QI.
Frame aspect ratio - Fr.P Calculate the aspect ratio from the frame width and height.
FPS - Qt.C Calculate the fps from video bitrate, frame width and height and QI.
Quality Index - Qt.C Calculate the QI from video bitrate, frame width and height and fps. See "QI" for further information.
Pixel block - Comp.V Check if the frame dimensions are compatible with the codec. See "Compatibility check" for further information.

Units
Field Unit
Disk space KByte
Audio bitrate KBit/sec
Video bitrate KBit/sec
Lenght Sec
Frame width Pixel
Frame height Pixel
Frame aspect ratio :100
FPS FPS
Quality Index See "QI"
Pixel block Pixel


Quality Index (QI)
The QI is an indirect index of the video quality. It's obtained from:

 ABPF = (bitrate / fps) / (fwidth * fheight)
QI = INT (ABPF * 10000)
where ABPF = Average Bitrate per Pixel per Frame, QI = Quality Index, fps = Frame per second, fwidth = Frame width (pixel), fheight = Frame height (pixel). The QI is the average number of bit per pixel per frame, multiplied by 10000 and rounded. A QI of 2000 correspond, for example, to a video stream of 1400 KBit/s, 25 FPS, frame width 720 pixel and aspect ratio 1.85:1.

Compatibility check
Most codec need that the frame dimensions are multiples of n pixel (normally 8, 16 or even 32). This section check if the dimensions are multiples of n. If they're not it changes the frame dimensions, similar to the original ones (+/- n-1 pixel), keeping the aspect ratio as closer as possible to the original one.

Frame aspect ratio
The frame aspect ratio is obtained from:

fratio = fwidth / fheight
In wABC this value must be expressed in 1/100. For example, if the aspect ratio is 1.85:1 then it must be typed as 185. In the result print it's showed in the normal form.

Results print
This function print all the calculated values. It takes half a A4 or US Letter.

Version history
wABC
0.5.1 (1alpha, RC4) Help file translation.
> 0.5 (1alpha RC4)

Added result printing.
Deleted the help button.
Written the help file.
Some changes to the algorithms.

> 0.4 (1alpha RC3) dABC migrates to Windows and become wABC.
dABC
> 0.3 (1alpha RC2) Added Compatibility check.
Minor enhacements.
> 0.2 (1alpha RC1) First version (DOS)

Disclaimer (the English translation is just to help English users. But the only valid disclaimer is the Italian one).

The author has no responsability for damages caused by the program use. Caution! This is not yet a final release. Even if most functions are working correctly, there can be errors. This program is freeware.

Copyright
(C) 2002 CAFxX NMTE Corp. LTD

Info
www.cafxx.cjb.net
abc@cafxx.cjb.net

Suggestions, bug report, ecc.
You can send an e-mail to the above address. I'd like to thank everyone that will help me test the program and report misfunctions or suggestions.