AVI Library 2.0
for LabVIEW & IMAQ Vision
LabVIEW 6.x, 7.x
Windows2000/XP
Also available for C/C++.
Alliance Vision

This software package is a library for developing applications that allows to read and write images from AVI files, under C/C++, LabVIEW and IMAQ Vision environments. T


Library Functions

 

Software Requirements
- Open an existing AVI file in read mode.
- Create and open an new AVI file in write mode.
- Read a compressed or uncompressed frame from an AVI file.
- Optionally compress and write a frame to an AVI file.
- Lists all the installed codecs.
-
Get informations about an existing AVI file.
- The library is fully compatible with the AVI and OpenDML 2.0 specifications (no 2Gb file size limit, compatible with AVI type 1 and type 2).
To use the AVI Library, your computer must meet the following software requirements:
- Microsoft  Windows  2000, XP operating systems.

- C/C++ Compiler or National Instruments LabVIEW version 6.x, 7.x.
- National Instruments IMAQ Vision version 6.x, 7.x

LabVIEW Vi's

 

C/C++ Functions

AVI  informations Vi's
- AVI-FileInfos.vi
- AVI-GetCodecs.vi

AVI  Read/Write Vi's
- AVI-Open.vi

- AVI-Create.vi

- AVI-Close.vi

- AVI-ReadFrame.vi

- AVI-WriteFrame.vi

Demonstration vi's
- AVI-DemoRead.vi

- AVI-DemoWrite.vi

 

AVI  informations Vi's
- GetFileInfos
- GetNumberOfCodecs
- GetCodecName


AVI  Read/Write Vi's
- OpenFile

- CreateFile
-
CloseFile
- ReadFrame
-
WriteFrame


Supported AVI codecs

  Supported input
 image types
Support 
quality setting ?
Support 
Keyframe rate setting?
Loseless 
compression ?
Output  
Image quality
Uncompressed All No No Yes ****
Indeo® Video 5.10 RGB8, RGB24 Yes Yes No ***
MJPEG compressor RGB32 Yes No Yes (if quality = 100%) ****
DV Video Encoder RGB24 No No No (Resample) **
Codec Cinepak Radius RGB8, RGB24, RGB32 Yes Yes No **
DivX® 5.2.1 Codec RGB24 No No No **
Microsoft MPEG-4 V2 RGB24 No No No ***
Microsoft MPEG-4 V1  RGB24 No No No **
Microsoft RLE RGB8 No Yes Yes (if keyframe rate = 1) ****
Microsoft Video 1 RGB8, RGB565 Yes Yes No *
Microsoft Windows Media Video 9 RGB24 No Yes No ***
XviD MPEG-4 Codec RGB32 No No No **

AVI Codecs benchmark
* Mono 8-bit,  500 frames
each frame is a keyframe, quality at 1.00 (100%).

 

768x576

1024x768

1280x960

Average Compression + Write time / frame (ms)

File size 
(kb)

Average Compression + Write time / frame (ms)

File size 
(kb)

Average Compression + Write time / frame (ms)

File size 
(kb)

Uncompressed 10 216 323 16 384 323 59 1 536 320
Indeo® Video 5.10 150 27 822 344 75 044 363 82 250
MJPEG compressor 36 65 322 112 231 247 158 401 457
DV Video Encoder 20 70 572 31 70 572 40 70 572
Codec Cinepak Radius 180 27 572 812 57 081 1 353 98 254
DivX® 5.2.1 Codec 18 500 37 1 896 46 1 638
Microsoft MPEG-4 V2 18 486 39 2 066 38 2 419
Microsoft MPEG-4 V1 18 598 36 2 165 38 2 429
Microsoft RLE 4 32 323 21 293 967 33 373 959
Microsoft Video 1 65 117 073 131 206 827 162 423 416
Microsoft Windows Media Video 9 53 10 822 110 5 306 150 23 127
XviD MPEG-4 Codec 19 409 46 2 377 49 2 381

* RGB 32-bit,  500 frames
each frame is a keyframe, quality at 1.00 (100%).

 

768x576

1024x768

1280x960

Average Compression + Write time / frame (ms)

File size 
(kb)

Average Compression + Write time / frame (ms)

File size 
(kb)

Average Compression + Write time / frame (ms)

File size 
(kb)

Uncompressed 43 864 322 59 1 536 320 110 2 400 318
Indeo® Video 5.10 150 28 822 363 82 250 588 114 330
MJPEG compressor 41 231 247 158 401 457 266 580 922
DV Video Encoder 26 79 572 40 70 572 53 70 572
Codec Cinepak Radius 210 29 822 1 353 98 254 2 259 153 141
DivX® 5.2.1 Codec 22 521 46 1 638 73 1 672
Microsoft MPEG-4 V2 22 513 38 2 419 69 2 832
Microsoft MPEG-4 V1 21 641 38 2 429 68 2 683
Microsoft RLE 16 166 573 33 373 959 56 549 672
Microsoft Video 1 42 64 822 162 423 416 238 587 558
Microsoft Windows Media Video 9 57 12 072 150 26 127 244 60 626
XviD MPEG-4 Codec 23 419 49 2 381 81 2 426

For more informations, please see the technical manual, available for download on the "Technical support" page.


Home page | Products | Quotation