changing sout with http interface [macro set inside]?
Posted: 01 Nov 2007 20:05
Hello
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 :
This http line works fine to stop VLC :
but what is the line to change the sout ? or just to change the dst to "\home\me\test2.mp3"
Thanks for any idea !
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 !