Installed Codecs Do Not Show up in the Output of IMAQ AVI2 Get Codec Names

Updated Apr 5, 2023

Reported In

Software

  • LabVIEW

Driver

  • NI-IMAQ

Issue Details

I want to read out all compatible AVI compression codecs currently installed on the computer using the IMAQ AVI2 Get Codec Names VI. When running the VI, some codecs that are installed on my system do not show up in the list.

 

Solution

The IMAQ AVI2 Get Codec Names VI only returns the codecs that are compatible to the Video Compression Manager and are also compatible to the Image referenced in the VIs Image Input.
Codecs that do not support the configured image size or the selected image type will be removed from the output.
Not wiring the Image Input at all will remove all codecs that are incompatible with the default image settings.
See the two pictures below for an example: Increasing the X Resolution from 1920 to 1921 removes two codecs from the list that were compatible to the initial settings.





Additionally, some Codecs are not listed when using the 64-bit version of LabVIEW and are only recognized in the 32-bit version.

Additional Information

In Windows, the installed codecs can be checked in Windows Media Player by going to Help»Info»Information for Technical Support