Page 1 of 1

Call VLC and terminate it from C source code

Posted: 09 Dec 2009 14:51
by erotavlas_turbo
Hi,

I know how to call VLC from C source code through System() function. The command is the following

Code: Select all

system("vlc -vv prova.jpg --sout '#transcode{vcodec=H263p,vb=800,width=352,height=288}:duplicate{dst=display,dst=rtp{sdp=rtsp://10.36.1.4:8080/test.sdp},dst=rtp{dst=10.36.1.4,port=1234,mux=ts}}'");
I would like to know how can i terminate the call to VLC. After that VLC is started how can i close it from command line?

Thank

Re: Call VLC and terminate it from C source code

Posted: 09 Dec 2009 15:00
by Jean-Baptiste Kempf
add vlc://quit

Re: Call VLC and terminate it from C source code

Posted: 09 Dec 2009 15:29
by erotavlas_turbo
ok, I write wrong command vlc:quit

Thank