From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ffmpeg and change the codec problem

Hi I would like to use System Exec.vi with ffmpeg commands to convert a wave file from ADPCM to PCM but whatever command I give to System Exec.vi I get nothing. Could you please help me on this matter.

 

Attached is the vi. This vi is used to convert a wave file to pcm file . This one is also not working at all  and I get 1 as return value when I enable wait until completion and 0 when I disable it

the command I used is 

 

ffmpeg -i file.wav -f s16le -acodec pcm_s16le file.pcm

Thanks

 

0 Kudos
Message 1 of 2
(2,532 Views)

Hi tintin_99,

 

Could I confirm if this command works without issue if run directly from command line without LabVIEW?

This would establish if the issue is caused by System Exec or the command being used.

Regards,
Chris (CLED, CLA, CTA)
Applications Engineering Specialist
0 Kudos
Message 2 of 2
(2,502 Views)