LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VLC exe

Hi,

I am having an issue with running the following command using "System Exec.vi"

cmd /c "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --qt-start-minimized --loop -vvv file:///"C:/Program Files/Video_Files/Test_Pattern.TS":sout=#transcode{vcodec=h264,vb=800,acodec=mpga,ab=128,channels=2,samplerate=44100,scodec=none}:rtp{dst=192.168.1.1,port=60002,mux=ts} :no-sout-all :sout-keep 

 

When I run cmd /c "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"  , VLC works file.

But When I add path to it , it doesn't seem to be working.

Attached is the VI for the same.

Is it do with the "quotes"?

 

Thank you!

0 Kudos
Message 1 of 5
(2,545 Views)

Right-Click that string constant and chose "Edit..."

Capture.PNG

You have a bad string constant


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 5
(2,515 Views)

Is the path separator expected to be "/" in the path? Compared with the Windows "\" in the vlc.exe path?


GCentral
0 Kudos
Message 3 of 5
(2,488 Views)

Yes, File path for VLC is expected to be "/".

0 Kudos
Message 4 of 5
(2,468 Views)

Create a VLC playlist, and put all your parameters in it.

Run the playlist from LabVIEW.

 

George Zou
0 Kudos
Message 5 of 5
(2,445 Views)