LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to convert a .mov file to .avi with LabVIEW?

Hello,

I'm interested in working with video files in LabVIEW. One thing I would like to do is convert different video file formats such as .mov to .avi but I can't find any information on converting files in LabVIEW. Does anyone have experience with this or know a library with VIs for this?

0 Kudos
Message 1 of 7
(3,908 Views)

There are just so many free and non free converters in the market. What is your purpose? You want to create an own converter from scratch using LabVIEW? I believe other languages like c++ are much better candidates for this. And seeing the great amount of such software, you would not really gain from creating an extra one (except the learning).

 

If your purpose is just converting a mov file to avi from your LabVIEW application using 3rd party code, can you explain what exactly is your goal? Depending on the video size, the conversion might take considerable time, so you could just do the conversion separately using another software, then use the avi in your LV application. If you really want to initiate the conversion using LabVIEW, I would just pick one conversion software with command line feature, like VLC, and use the "System Exec.vi"...

 

Edit: if you are interested in how such applications are coded, I would look for some which are open source, one example: https://handbrake.fr/downloads.php

0 Kudos
Message 2 of 7
(3,866 Views)

I mostly just want to learn how to do things like this. Knowledge is power, friend.

0 Kudos
Message 3 of 7
(3,836 Views)

@TheStrangeQuark wrote:

I mostly just want to learn how to do things like this. Knowledge is power, friend.


You are in a wrong place if you want to use LabVIEW and this forum to learn about video/audio transcoding, and about codecs. These are very wide topics, but specific as well. I would never imagine anyone to make a video transcoder using LabVIEW, but i might be easily wrong, i am a physicist, not a real programmer (by education at least 🙂 ).

 

By the way, did you try to search for guides? What did you find so far? I just found this question, and one answer seems very detailed: https://stackoverflow.com/questions/2522707/where-to-start-learning-about-audio-or-video-codecs

 

To be able to Google, it is the real power, friend... 😂

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

Hello Blokk or someone,

I need to convert a .mov file to .avi format so that it can be read by the IMAQ AVI2 Open function from LabVIEW. I have tried various codec options for video and audio with the FFmpeg converter, but I cannot find a valid format to view it from LabVIEW, giving the error: "Error opening AVI file. An appropriate codec to process this file might not have been found. Install the codec that was used to create this AVI."

I can view any other .avi video that has been generated with the IMAQ libraries or from the LabVIEW examples.

I've been trying to do this for a project for two months now, but to no avail. I will appreciate if someone can guide me in what codecs should be used.

Thank you very much!

0 Kudos
Message 5 of 7
(1,916 Views)

@Josei wrote:

Hello Blokk or someone,

I need to convert a .mov file to .avi format so that it can be read by the IMAQ AVI2 Open function from LabVIEW. I have tried various codec options for video and audio with the FFmpeg converter, but I cannot find a valid format to view it from LabVIEW, giving the error: "Error opening AVI file. An appropriate codec to process this file might not have been found. Install the codec that was used to create this AVI."

I can view any other .avi video that has been generated with the IMAQ libraries or from the LabVIEW examples.

I've been trying to do this for a project for two months now, but to no avail. I will appreciate if someone can guide me in what codecs should be used.

Thank you very much!


Well I don't know the answer but I can tell you one way to find out... 

 

Use program like Gspot to determine what CODEC the AVI files you can open with LabVIEW use and then use that same CODEC when converting your MOV to AVI.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 6 of 7
(1,902 Views)

Hi RTSLVU, I'll try to do it that way. Thank you very much for the tip!

0 Kudos
Message 7 of 7
(1,872 Views)