This section describes new features available through AVI2, including broadened codec availability, expanded Windows 64-bit compatibility, and Real-Time (RT) target support.
Built-In Codecs and Codec Support Through Microsoft's Video Compression Manager
Through AVI2, on Windows any codec that is compatible with Microsoft's Video Compression Manager is available to the user. This means that the codecs recognized by Windows are recognized by NI Vision products as well.
In addition, on any system that supports AVI2 (both Windows and Real-Time), the following codecs are packaged with Vision Development Module and Vision Acquisition Software. You will see these codecs on every machine with AVI2 functions installed.
- FF Video Codec 1
- Motion JPEG
- Y800 Uncompressed
- YUV 4:2:0 Planar
Note that the Quality input in IMAQ AVI2 Create.vi is only implemented for Windows codecs, and is not available for these four codecs that install with NI Vision.
To use LabVIEW to see which codecs are available on a machine, run IMAQ AVI2 Get Codec Names.vi, which is located in the Functions palette under Vision and Motion»Vision Utilities»Files»AVI. Note that the native codecs are labeled with "(NI Vision)" as seen in Figure 1 below.
Figure 1. Listing Codecs in AVI2
Expanded Codec Support on Windows 64-bit Machines
Because of the new method by which codecs are detected in AVI2, users have expanded access to codecs installed on Windows 64-bit machines. With AVI2, any codec compatible with Microsoft's Video Compression Manager is available to the user, which eliminates the previous limitation in detecting certain codecs on Windows 64-bit machines. This resolves issue ID 304337.
Real-Time Target Support
With AVI2, certain Real-Time targets can now create and read AVI video files. These targets include the Embedded Vision System (EVS) and the 177x line of NI Smart Cameras.
For Real-Time targets, NI provides the same four codecs with which to create or read videos: FF Video Codec 1, Motion JPEG, Y800 Uncompressed, and YUV 4:2:0 Planar. An AVI file created on Windows with any of these codecs will be readable on Real-Time targets, and vice versa. Keep in mind that on Windows machines, there might be some codecs that NI does not provide that will appear through the Video Compression Manager, and videos generated with these codecs will not be readable on Real-Time targets.
AVI2 is not available for the following devices:
- The following NI Smart Cameras: 1722, 1742, 1744, 1762, 1764
- NI CVS 145X (Compact Vision System)
- In general, any target running VxWorks