Call VLC and terminate it from C source code

This forum is about all development around libVLC.
erotavlas_turbo
Blank Cone
Blank Cone
Posts: 75
Joined: 26 Nov 2009 10:52

Call VLC and terminate it from C source code

Postby erotavlas_turbo » 09 Dec 2009 14:51

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Call VLC and terminate it from C source code

Postby Jean-Baptiste Kempf » 09 Dec 2009 15:00

add vlc://quit
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

erotavlas_turbo
Blank Cone
Blank Cone
Posts: 75
Joined: 26 Nov 2009 10:52

Re: Call VLC and terminate it from C source code

Postby erotavlas_turbo » 09 Dec 2009 15:29

ok, I write wrong command vlc:quit

Thank


Return to “Development around libVLC”

Who is online

Users browsing this forum: Jona and 31 guests