網頁

2016年2月4日 星期四

VLC 之 http

vlc.exe --intf="http" --http-host 0.0.0.0 --http-port 8080 --http-password 1234

http://localhost:8080/requests/playlist.xml

http://localhost:8080/requests/status.xml?command=in_play&input=rtsp://169.254.1.168:554/live2.sdp

http://localhost:8080/requests/status.xml?command=snapshot

http://localhost:8080/requests/status.xml?command=pl_stop

http://localhost:8080/requests/vlm_cmd.xml?command=new ch1 broadcast enabled
http://localhost:8080/requests/vlm_cmd.xml?command=setup ch1 input rtsp://169.254.1.168:554/live2.sdp
http://localhost:8080/requests/vlm_cmd.xml?command=control ch1 play
http://localhost:8080/requests/vlm_cmd.xml?command=control ch1 stop

share/lua/intf/modules/httprequests.lua
processcommands = function ()
in_play
addsubtitle
in_enqueue
pl_play
pl_pause
pl_forcepause
pl_forceresume
pl_stop
pl_next
pl_previous
pl_delete
pl_empty
pl_sort
pl_loop
pl_repeat
pl_sd
fullscreen
snapshot
volume
seek
key
audiodelay
rate
subdelay
aspectratio
preamp
equalizer
enableeq
setpreset
title
chapter
audio_track
video_track
subtitle_track


沒有留言:

張貼留言