| How do I specify
the video compression options for @ctiVideoWeb? As we already mentioned, we don't
recommend the usage of AVI files (both raw and re-compressed), unless you are advanced
video programmer and know how to deal with issues like available CODECs, CODEC
installation, etc. AVI files (especially raw AVIs) tend to be MUCH larger, compared to WMV
files. So, unless you really know what to do with the AVIs, leave this property to its
default value. The WMV files the control creates can be played with MS Windows Media
Player and several other players. For more information on WMF in general, please visit www.windowsmedia.com.
The default values for the video files will allow you to create streams for low
quality, low bandwidth (dial-up) users and for medium quality, medium broadband users. You
can alter any of the properties to achieve better quality or lower bandwidth usage.
The default values for both video streams are:
| Parameter |
Stream 1 |
Stream 2 |
| ASFAU_Format |
8 Kbit/sec., 8KHz, Mono |
16 Kbit/sec., 16KHz, Mono |
| ASFVID_Bitrate |
30 Kbit/sec. |
60 Kbit/sec. |
| ASFVID_Width |
160 pixels |
240 pixels |
| ASFVID_Height |
120 pixels |
180 pixels |
| ASFVID_FPS |
15 frames/sec. |
15 frames/sec. |
| ASFVID_Quality |
50 |
50 |
| ASFVID_SecPerKey |
8 seconds |
8 seconds |
What values should I use?
This really depends on what you need to achieve. The resulting file size (in KBytes)
can be calculated (approximately) by using the following formula:
size = (ASFAU_Bitrate + ASFVID_Bitrate + 5) * video_length_in_seconds / 10
If you want to keep the file size small, you'll generally have to keep the ASFAU_Bitrate
and ASFVID_Bitrate property values low. If you do that, you'll need to
keep the ASFVID_Width, ASFVID_Height and ASFVID_FPS
property values low too. This means smaller video with lower quality. On the other hand,
if you (and your visitors) can handle bigger files, you can increase those values and get
a larger, smoother video.
For your audio tracks, you can use any of the following combinations:
| Value |
Meaning |
| 0 |
0
KBit/s | 8 KHz | Mono
(use this entry to
allocate all the avialbale bandwith for video
only) |
| 1 |
5
KBit/s | 8 KHz | Mono |
| 2 |
6
KBit/s | 8 KHz | Mono |
| 3 |
8
KBit/s | 8 KHz | Mono |
| 4 |
8
KBit/s | 11 KHz | Mono |
| 5 |
10
KBit/s | 11 KHz | Mono |
| 6 |
10
KBit/s | 16 KHz | Mono |
| 7 |
12
KBit/s | 8 KHz | Mono |
| 8 |
12
KBit/s | 16 KHz | Mono |
| 9 |
16
KBit/s | 16 KHz | Mono |
| 10 |
16
KBit/s | 16 KHz | Stereo |
| 11 |
16
KBit/s | 22 KHz | Mono |
| 12 |
20
KBit/s | 16 KHz | Stereo |
| 13 |
20
KBit/s | 22 KHz | Mono |
| 14 |
20
KBit/s | 22 KHz | Stereo |
| 15 |
20
KBit/s | 32 KHz | Mono |
| 16 |
22
KBit/s | 22 KHz | Stereo |
| 17 |
32
KBit/s | 22 KHz | Stereo |
| 18 |
32
KBit/s | 32 KHz | Stereo |
| 19 |
32
KBit/s | 44 KHz | Mono |
| 20 |
40
KBit/s | 32 KHz | Stereo |
| 21 |
48
KBit/s | 32 KHz | Stereo |
| 22 |
64
KBit/s | 44 KHz | Stereo |
| 23 |
80
KBit/s | 44 KHz | Stereo |
| 24 |
93
KBit/s | 44 KHz | Stereo |
| 25 |
128
KBit/s | 44 KHz | Stereo |
| 26 |
128
KBit/s | 48 KHz | Stereo |
| 27 |
160
KBit/s | 44 KHz | Stereo |
| 28 |
160
KBit/s | 48 KHz | Stereo |
| 29 |
192
KBit/s | 44 KHz | Stereo |
Important: Please note,
that if you don't use one of the combinations above, the control WILL NOT compress and
upload the video. Make sure, your parameters fit one of the lines in the table above.
For your video parameter, you can use the following guidelines:
Video resolution
(ASFVID_Width x
ASFVID_Height) |
ASFVID_
Bitrate
(Low quality) |
ASFVID_
Bitrate
(Medium quality) |
ASFVID_
Bitrate
(Best quality) |
ASFVID_
FPS |
| 160 x 120 |
24 |
40 |
> 60 |
8-15 |
| 240 x 180 |
40 |
80 |
> 110 |
8-15 |
| 320 x 240 |
60 |
120 |
> 200 |
8-30 |
640 x 480
(usually requires
specialized capture
devices) |
250 |
500 |
> 1000 |
10-30 |
Using the table above and the formula at the top of this page, you can
also project the average filesize. Don't forget, that your visitors will have to upload
this file over their existing internet connection. So even if they are able to capture and
encode a 30 minutes clip at 250Kbit/s., uploading it over a dial-up connection will
take... approximately 4 hours!!!
|