Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Lossless RGB video recording with avi2

I'm expanding a lossless monochromatic system to RGB, and I'm failing to find a way to get lossless RGB video recording using the IMAQ AVI2 library, in Windows 10 64-bit on Labview 2014.

 

I've tried installing Huffyuv and Lagarith such that windows media player can see those codecs, but they don't show up when using 'IMAQ AVI2 Get Codec Names'

 

Any advice would be appreciated.

0 Kudos
Message 1 of 7
(4,574 Views)

I found this thread, where it's claimed that the issue was corrected in Labview 2012 SP1.

http://forums.ni.com/t5/LabVIEW/Missing-Codecs-in-AVI-Compressor-Comparison-Example/td-p/1403208/

 

I'm running 2014 SP1, so I'm surprised to see the issue.

0 Kudos
Message 2 of 7
(4,544 Views)

Just to show what I see in labview, vs windows media player

0 Kudos
Message 3 of 7
(4,538 Views)

According to someone here: http://forums.ni.com/t5/LabVIEW/AVI2-Codecs-and-Video-Formats/td-p/2714105

-They're able to get "Lagarith Lossless Codec" appearing in "AVI Get Filter Names"

-Could there be any installation issue maybe try reinstalling.

Thanks
uday
0 Kudos
Message 4 of 7
(4,518 Views)

Thanks for the link, but even after a reinstall of Labview and Vision, I still only get the minimal codecs/filters listed in my previous post.

 

My work was time critical, so I ended up saving each color channel as a separate "Y800 Uncompressed Grey Scale (NI Vision)" avi.

 

If anyone comes across the same issue, and finds a fix, I'm definitely interested, especially because I haven't been able to get Matlab (where we do our post-processing) to recognise the "Y800 Uncompressed Grey Scale (NI Vision)" format, so we have to convert to tiff stack using ImageJ first. Rather frustrating, especially with split color channels now. I was hoping lagarith or huffyuv would work.

0 Kudos
Message 5 of 7
(4,494 Views)

55 months later and we are also experiencing this issue. Running a W10 64-bit machine with LabView 2019 and 2020, we are not able to have the 'IMAQ AVI2 Get Codec Names' - VI (located in "Vision & Motion") show up the Lagarith codec in either of these installations, no matter whether we're using "Run as admin" or not. I'd be really grateful if anyone tried this out. You can download the codec here. Installation is just a few clicks (on a 64-bit OS, both 32-bit and 64-bit codecs will be installed).

 

Any ideas? 

 

Greetings

0 Kudos
Message 6 of 7
(2,343 Views)

I tested LabView, and it appears that when "IMAQ AVI2 Get Codec Name" is trying to find codecs, it always uses an 8-bit paletted format that Lagarith doesn't support, so Lagarith doesn't show up in the list of codec names. It seems to always use this format, even if an RGB input image is provided.

LabView can still use Lagarith if you provide the string "Lagarith Lossless Codec" to the codec input on "IMAQ AVI2 Create", even if it doesn't show up in the list of available codecs. I expect that other codecs that don't show up in the codec list can also be used by providing their long name.

0 Kudos
Message 7 of 7
(2,274 Views)