01-04-2011 03:25 PM
Hi all. I am trying to write a program what will compress avi's and as a starting point i had a look at the AVI compressor Comparison Example, but when i run it it is only showing 2 codecs. I have a few installed and they all work fine with windows media player. Am i doing something wrong? Wonder why they are not showing up in the name array output from IMAQ AVI get filter names.vi ? I was hoping to use the Lagarith lossless codec, but so far no luck.
I am running Windows 7 64 bit, Labview 2010 64 bit, with vision toolkit.
Thanks in advance for any help.
01-05-2011 10:09 AM
anyone?
01-05-2011 12:41 PM
Just installed the 32bit version of labview on the same computer and it picks up all the codecs now.... Why wont the 64 bit version of labview pickup the 64 bit codes that i have installed? Very confused.
01-06-2011 09:00 AM
Hey dirtyb,
I will try to recreate this on one of our 64-bit computers. It could be that we need to make a Corrective Action Request (CAR) and send that to R&D. I will post up here if so and let you know the CAR ID.
Ricky
01-06-2011 09:10 AM
Awesome. Let me know what you find. Greatly appreciated!!
For now, i can get by using the 32 bit labview on the 64 bit machine, but eventually would be nice to get everything working with the 64 bit codecs i have.
01-07-2011 10:59 AM
Hi dirtyb15,
This is Paul, another applications engineer who will be assisting you while Ricky is out of the office. So I was able to verify that the IMAQ Get Filter names VI doesn't return the Lagarith Lossless Codec. Before I go ahead and file a CAR with R&D I was wondering if there were some other 64 bit codecs that you would like to use that I could test out. I just want to make sure that it applies to all 64 codecs and not just a select few. Thanks for your patience and cooperation!
Paul M
01-07-2011 11:57 AM - edited 01-07-2011 11:58 AM
Hi Paul, thanks for looking into this.
As of right now, thats the only codec i plan on using. I can try and find a few more if you want to try testing them though?
I also use the Huffy codec, but as far as i know its only 32 bit. From my understanding, a 64 bit applicaton cant use a 32 bit codec, so dont think it would work anyway?
Let me know what you find.
Thanks again for the help!
Dave
01-07-2011 12:18 PM
I did have one other question. After i do the compression using any codec, i have no sound. Why is this?
01-10-2011 03:07 PM
Hi dirtyb15,
If you don't mind finding a couple more 64 bit codecs that we could test in order to verify that the issue isn't just with the Lagarith Lossless Codec that would be great. After I conduct those tests with the other codecs I can move forward with the creation of a CAR.
As far as your sound issue, the reason why you have no sound after you do the compression is because the IMAQ AVI VIs are only reading the video data in your program, not the sound data. Therefore, when it reads in the AVI, it doesn't take in the sound information. Consequently, the new compressed version of the video doesn't have the sound attached to it. If you want to have audio played you'll have to get the audio data and combine it back into the avi. I linked a different forum post that describes methods to do this. Thanks for your patience and cooperation.
Thanks,
Paul M
01-10-2011 03:18 PM
Woops, forgot to link to the forum, here it is:
Paul M