$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>
没有合适的资源?快使用搜索试试~ 我知道了~
C#实现Onvif对接摄像机视频流,PTZ云台控制,预置位,VLC播放网络视频源,亲测可用
共2761个文件
dll:1485个
mo:384个
h:196个
3星 · 超过75%的资源 需积分: 50 150 下载量 82 浏览量
2020-08-05
16:48:43
上传
评论 5
收藏 531.11MB ZIP 举报
温馨提示
自己项目需要,编写此DEMO程序,亲测可用,实现主要功能如下: 1、通过onvif协议获取摄像机RTSP视频流地址,并预览播放。 2、通过onvif协议对摄像机进行PTZ云台控制。 3、通过onvif协议设置和调用摄像机预置位功能。 4、通过VLC开源播放器预览播放摄像机RTSP视频流和网络视频源,VLC版本:3.0.4.0 5、提供WEB API接口getcamerastreamuri,传入参摄像机ip、port、username、password可以获取此摄像机的RTSP视频流地址。
资源推荐
资源详情
资源评论
收起资源包目录
C#实现Onvif对接摄像机视频流,PTZ云台控制,预置位,VLC播放网络视频源,亲测可用 (2761个子文件)
Onvif_Service.csprojAssemblyReference.cache 127KB
DesignTimeResolveAssemblyReferences.cache 74KB
OnvifDemo.csprojAssemblyReference.cache 67KB
Onvif_Demo.csprojAssemblyReference.cache 54KB
DesignTimeResolveAssemblyReferencesInput.cache 41KB
Onvif_Demo.csproj.GenerateResource.cache 1019B
Onvif_Service.csproj.GenerateResource.cache 1019B
Onvif_Demo.csproj.CoreCompileInputs.cache 42B
OnvifDemo.csproj.CoreCompileInputs.cache 42B
Onvif_Service.csproj.CoreCompileInputs.cache 42B
Onvif_Service.exe.config 1KB
App.config 1KB
packages.config 496B
Onvif_Service.csproj.CopyComplete 0B
Onvif_Demo.csproj.CopyComplete 0B
Reference.cs 834KB
Reference.cs 753KB
Reference.cs 535KB
Onvif_Viewer.Designer.cs 31KB
Onvif_Viewer.cs 22KB
OnvifPtz.cs 15KB
Camera.cs 14KB
VlcPlayer.cs 13KB
OnvifCameraData.cs 9KB
WebServer.cs 7KB
UsernameToken.cs 7KB
Utilities.cs 5KB
WsPasswordDigest.cs 5KB
OnvifServices.cs 4KB
Log.cs 3KB
OnvifHandleRequest.cs 3KB
Resources.Designer.cs 3KB
LogFileCleanupTask.cs 2KB
ReturnProcess.cs 2KB
UsernameInfo.cs 2KB
AssemblyInfo.cs 1KB
Settings.Designer.cs 1KB
Log2.cs 847B
OnvifNamespace.cs 631B
Program.cs 532B
TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs 0B
TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs 0B
TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs 0B
Onvif_Service.csproj 46KB
jquery-ui-1.8.13.custom.css 33KB
jquery-ui-1.8.13.custom.css 33KB
jquery-ui-1.8.13.custom.css 33KB
jquery-ui-1.8.13.custom.css 33KB
main.css 4KB
main.css 4KB
main.css 4KB
main.css 4KB
mobile.css 3KB
mobile.css 3KB
mobile.css 3KB
mobile.css 3KB
Onvif_Service.OnvifMediaServiceReference.GetGuaranteedNumberOfVideoEncoderInstancesResponse.datasource 753B
Onvif_Service.OnvifMediaServiceReference.GetCompatibleVideoAnalyticsConfigurationsResponse.datasource 751B
Onvif_Service.OnvifDeviceManagementServiceReference.LoadCertificateWithPrivateKeyResponse.datasource 749B
Onvif_Service.OnvifMediaServiceReference.GetCompatibleAudioEncoderConfigurationsResponse.datasource 747B
Onvif_Service.OnvifMediaServiceReference.GetCompatibleVideoEncoderConfigurationsResponse.datasource 747B
Onvif_Service.OnvifMediaServiceReference.GetCompatibleAudioDecoderConfigurationsResponse.datasource 747B
Onvif_Service.OnvifMediaServiceReference.GetCompatibleAudioOutputConfigurationsResponse.datasource 745B
Onvif_Service.OnvifMediaServiceReference.GetCompatibleVideoSourceConfigurationsResponse.datasource 745B
Onvif_Service.OnvifMediaServiceReference.GetCompatibleAudioSourceConfigurationsResponse.datasource 745B
Onvif_Service.OnvifDeviceManagementServiceReference.ScanAvailableDot11NetworksResponse.datasource 743B
Onvif_Service.OnvifDeviceManagementServiceReference.GetCertificateInformationResponse.datasource 741B
Onvif_Service.OnvifMediaServiceReference.GetCompatibleMetadataConfigurationsResponse.datasource 739B
Onvif_Service.OnvifDeviceManagementServiceReference.DeleteDot1XConfigurationResponse.datasource 739B
Onvif_Service.OnvifDeviceManagementServiceReference.SetNetworkDefaultGatewayResponse.datasource 739B
Onvif_Service.OnvifDeviceManagementServiceReference.GetStorageConfigurationsResponse.datasource 739B
Onvif_Service.OnvifDeviceManagementServiceReference.GetDot1XConfigurationsResponse.datasource 735B
Onvif_Service.OnvifDeviceManagementServiceReference.GetSystemUrisResponseExtension.datasource 735B
Onvif_Service.OnvifDeviceManagementServiceReference.SetCertificatesStatusResponse.datasource 733B
Onvif_Service.OnvifDeviceManagementServiceReference.GetCertificatesStatusResponse.datasource 733B
Onvif_Service.OnvifMediaServiceReference.GetVideoAnalyticsConfigurationsResponse.datasource 731B
Onvif_Service.OnvifDeviceManagementServiceReference.GetEndpointReferenceResponse.datasource 731B
Onvif_Service.OnvifDeviceManagementServiceReference.StartFirmwareUpgradeResponse.datasource 731B
Onvif_Service.OnvifDeviceManagementServiceReference.GetNetworkInterfacesResponse.datasource 731B
Onvif_Service.OnvifDeviceManagementServiceReference.GetDot11CapabilitiesResponse.datasource 731B
Onvif_Service.OnvifDeviceManagementServiceReference.GetDeviceInformationResponse.datasource 731B
Onvif_Service.OnvifDeviceManagementServiceReference.SetNetworkProtocolsResponse.datasource 729B
Onvif_Service.OnvifDeviceManagementServiceReference.GetNetworkProtocolsResponse.datasource 729B
Onvif_Service.OnvifMediaServiceReference.GetAudioDecoderConfigurationsResponse.datasource 727B
Onvif_Service.OnvifMediaServiceReference.GetAudioEncoderConfigurationsResponse.datasource 727B
Onvif_Service.OnvifMediaServiceReference.GetVideoEncoderConfigurationsResponse.datasource 727B
Onvif_Service.OnvifDeviceManagementServiceReference.LoadCACertificatesResponse.datasource 727B
Onvif_Service.OnvifDeviceManagementServiceReference.DeleteCertificatesResponse.datasource 727B
Onvif_Service.OnvifDeviceManagementServiceReference.StartSystemRestoreResponse.datasource 727B
Onvif_Service.OnvifMediaServiceReference.GetVideoSourceConfigurationsResponse.datasource 725B
Onvif_Service.OnvifMediaServiceReference.GetAudioOutputConfigurationsResponse.datasource 725B
Onvif_Service.OnvifMediaServiceReference.GetAudioSourceConfigurationsResponse.datasource 725B
Onvif_Service.OnvifDeviceManagementServiceReference.CreateCertificateResponse.datasource 725B
Onvif_Service.OnvifDeviceManagementServiceReference.DeviceServiceCapabilities.datasource 725B
Onvif_Service.OnvifDeviceManagementServiceReference.DeleteGeoLocationResponse.datasource 725B
Onvif_Service.OnvifDeviceManagementServiceReference.GetCACertificatesResponse.datasource 725B
Onvif_Service.OnvifDeviceManagementServiceReference.GetPkcs10RequestResponse.datasource 723B
Onvif_Service.OnvifDeviceManagementServiceReference.LoadCertificatesResponse.datasource 723B
Onvif_Service.OnvifDeviceManagementServiceReference.NetworkZeroConfiguration.datasource 723B
Onvif_Service.OnvifDeviceManagementServiceReference.GetCapabilitiesResponse.datasource 721B
共 2761 条
- 1
- 2
- 3
- 4
- 5
- 6
- 28
资源评论
- qq_397259532021-09-28启动不了 尝试访问不在磁盘的路径
- qiyun9962021-03-14不错可以用,就是分数高
- 765873098348902022-03-18可以执行 但是rtsp无法播放
luocan0109
- 粉丝: 7
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- STM32单片机FPGA毕设电路原理论文报告一种具有传统中医针刺补泻手法的新型智能电针仪设计
- 2023-04-06-项目笔记 - 第七十七阶段 - 4.4.2.75全局变量的作用域-75 -2024.03.19
- VuforiaObjectScanner-8-3-8.apk.1.1.1
- 上下班打卡_日报_20240201-20240319.xlsx
- 创业天下3.5.500.apk
- POD-data.mat
- ZF逆变器课程电子档及源码
- FileZilla-3.66.5-win64-sponsored2-setup
- SourceTreeSetup-3.4.17
- Docker Desktop Installer
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功