$Id$
This file describes commands available through the requests/ file:
Lines starting with < describe what the page sends back
Lines starting with > describe what you can send to the page
All parameters need to be URL encoded.
Examples:
# -> %23
% -> %25
+ -> %2B
space -> +
...
Deprecation Notice:
---
The entire interface is moving to using <MRL> for input and output parameters and attributes
pl_play and in_enqueue previously accepted paths. This is still supported, but from 1.3 <MRL> will be required
where path attributes are provided in output, these should be ignored in favour of uri attributes
path support is scheduled to be removed entirely from 1.3
---
<root> (/)
===========
> Get album art for current input:
/art (NB: not /requests/art)
> Get album art for any playlist input (available from API version 3):
/art?item=123 (NB: not /requests/art)
status.xml or status.json
===========
< Get VLC status information, current item info and meta.
< Get VLC version, and http api version
> add <uri> to playlist and start playback:
?command=in_play&input=<uri>&option=<option>
the option field is optional, and can have the values:
noaudio
novideo
> add <uri> to playlist:
?command=in_enqueue&input=<uri>
> add subtitle to currently playing file
?command=addsubtitle&val=<uri>
> play playlist item <id>. If <id> is omitted, play last active item:
?command=pl_play&id=<id>
> toggle pause. If current state was 'stop', play item <id>, if no <id> specified, play current item. If no current item, play 1st item in the playlist:
?command=pl_pause&id=<id>
> resume playback if paused, else do nothing
?command=pl_forceresume
> pause playback, do nothing if already paused
?command=pl_forcepause
> stop playback:
?command=pl_stop
> jump to next item:
?command=pl_next
> jump to previous item:
?command=pl_previous
> delete item <id> from playlist:
?command=pl_delete&id=<id>
NOTA BENE: pl_delete is completly UNSUPPORTED
> empty playlist:
?command=pl_empty
> set audio delay
?command=audiodelay&val=<delayinseconds>
> set subtitle delay
?command=subdelay&val=<delayinseconds>
> set playback rate. must be > 0
?command=rate&val=<newplaybackrate>
> set aspect ratio. Must be one of the following values. Any other value will reset aspect ratio to default
?command=aspectratio&val=<newratio>
Valid aspect ratio values: 1:1 , 4:3 , 5:4 , 16:9 , 16:10 , 221:100 , 235:100 , 239:100
> sort playlist using sort mode <val> and order <id>:
?command=pl_sort&id=<id>&val=<val>
If id=0 then items will be sorted in normal order, if id=1 they will be
sorted in reverse order
A non exhaustive list of sort modes:
0 Id
1 Name
3 Author
5 Random
7 Track number
> toggle random playback:
?command=pl_random
> toggle loop:
?command=pl_loop
> toggle repeat:
?command=pl_repeat
> toggle enable service discovery module <val>:
?command=pl_sd&val=<val>
Typical values are:
sap
shoutcast
podcast
hal
> toggle fullscreen:
?command=fullscreen
> set volume level to <val> (can be absolute integer, percent or +/- relative value):
?command=volume&val=<val>
Allowed values are of the form:
+<int>, -<int>, <int> or <int>%
> seek to <val>:
?command=seek&val=<val>
Allowed values are of the form:
[+ or -][<int><H or h>:][<int><M or m or '>:][<int><nothing or S or s or ">]
or [+ or -]<int>%
(value between [ ] are optional, value between < > are mandatory)
examples:
1000 -> seek to the 1000th second
+1H:2M -> seek 1 hour and 2 minutes forward
-10% -> seek 10% back
>command=preamp&val=<val in dB>
sets the preamp value, must be >=-20 and <=20
>command=equalizer&band=<band>&val=<gain in dB, must be >=-20 and <=20)
set the gain for a specific band
>command=enableeq&val=<0 or 1>
0 -- disables the equalizer
1 -- enables the equalizer
>command=setpreset&val=<presetid>
set the equalizer preset as per the id specified
<Displays the equalizer band gains.
Band 0: 60 Hz, 1: 170 Hz, 2: 310 Hz, 3: 600 Hz, 4: 1 kHz,
5: 3 kHz, 6: 6 kHz, 7: 12 kHz , 8: 14 kHz , 9: 16 kHz
<Display the list of presets available for the equalizer
---
Commands available from API version 2
---
> select the title
?command=title&val=<val>
> select the chapter
?command=title&val=<val>
> select the audio track (use the number from the stream)
?command=audio_track&val=<val>
> select the video track (use the number from the stream)
?command=video_track&val=<val>
> select the sibtitle track (use the number from the stream)
?command=subtitle_track&val=<val>
playlist.xml or playlist.json:
=============
< get the full playlist tree
NB: playlist_jstree.xml is used for the internal web client. It should not be relied upon by external remotes.
It may be removed without notice.
browse.xml or browse.json:
===========
< ?dir=<uri>
> get file list from uri. At the moment, only local file uris are supported
NB: uri is the preferred parameter. Dir is deprecated and may be removed in a future release.
< ?dir=<dir>
> get <dir>'s filelist
vlm.xml:
========
< get the full list of VLM elements
vlm_cmd.xml:
============
< execute VLM command <cmd>
?command=<cmd>
> get the error message from <cmd>
没有合适的资源?快使用搜索试试~ 我知道了~
原生WPF的VLC视频播放控件
共1351个文件
dll:724个
h:196个
mo:196个
1星 需积分: 49 52 下载量 153 浏览量
2019-02-01
16:31:49
上传
评论 1
收藏 73MB 7Z 举报
温馨提示
原生WPF的VLC视频播放控件,不存在winform空域问题,demo里是播放RTSP的视频,可以替换为其他路径,直接播放其他视频文件,支持截图,录像,直接修改录像文件后缀可以保存为不同编码类型的视频文件 使用.net4,支持anycpu
资源推荐
资源详情
资源评论
收起资源包目录
原生WPF的VLC视频播放控件 (1351个子文件)
MainWindow.baml 2KB
MyMeta.csprojResolveAssemblyReference.cache 12KB
DesignTimeResolveAssemblyReferencesInput.cache 7KB
MyMeta.csproj.GenerateResource.Cache 918B
MyMeta_MarkupCompile.cache 233B
MyMeta_MarkupCompile.i.cache 231B
MainWindow.g.i.cs 6KB
MainWindow.g.cs 6KB
Resources.Designer.cs 3KB
MainWindow.xaml.cs 3KB
App.g.cs 2KB
App.g.i.cs 2KB
AssemblyInfo.cs 2KB
Settings.Designer.cs 1KB
App.xaml.cs 302B
MyMeta.csproj 4KB
jquery-ui-1.8.13.custom.css 33KB
jquery-ui-1.8.13.custom.css 33KB
main.css 4KB
main.css 4KB
mobile.css 3KB
mobile.css 3KB
libavcodec_plugin.dll 18.82MB
libavcodec_plugin.dll 17.45MB
libqt_plugin.dll 16.59MB
libqt_plugin.dll 16.43MB
libx265_plugin.dll 4.71MB
libvpx_plugin.dll 3.54MB
libx265_plugin.dll 3.15MB
libaccess_output_srt_plugin.dll 2.77MB
libaccess_srt_plugin.dll 2.77MB
libaccess_output_srt_plugin.dll 2.73MB
libaccess_srt_plugin.dll 2.73MB
libvlccore.dll 2.67MB
libvpx_plugin.dll 2.59MB
libvlccore.dll 2.54MB
liblibass_plugin.dll 2.5MB
libvnc_plugin.dll 2.42MB
liblibass_plugin.dll 2.37MB
libdcp_plugin.dll 2.36MB
libdcp_plugin.dll 2.32MB
libvnc_plugin.dll 2.24MB
libskins2_plugin.dll 2.18MB
libadaptive_plugin.dll 2.16MB
libskins2_plugin.dll 2.14MB
libadaptive_plugin.dll 2.1MB
libfreetype_plugin.dll 2.09MB
libfreetype_plugin.dll 2.04MB
liblibbluray_plugin.dll 1.96MB
liblibbluray_plugin.dll 1.86MB
libprojectm_plugin.dll 1.67MB
libgnutls_plugin.dll 1.66MB
libprojectm_plugin.dll 1.66MB
libmkv_plugin.dll 1.65MB
libmkv_plugin.dll 1.64MB
libgnutls_plugin.dll 1.6MB
libtaglib_plugin.dll 1.53MB
libsamplerate_plugin.dll 1.45MB
libzvbi_plugin.dll 1.44MB
libsamplerate_plugin.dll 1.44MB
libtaglib_plugin.dll 1.44MB
libzvbi_plugin.dll 1.41MB
libschroedinger_plugin.dll 1.39MB
libstream_out_chromaprint_plugin.dll 1.21MB
libsid_plugin.dll 1.2MB
libstream_out_chromaprint_plugin.dll 1.19MB
libsid_plugin.dll 1.18MB
libschroedinger_plugin.dll 1.17MB
libstream_out_chromecast_plugin.dll 1.07MB
libstream_out_chromecast_plugin.dll 1.06MB
libxml_plugin.dll 1.04MB
libspatialaudio_plugin.dll 1.03MB
libspatialaudio_plugin.dll 1.03MB
libupnp_plugin.dll 1.01MB
libupnp_plugin.dll 1016KB
libx264_plugin.dll 1006KB
libxml_plugin.dll 999KB
libx264_plugin.dll 996KB
libswscale_plugin.dll 905KB
libdshow_plugin.dll 898KB
libdshow_plugin.dll 896KB
libdtv_plugin.dll 880KB
libdtv_plugin.dll 873KB
libswscale_plugin.dll 836KB
libsftp_plugin.dll 832KB
libcaca_plugin.dll 817KB
libcaca_plugin.dll 809KB
liblive555_plugin.dll 793KB
libstream_out_rtp_plugin.dll 776KB
libvorbis_plugin.dll 764KB
liblive555_plugin.dll 760KB
libsdl_image_plugin.dll 731KB
libvorbis_plugin.dll 722KB
libsftp_plugin.dll 717KB
libsdl_image_plugin.dll 708KB
libstream_out_rtp_plugin.dll 674KB
libremoteosd_plugin.dll 669KB
libaccess_output_livehttp_plugin.dll 662KB
librtp_plugin.dll 655KB
libts_plugin.dll 599KB
共 1351 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14
资源评论
- zhanqingqin2022-06-22骗人的,用的别人的库,没有实际性的帮助
- qq_333019472020-01-16Not fun. Just opensource code from vlc
- cary_lg2021-04-13一个星都是多给的,下载后里面没有真正有用的代码
guce2885
- 粉丝: 1
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功