I try to use the http interface in order to change the sout of vlc.
Here is the code I use to launch vlc in ubuntu :
Code: Select all
vlc --open 'v4l:// :v4l-vdev="" :v4l-adev="/dev/dsp" :v4l-norm=3 :v4l-frequency=-1' --sout '#transcode{acodec=mp3,ab=96,channels=2}:duplicate{dst=std{access=file,mux=raw,dst="\home\me\test.mp3"}}' --sout-all --color --extraintf 'http'
Code: Select all
wget "http://localhost:8080/requests/status.xml?command=pl_stop" -O /dev/null
Thanks for any idea !