LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

System Exec FFMPEG

Solved!
Go to solution

Hello!

 

I'm trying to merge audio and video previously adquired in labview, and I can do it with the FFmpeg tool by typing

 

"ffmpeg -i video.wav -i video.avi -c copy output.avi" on the FFmpeg console.

 

I would like to do it programatically, so I think I need to use the System Exec Utility. I have tried this:

 

SE_BD.jpg

 

But it does nothing. I think I'm not setting the input line correctly. Do I have to set the command in the Standar Input as I do in the command line from the FFmpeg Console?

I would be greatfull if anybody could help me.

 

Thanks in advance for your time!

 

Guille.

0 Kudos
Message 1 of 4
(3,244 Views)
Solution
Accepted by topic author guerripulli

Hi,

 

Perhaps you could try testing System Exec.vi using simple commands. 

 

Read this link: http://digital.ni.com/public.nsf/allkb/8E19CA81874FFDD786256BE40066C151 , I believe there are 2 screenshots which shows 2 different methods of writing command using system exec. What I can see from your screenshot is that you're using both at the same time. Can you try using the method found in the link (1st screenshot) instead?

 

Here's an example which you can refer to and play around with: https://decibel.ni.com/content/docs/DOC-1109

 

 

Warmest regards,

Lennard.C

Learning new things everyday...
Message 2 of 4
(3,141 Views)

Thanks for your answer!

0 Kudos
Message 3 of 4
(3,116 Views)

Hello. I am now experiencing the problem you solved in 2014.
Can you tell me how to solve it?
I want to encode video and audio together.

0 Kudos
Message 4 of 4
(1,366 Views)