Meta.Vlc
A warpper for struct.
A list warpper for linklist struct.
Create a readonly list by a pointer of .
Audio equalizer of VLC player.
Create a new default equalizer, with all frequency values zeroed.
Create a new equalizer, with initial frequency values copied from an existing preset.
Create a new equalizer, with initial frequency values copied from an existing preset.
获取一个值,该值指示当前模块是否被载入
Get the number of equalizer presets.
Get the number of distinct frequency bands for an equalizer.
Aways return .
Get or set the current pre-amplification value from an equalizer.
Get or set the amplification value for a particular equalizer frequency band.
frequency band index.
Get the name of a particular equalizer preset.
Get a particular equalizer band frequency.
A warpper for struct.
A list warpper for linklist struct.
Create a readonly list by a pointer of .
A base class of LibVlc exceptions.
Create exception with a message.
exception message
Create exception with a message and a inner exception.
exception message
inner exception
If a LibVlc function don't have , this exception will be throwed.
Create a .
If a function can't be found in LibVlc dlls, this exception will be throwed, maybe we should check the LibVlc
version what the function need.
Create a with function's infomation and LibVlc's version.
infomation of function
version of LibVlc
Create a with function's infomation, LibVlc's version and a inner
exception.
infomation of function
version of LibVlc
inner exception
Infomation of function what not found.
Versiong infomation of current LibVlc.
If a function is not available in current version LibVlc, but you call this, the exception will be throwed.
Create a with function's infomation and LibVlc's version.
infomation of function
version of LibVlc
Infomation of function what not found.
Versiong infomation of current LibVlc.
If a version string parse failed, this exception will be throwed.
Create a with parse failed version string.
Parse failed version string.
If some exception throwed when loading LibVlc, this exception will be throwed. Maybe you should check the LibVlc
target platform and your app target platform.
Create a .
Create a with a inner exception.
If create a new Vlc instence return NULL, this exception will be throwed. Maybe you should check your Vlc options.
Create a .
Create a with some message.
Some helper method of interopping with unmanaged dlls.
Convert a pointer of string to manmaged .
pointer of string
count of string, -1 mean auto check the end char
free this pointer when convert over
encoding of string
result string
Pinned a to get pointer of this, you should call when all is
over.
string you need pinned
GCHandle of , you can call to get pointer.
Convert a pointer array to array.
pointer array
length of pointer array
array
Get a pointer of array.
array
pointer of array
尝试启动一个用户接口,用于 LibVlc 实例
LibVlc 实例指针
接口名,为 NULL 则为默认
如果成功会返回 0 ,否则会返回 -1
获取可用的音频过滤器
LibVlc 实例指针
可用音频过滤器列表指针,这是一个 类型的指针
释放由 LibVlc 函数返回的指针资源,其作用类似于 C语言 中的 free() 函数
指针
获取 LibVlc 的变更集(?)
返回 LibVlc 的变更集,类似于 "aa9bce0bc4"
获取 LibVlc 的编译器信息
返回 LibVlc 的编译器信息
获取 LibVlc 的版本信息
返回 LibVlc 的版本信息,类似于 "1.1.0-git The Luggage"
释放 的资源
资源指针
创建并初始化一个 LibVlc 实例,并提供相应的参数,这些参数和命令行提供的参数类似,会影响到 LibVlc 实例的默认配置.
有效参数的列表取决于 LibVlc 版本,操作系统,可用 LibVlc 插件和平台.无效或不支持的参数会导致实例创建失败
参数个数
参数列表
返回 LibVlc 实例指针,如果出错将返回 NULL
递减 LibVlc 实例的引用计数,如果它达到零,将会释放这个实例
需要释放的 LibVlc 实例指针
递增 LibVlc 实例的引用计数,当调用 NewInstance 初始化成功时,引用计数将初始化为1
LibVlc 实例指针
设置一些元信息关于该应用程序
LibVlc 实例指针
Java 风格的应用标识符,类似于 "com.acme.foobar"
应用程序版本,类似于 "1.2.3"
应用程序图标,类似于 "foobar"
为 LibVlc 设置一个回调,该回调将会在 LibVlc 退出时被调用,不能与 一起使用.
而且,这个函数应该在播放一个列表或者开始一个用户接口前被调用,否则可能导致 LibVlc 在注册该回调前退出
LibVlc 实例指针
函数指针,这是一个参数为 void*,无返回值的函数指针
数据指针,将做为参数传递给回调函数
设置一个用户代理字符串,当一个协议需要它的时候,LibVlc 将会提供该字符串
LibVlc 实例指针
应用程序名称,类似于 "FooBar player 1.2.3",实际上只要能标识应用程序,任何字符串都是可以的
HTTP 用户代理,类似于 "FooBar/1.2.3 Python/2.6.0"
获取可用的视频过滤器
LibVlc 实例指针
可用视频过滤器列表指针,这是一个 类型的指针
等待,直到一个接口导致 LibVlc 实例退出为止,在使用之前,应该使用 添加至少一个用户接口.
实际上这个方法只会导致一个线程阻塞,建议使用
LibVlc 实例指针
对一个 LibVlc 的模块的说明
获取一个可读的 LibVlc 错误信息
返回一个可读的 LibVlc 错误信息,如果没有错误信息将返回 NULL
清除当前线程的 LibVlc 的错误信息
为一个事件通知注册一个回调
事件管理器
事件类型
回调
由用户定义的数据
0代表成功,12代表出错
为一个事件通知取消注册一个回调
事件管理器
事件类型
回调
由用户定义的数据
获取事件类型名称
事件类型
返回事件类型名称
表示一个 LibVlc 的事件回调代理
事件参数
用户数据指针
事件类型
媒体元数据改变
媒体的子项被添加
媒体时长改变
媒体解析状态被改变
媒体被释放
媒体状态改变
媒体播放器的媒体被改变
媒体播放器正在打开媒体
媒体播放器正在缓冲媒体
媒体播放器正在播放
媒体播放器被暂停
媒体播放器被停止播放
媒体播放器前进
媒体播放器后退
媒体播放器结束播放
媒体播放器遇到错误
媒体播放器时间改变
媒体播放器进度改变
媒体播放器是否允许寻址被改变
媒体播放器是否允许被暂停被改变
媒体播放器标题被改变
媒体播放器捕获一个快照
媒体播放器长度改变
媒体播放器视频输出改变
一个项被添加到媒体列表
一个项将被添加到媒体列表
一个项从媒体列表移除
一个项将从媒体列表移除
一个项被添加到媒体列表视图
一个项将被添加到媒体列表视图
一个项从媒体列表视图移除
一个项将从媒体列表视图移除
媒体列表播放器开始播放
媒体列表播放器跳到下个项
媒体列表播放器停止
媒体搜寻器开始搜寻
媒体搜寻器搜寻结束
一个 VLM 媒体被添加
一个 VLM 媒体被移除
一个 VLM 媒体被改变
一个 VLM 媒体实例开始
一个 VLM 媒体实例停止
一个 VLM 媒体实例被初始化
一个 VLM 媒体实例正在打开
一个 VLM 媒体实例正在播放
一个 VLM 媒体实例被暂停
一个 VLM 媒体实例结束播放
一个 VLM 媒体实例出现错误
向一个媒体添加一个选项,这个选项将会确定媒体播放器将如何读取介质,
一个媒体指针
向一个媒体通过可配置的标志添加一个选项,这个选项将会确定媒体播放器将如何读取介质,
一个媒体指针
复制一个媒体对象
要被复制的媒体对象
复制的媒体对象
获取媒体对象的事件管理器,该函数不会增加引用计数
媒体对象指针
返回媒体对象的事件管理器
获取媒体的基本编码器的说明
由 得来
由 得来
返回媒体的基本编码器的说明
获取媒体的时间长度
媒体对象指针
返回媒体的时间长度
获取媒体的某个元属性,如果尚未解析元属性,将会返回 NULL.
这个方法会自动调用 方法,所以你在之后应该会收到一个 MediaMetaChanged 事件.
如果你喜欢同步版本,可以在 GetMeta 之前调用 方法
媒体对象指针
元属性类型
返回媒体的某个元属性
获取该媒体的媒体资源地址
媒体对象指针
返回该媒体的媒体资源地址
获取媒体当前状态
媒体对象指针
返回媒体当前状态
获取媒体当前统计
媒体对象指针
统计结构体指针,指向
如果成功会返回 true ,否则会返回 false
获取媒体的基本流的描述,注意,在调用该方法之前你需要首先调用 方法,或者至少播放一次.
否则,你将的得到一个空数组
媒体对象指针
一个 数组
数组的元素个数
获取由用户定义的媒体数据
媒体对象指针
返回由用户定义的媒体数据指针
获取一个值表示该媒体是否已经解析
LibVlc 实例指针
True 表示已经解析,False 表示尚未被解析
创建一个具有名字的媒体作为一个空节点
LibVlc 实例指针
名字
创建的媒体对象指针
通过给定的文件描述符创建一个媒体,该文件描述符必须具有 Read 访问权限.
LibVlc 不会关闭任何文件描述符,尽管如此,一般一个媒体描述符只能在媒体播放器中使用一次,如果你想复用,需要使用 lseek 函数将文件描述符的文件指针倒回开头
LibVlc 实例指针
文件描述符
创建的媒体对象指针,发送错误时会返回 NULL
通过给定的文件 Url 创建一个媒体,该 Url 的格式必须以 "file://" 开头,参见 "RFC3986".
对于打开本地媒体,其实我们更推荐使用
LibVlc 实例指针
媒体的文件 Url
创建的媒体对象指针,发送错误时会返回 NULL
通过给定的文件路径创建一个媒体
LibVlc 实例指针
媒体文件路径
创建的媒体对象指针,发送错误时会返回 NULL
解析一个媒体,获取媒体的元数据和轨道信息
媒体对象指针
异步解析一个媒体,获取媒体的元数据和轨道信息,这是 的异步版本,
解析完成会触发 MediaParsedChanged 事件,您可以跟踪该事件
媒体对象指针
根据提供的标志异步解析一个媒体,获取媒体的元数据和轨道信息,这是 的高级版本,
默认情况下解析一个本地文件,解析完成会触发 MediaParsedChanged 事件,您可以跟踪该事件
媒体对象指针
提供的解析标志
成功解析会返回 0,否则会返回 -1
递减媒体对象的引用计数,如果它达到零,将会释放这个实例
媒体对象指针
递增媒体对象的引用计数
媒体对象指针
保存当前的元数据到媒体
媒体对象指针
如果操作成功将会返回 True
设置媒体的元数据
媒体对象指针
元数据类型
元数据值
设置媒体的由用户定义的数据
媒体对象指针
用户定义的数据
获取媒体对象的子对象列表,这将增加引用计数,使用 来减少引用计数
媒体对象指针
返回媒体对象的子对象列表
获取媒体的基本流的描述,注意,在调用该方法之前你需要首先调用 方法,或者至少播放一次.
否则,你将的得到一个空数组
媒体对象指针
一个 数组的数组
返回媒体的基本流的描述
释放一个媒体的基本流的描述的数组
基本流的描述的数组
表示音频的通道数或者视频的帧高
表示音频的速率或者视频的帧宽
表示音频的通道数
表示音频的速率
表示视频的帧高
表示视频的帧宽
表示一个 Track 的具体指针,该指针可能指向 , 或者 ,根据
Type 的值不同,Track 的指向数据也可能不同
切换音频静音状态
获取音频静音状态
0为正常,1为静音,-1为未定义
设置音频静音状态
获取音频音量
0~100之间
设置音频音量
0~100之间
获取音频输出通道
设置音频输出通道
获取音频轨道数
获取当前音轨
设置当前音轨
获取音轨描述
Description for audio output device.
Next entry in list.
Device identifier string.
User-friendly device description.
Description for audio output.
Gets a list of potential audio output devices.
media player
A NULL-terminated linked list of potential audio output devices. It must be freed with
Frees a list of available audio output devices.
list with audio outputs for release
Gets a list of audio output devices for a given audio output module.
libvlc instance
audio output name (as returned by )
A NULL-terminated linked list of potential audio output devices. It must be freed with
Gets the list of available audio output modules.
libvlc instance
list of available audio outputs. It must be freed with
Frees the list of available audio output modules.
list with audio outputs for release
Selects an audio output module.
Any change will take be effect only after playback is stopped and restarted. Audio output cannot be changed while
playing.
media player
name of audio output, use
0 if function succeded, -1 on error
Configures an explicit audio output device. If the module paramater is NULL,
audio output will be moved to the device specified by the device identifier string immediately.
This is the recommended usage. A list of adequate potential device strings can be obtained with
.
However passing NULL is supported in LibVLC version 2.2.0 and later only; in earlier versions, this function would
have no effects when the module parameter was NULL.
If the module parameter is not NULL, the device parameter of the corresponding audio output, if it exists, will be
set to the specified string.
Note that some audio output modules do not have such a parameter (notably MMDevice and PulseAudio).
A list of adequate potential device strings can be obtained with .
media player
If NULL, current audio output module. if non-NULL, name of audio output module (
)
device identifier string
Nothing. Errors are ignored (this is a design issue).
Get the current audio output device identifier.
media player
the current audio output device identifier NULL if no device is selected or in case of error (the result must
be released with ).
获取预设均衡器数量
获取预设均衡器名称
均衡器编号
获取均衡器频带数目
获取均衡器频带的频率
频带编号
创建一个新的均衡器
从预设创建一个新的均衡器
预设均衡器编号
释放均衡器
设置均衡器的新预设放大值
取值范围为 -20.0~+20.0
0 成功,-1 失败
获取均衡器的新预设放大值
设置均衡器的放大值
均衡器
取值范围为 -20.0~+20.0
屏带编号
0 成功,-1 失败
获取均衡器的放大值
均衡器
屏带编号
为播放器设置均衡器,提供 NULL 来关闭均衡器,在该方法返回后即可立即释放均衡器,播放器不会引用均衡器实例
播放器
均衡器
表示一个视频,音频,或者文本的描述
视频字幕设定项
当锁定图像缓存时,调用此回调.
每当一个新帧需要被解码,都会调用此回调,一个或者三个像素平面会被通过第二个参数返回.这些像素屏幕需要 32 字节对齐
一个私有指针
像素平面
一个私有指针用来显示或解锁回调用来识别图像缓存
当解锁图像缓存时,调用此回调.
每当一个帧被解码完成,都会调用此回调,该回调并不是必须的,但是它是读取像素值的唯一的途径.
该回调会发生在图片解码之后,显示之前
一个私有指针
由 返回的指针
像素平面
当显示图像时,调用此回调.
每当一个帧需要被显示时,都会调用此回调
一个私有指针
由 返回的指针
当配置图像缓存格式时,调用此回调.
此回调会获取由解码器和过滤器(如果有)输出的视频的格式,
一个私有指针
视频格式识别码
像素宽
像素高
每个像素平面字节的扫描线间距
每个像素平面的扫描线的个数
分配的图片缓存大小,0代表失败
配置图片缓存格式时,调用此回调
一个私有指针
音频播放时,调用此回调
一个私有指针
采样数据
采样数
预计播放时间戳
音频暂停时,调用此回调
一个私有指针
请求暂停的时间戳
音频继续播放时,调用此回调
一个私有指针
请求继续的时间戳
音频缓冲刷新时,调用此回调
一个私有指针
音频格式完成配置时调用此回调
一个私有指针
格式字符串,一个四字符的字符串
采样率
通道数
0代表成功
音频设置音量时,调用此回调
一个私有指针
音量
是否为静音
创建一个空的媒体播放器对象
LibVlc 实例指针
创建好的媒体播放器对象指针
通过一个媒体对象创建一个媒体播放器对象
媒体对象指针
创建好的媒体播放器对象指针
递减媒体播放器对象的引用计数,如果它达到零,将会释放这个实例
媒体播放器对象
递增媒体播放器对象的引用计数
媒体播放器对象
为媒体播放器设置媒体
媒体播放器对象
媒体对象
获取媒体播放器的媒体
媒体播放器对象
媒体对象
获取媒体播放器对象的事件管理器,该函数不会增加引用计数
媒体播放器对象
返回媒体播放器对象的事件管理器
获取媒体播放器对象是否正在播放
媒体播放器对象
如果播放器对象正在播放则返回 True ,否则返回 Flase
使媒体播放器开始播放
媒体播放器对象
0代表成功,-1代表失败
设置媒体播放器播放或者暂停,如果没有设置媒体对象,将会没有作用
媒体播放器对象
true 代表暂停,false 代表播放或继续
设置媒体播放器的进度,如果后台播放未启用将会没有作用,根据底层的输入格式和协议,可能导致无法正常播放
媒体播放器对象
播放进度,取值为0.0~1.0
停止媒体播放器的播放,如果没有设置媒体将会没有作用
媒体播放器对象
设置 Video 的事件回调
媒体播放器对象
Lock 事件回调,必须
Unlock 事件回调
Display 事件回调
回调用用户数据
设置 Video 解码格式
媒体播放器对象
视频格式识别码,一个四个字符的识别码
像素宽
像素高
扫描线
设置 Video 解码格式回调
媒体播放器对象
为媒体播放器设置一个视频输出句柄,将会在该句柄上绘图
媒体播放器对象
句柄
获取为媒体播放器设置的视频输出句柄
媒体播放器对象
句柄
设置 Audio 的事件回调
媒体播放器对象
设置 Audio 的格式
媒体播放器对象
格式字符串,一个四字符的字符串
采样率
通道数
设置 Audio 的格式回调
媒体播放器对象
媒体播放器对象
获取媒体的长度,以毫秒为单位
媒体播放器对象
-1为未设置媒体
获取目前的媒体进度,以毫秒为单位
媒体播放器对象
-1为未设置媒体
设置目前的媒体进度,以毫秒为单位
媒体播放器对象
播放进度
获取当前媒体进度,0~1范围
媒体播放器对象
设置当前媒体播放器的章节
媒体播放器对象
章节
获取当前媒体播放器的章节
媒体播放器对象
-1代表没有设置媒体
获取当前媒体播放器的章节数
媒体播放器对象
-1代表没有设置媒体
获取当前媒体播放器是否处于可播放
媒体播放器对象
获取标题的章节数
媒体播放器对象
标题
-1代表没有设置媒体
设置媒体播放器的标题
媒体播放器对象
获取媒体播放器的标题
媒体播放器对象
获取媒体播放器的标题数
媒体播放器对象
上一个章节
媒体播放器对象
下一个章节
媒体播放器对象
获取媒体速率
媒体播放器对象
设置媒体是速率
媒体播放器对象
获取媒体的状态
媒体播放器对象
获取媒体的FPS
媒体播放器对象
获取该媒体播放器视频输出的个数
媒体播放器对象
获取该媒体是否能够跳进度
媒体播放器对象
获取该媒体是否能够暂停
媒体播放器对象
播放下一帧
媒体播放器对象
导航DVD菜单
媒体播放器对象
设置播放器播放视频时显示视频标题
媒体播放器对象
释放 TrackDescriptionList 资源
Get the mouse pointer coordinates over a video.
Coordinates are expressed in terms of the decoded video resolution, not in terms of pixels on the screen/viewport
(to get the latter, you can query your windowing system directly).
Either of the coordinates may be negative or larger than the corresponding dimension of the video, if the cursor is
outside the rendering area.
media player
number of the video (starting from, and most commonly 0)
pointer to get the abscissa [OUT]
pointer to get the ordinate [OUT]
0 on success, -1 if the specified video does not exist
Set the mouse pointer coordinates over a video.
This is a special function of xZune dev version. If you display using HWND, you will needn't this function.
media player
number of the video (starting from, and most commonly 0)
pointer to get the abscissa [OUT]
pointer to get the ordinate [OUT]
0 on success, -1 if the specified video does not exist
Set the a mouse button is down.
This is a special function of xZune dev version. If you display using HWND, you will needn't this function.
media player
number of the video (starting from, and most commonly 0)
a enum of mouse button
0 on success, -1 if the specified video does not exist
Set the a mouse button is up.
This is a special function of xZune dev version. If you display using HWND, you will needn't this function.
media player
number of the video (starting from, and most commonly 0)
a enum of mouse button
0 on success, -1 if the specified video does not exist
Get the pixel dimensions of a video.
media player
number of the video (starting from, and most commonly 0)
pointer to get the pixel width [OUT]
pointer to get the pixel height [OUT]
0 on success, -1 if the specified video does not exist
Get the current video scaling factor.
media player
the currently configured zoom factor, or 0. if the video is set to fit to the output window/drawable
automatically.
Set the video scaling factor.
That is the ratio of the number of pixels on screen to the number of pixels in the original decoded video in each
dimension.
Zero is a special value; it will adjust the video to the output window/drawable (in windowed mode) or the entire
screen.
media player
the scaling factor, or zero
Get current video aspect ratio.
media player
the video aspect ratio or NULL if unspecified (the result must be released with ).
Set new video aspect ratio.
media player
new video aspect-ratio or NULL to reset to default
Get current video width. Use instead.
media player
the video pixel width or 0 if not applicable
Get current video height. Use instead.
media player
the video pixel height or 0 if not applicable
Get number of available video tracks.
media player
the number of available video tracks (int)
Get current video track.
media player
the video track ID(int) or -1 if no active input
Set video track.
media player
the track ID (i_id field from track description)
0 on success, -1 if out of range
Get the description of available video tracks.
media player
list with description of available video tracks, or NULL on error. It must be freed with
Get integer adjust option.
media player
adjust option to get, values of
Get float adjust option.
media player
adjust option to get, values of
Set adjust option as integer. Options that take a different type value are ignored. Passing libvlc_adjust_enable as option value has the side effect of starting (arg !0) or stopping (arg 0) the adjust filter.
media player
adjust option to set, values of
adjust option value
Set adjust option as float. Options that take a different type value are ignored.
media player
adjust option to set, values of
adjust option value
A enum of mouse button.
The left button of mouse.
The right button of mouse.
Other buttons of mouse, it is not commonly used.
获取由 LibVlc 定义的当前时间
返回由 LibVlc 定义的当前时间
获取与提供的时间戳之间的延迟
时间戳
返回与提供的时间戳之间的延迟
释放给定的 LibVlc 的实例相关的 VLM 实例
添加广播和一个输入
VLM 实例指针
广播名
输入媒体资源地址
输出媒体资源地址
设置一个值允许打开新的新的广播
是否广播循环播放
添加视频点播和一个输入
VLM 实例指针
删除媒体(视频点播或广播)
VLM 实例指针
启用或禁用媒体(视频点播或广播)
设置媒体输出
VLM 实例指针
设置媒体的 MRL 输入
增加一个媒体的 MRL 输入
设置媒体循环状态
媒体新的状态
设置媒体的 Vod Muxer
编辑媒体参数
播放指定媒体
指定的媒体的名字
停止指定的媒体
指定的媒体的名字
暂停指定的媒体
指定的媒体的名字
在指定的广播中寻找
指定的媒体的名字
寻找进度的百分比数值
以 Json 字符串的形式返回一个关于媒体的信息
通过名称或 ID 获取媒体实例的位置
通过名称或 ID 获取媒体实例的时间
通过名称或 ID 获取媒体实例的长度
通过名称或 ID 获取媒体实例的退率
从 Vim Media 中得到 Libvlc 事件管理器
A dynamic mapper of LibVlc functions.
Load a LibVlc function from unmanaged to managed.
A custom attribute type cannot be loaded.
For LibVlcFunction, need LibVlcFunctionAttribute to get Infomation
of function.
Can't find function in dll.
Get this is available or not.
Get infomation of this .
Get delegate of this , if is false, this method will throw
exception.
This function isn't available on current version LibVlc.
为 LibVlc 函数委托初始化提供必要的信息
指定该委托在 LibVlc 中的函数名,不限定 LibVlc 的版本
函数名
指定该委托在 LibVlc 中的函数名,并要求不低于指定版本的 LibVlc
函数名
最低支持的 LibVlc
指定该委托在 LibVlc 中的函数名,并要求不低于指定版本的 LibVlc,也不高于指定的最大版本
函数名
最低支持的 LibVlc
最高支持的 LibVlc
指定该委托在 LibVlc 中的函数名,并要求不低于指定版本的 LibVlc,也不高于指定的最大版本
函数名
最低支持的 LibVlc
最高支持的 LibVlc
特定支持的 LibVlc 开发版本
获取一个值,表示函数在 LibVlc 中的名称
获取一个值,表示支持该函数的最小 LibVlc 版本
获取一个值,表示支持该函数的最大 LibVlc 版本
获取一个值,表示特定的开发版本
Version infomation of LibVlc.
Create LibVlcVersion from version string, it must like "2.2.0-Meta Weatherwax".
version string
Can't parse libvlc version string, it must like "2.2.0-Meta Weatherwax".
At least one component of version represents a number greater than
.
Version of LibVlc.
DevString of LibVlc.
Code name of LibVlc.
Check a function is available for this version.
A Vlc unmanaged object.
A pointer of this Vlc object.
A relation of this object.
A Vlc unmanaged object with Vlc event system.
Vlc event manager.
LibVlc dlls manager, load LibVlc and initialize LibVlc to use. Some public method also in this class, like
method.
LibVlc loaded or not.
Handle of libvlc.dll.
Handle of libvlccore.dll.
Directory of LibVlc dlls.
Version infomation of LibVlc.
Load LibVlc dlls, and mapping all function.
directory of LibVlc
Can't load LibVlc dlls, check the platform and LibVlc target platform
(should be same, x86 or x64).
A custom attribute type cannot be loaded.
For LibVlcFunction, need LibVlcFunctionAttribute to get Infomation
of function.
Can't find function in dll.
Can't parse libvlc version string, it must like "2.2.0-Meta Weatherwax".
At least one component of version represents a number greater than
.
Get version string of LibVlc.
Get compiler infomation of LibVlc.
Get changeset of LibVlc.
Frees an heap allocation returned by a LibVLC function, like ANSI C free() method.
the pointer of object to be released
A delegate callback throws an exception.
Release a list of module descriptions.
the list to be released
A delegate callback throws an exception.
Frees the list of available audio output modules.
a pointer of first .
A delegate callback throws an exception.
Frees a list of available audio output devices.
a pointer of first .
A delegate callback throws an exception.
Release (free) pointer of .
A delegate callback throws an exception.
Release media descriptor's elementary streams description array.
pointer tracks info array to release
number of elements in the array
A delegate callback throws an exception.
A warpper for struct.
Create a media track from a pointer, it will distinguish type of media track auto.
pointer of media track
a audio track, video track, subtitle track or unknow track
A warpper for struct.
A warpper for struct.
A warpper for struct.
A warpper for orther media track.
A list warpper for struct.
Create a list of media track from a pointer of array.
pointer of media track array
count of media track array
A warpper for struct.
A list warpper for linklist struct.
Create a readonly list by a pointer of .
Preset audio equlizer type.
A struct with width and height, for downward compatibility.
A warpper for struct.
A list warpper for linklist struct.
Create a readonly list by a pointer of .
创建并初始化一个 LibVlc 实例,并提供相应的参数,这些参数和命令行提供的参数类似,会影响到 LibVlc 实例的默认配置.
有效参数的列表取决于 LibVlc 版本,操作系统,可用 LibVlc 插件和平台.无效或不支持的参数会导致实例创建失败
递减 LibVlc 实例的引用计数,如果它达到零,将会释放这个实例
递增 LibVlc 实例的引用计数,当调用 NewInstance 初始化成功时,引用计数将初始化为1
尝试启动一个用户接口,用于 LibVlc 实例
为 LibVlc 设置一个回调,该回调将会在 LibVlc 退出时被调用,不能与 一起使用.
而且,这个函数应该在播放一个列表或者开始一个用户接口前被调用,否则可能导致 LibVlc 在注册该回调前退出
等待,直到一个接口导致 LibVlc 实例退出为止,在使用之前,应该使用 添加至少一个用户接口.
实际上这个方法只会导致一个线程阻塞,建议使用
设置一个用户代理字符串,当一个协议需要它的时候,LibVlc 将会提供该字符串
设置一些元信息关于该应用程序
获取可用的音频过滤器
获取可用的视频过滤器
使用默认的参数初始化一个 Vlc 实例
Can't create a Vlc instence, check your Vlc options.
A delegate callback throws an exception.
提供指定的参数初始化一个 Vlc 实例
Can't create a Vlc instence, check your Vlc options.
A delegate callback throws an exception.
释放当前 Vlc 资源
获取一个值,该值指示当前模块是否被载入
获取 Vlc 实例的指针
A custom attribute type cannot be loaded.
For LibVlcFunction, need LibVlcFunctionAttribute to get Infomation
of function.
Can't find function in dll.
递增引用计数,在使用 Meta.Vlc 时,一般是不需要调用此方法,引用计数是由 Vlc 类托管的
尝试添加一个用户接口
接口名,为 NULL 则为默认
是否成功添加接口
等待,直到一个接口导致实例退出为止,在使用之前,应该使用 添加至少一个用户接口.
实际上这个方法只会导致线程阻塞
设置一个用户代理字符串,当一个协议需要它的时候,将会提供该字符串
应用程序名称,类似于 "FooBar player 1.2.3",实际上只要能标识应用程序,任何字符串都是可以的
HTTP 用户代理,类似于 "FooBar/1.2.3 Python/2.6.0"
设置一些元信息关于该应用程序
Java 风格的应用标识符,类似于 "com.acme.foobar"
应用程序版本,类似于 "1.2.3"
应用程序图标,类似于 "foobar"
获取可用的音频过滤器
获取可用的视频过滤器
通过名称创建一个新的 VlcMedia
媒体名称
通过给定的文件描述符创建一个新的 VlcMedia
文件描述符
通过给定的文件 Url 创建一个新的 VlcMedia,该 Url 的格式必须以 "file://" 开头,参见 "RFC3986".
文件 Url
通过给定的文件路径创建一个新的 VlcMedia
文件路径
LibVlc error module loaded or not.
Get a readable error message.
return a readable LibVlc error message, if there are no error will return
A delegate callback throws an exception.
Clear error message of current thread.
A delegate callback throws an exception.
A manager of LibVlc event system.
Create a event manager with parent Vlc object and pointer of event manager.
LibVlc event module loaded or not.
Pointer of this event manager.
A relation of this object.
Release this event manager.
A delegate callback throws an exception.
Attach a event with a callback.
event type
callback which will be called when event case
some custom data
Deattach a event with a callback.
event type
callback which will be called when event case
some custom data
Get event type name.
The API warpper of LibVlc media.
获取一个值,该值指示当前模块是否被载入
获取媒体的时间长度
获取该媒体的媒体资源地址
获取媒体当前状态
获取媒体当前统计
获取或设置由用户定义的媒体数据
获取一个值表示该媒体是否已经解析
获取 Media 实例指针
释放 VlcMedia 资源
载入 LibVlc 的 Media 模块,该方法会在 中自动被调用
通过名称创建一个新的 VlcMedia
Vlc 对象
媒体名称
通过给定的文件描述符创建一个新的 VlcMedia
Vlc 对象
文件描述符
通过给定的文件 Url 创建一个新的 VlcMedia,该 Url 的格式必须以 "file://" 开头,参见 "RFC3986".
Vlc 对象
文件 Url
通过给定的文件路径创建一个新的 VlcMedia
Vlc 对象
文件路径
向一个媒体添加选项,这个选项将会确定媒体播放器将如何读取介质,
向一个媒体通过可配置的标志添加一个选项,这个选项将会确定媒体播放器将如何读取介质,
复制一个媒体对象
复制的媒体对象
获取媒体的基本编码器的说明
由 得来
由 得来
返回媒体的基本编码器的说明
获取媒体的某个元属性,如果尚未解析元属性,将会返回 NULL.
这个方法会自动调用 方法,所以你在之后应该会收到一个 MediaMetaChanged 事件.
如果你喜欢同步版本,可以在 GetMeta 之前调用 方法
元属性类型
返回媒体的某个元属性
获取媒体的基本流的描述,注意,在调用该方法之前你需要首先调用 方法,或者至少播放一次.
否则,你将的得到一个空数组
一个 数组
解析一个媒体,获取媒体的元数据和轨道信息
异步解析一个媒体,获取媒体的元数据和轨道信息,这是 的异步版本,
解析完成会触发 事件,您可以跟踪该事件
根据提供的标志异步解析一个媒体,获取媒体的元数据和轨道信息,这是 的高级版本,
默认情况下解析一个本地文件,解析完成会触发 事件,您可以跟踪该事件
递增媒体对象的引用计数
保存当前的元数据到媒体
如果操作成功将会返回 True
设置媒体的元数据
元数据类型
元数据值
获取媒体的基本流的描述,注意,在调用该方法之前你需要首先调用 方法,或者至少播放一次.
否则,你将的得到一个空数组
The lowest layer API warpper of LibVlc media player.
获取一个值,该值指示当前模块是否被载入
载入 LibVlc 的 MediaPlayer 模块,该方法会在 中自动被调用
获取一个值,该值表示 是否正在播放
获取或设置一个值,该值表示 的播放进度,范围为0.0~1.0
获取或设置一个值,该值表示 通过GDI的方式,将视频渲染到指定的窗口句柄
获取一个值,该值表示 目前媒体的长度
获取或设置一个值,该值表示当前媒体播放进度
获取或设置一个值,该值表示当前 播放的章节
获取一个值,该值表示媒体共有多少个章节
获取一个值,该值表示现在媒体是否可以进行播放
获取或设置一个值,该值表示 当前播放的标题
获取或设置一个值,该值表示当前媒体的播放速率
获取一个值,该值示当前媒体状态
获取一个值,该值表示当前媒体的FPS
获取一个值,该值表示当前拥有的视频输出数量
获取一个值,该值表示当前媒体是否允许跳进度
获取一个值,该值表示当前媒体是否允许暂停
获取或设置一个值,该值表示当前媒体音频的音量
获取或设置一个值,该值表示当前媒体是否静音
获取或设置一个值,该值表示音频输出通道
使 开始播放
设置 播放或者暂停
true 代表暂停,false 代表播放或继续
设置 为暂停
设置 为播放
当播放时设置 为暂停,反之为播放
设置 为停止
设置 Audio 的格式
格式字符串,一个四字符的字符串
采样率
通道数
播放上一个章节
播放下一个章节
播放下一帧
设置标题显示位置
位置
显示时间
切换静音状态
获取鼠标坐标
视频输出号
Apply new equalizer settings to a media player.
The media player does not keep a reference to the supplied equalizer so you should set it again when you changed
some value of equalizer.
After you set equalizer you can dispose it. if you want to disable equalizer set it to .
Gets a list of potential audio output devices.
Gets a list of audio output devices for a given audio output module.
Gets the list of available audio output modules.
Selects an audio output module.
Any change will take be effect only after playback is stopped and restarted. Audio output cannot be changed while
playing.
Get the current audio output device identifier.
Configures an explicit audio output device. If the module paramater is NULL,
audio output will be moved to the device specified by the device identifier string immediately.
This is the recommended usage. A list of adequate potential device strings can be obtained with
.
However passing NULL is supported in LibVLC version 2.2.0 and later only; in earlier versions, this function would
have no effects when the module parameter was NULL.
If the module parameter is not NULL, the device parameter of the corresponding audio output, if it exists, will be
set to the specified string.
Note that some audio output modules do not have such a parameter (notably MMDevice and PulseAudio).
A list of adequate potential device strings can be obtained with .
释放 VlcMedia 资源
Some method of Win32 APIs.
进程调用 LoadLibrary 以显式链接到 DLL,如果函数执行成功,它会将指定的 DLL 映射到调用进程的地址空间中并返回该 DLL 的句柄,此句柄可以与其他函数(如 GetProcAddress 和
FreeLibrary)一起在显式链接中使用
LoadLibrary 将尝试使用用于隐式链接的相同搜索序列来查找 DLL.如果系统无法找到所需的 DLL 或者入口点函数返回 FALSE.则 LoadLibrary 将抛出异常.如果对 LoadLibrary 的调用所指定的
DLL 模块已映射到调用进程的地址空间中,则该函数将返回该 DLL 的句柄并递增模块的引用数
DLL 模块地址
返回 DLL 模块句柄,如果出错将抛出异常
显式链接到 DLL 的进程调用 GetProcAddress 来获取 DLL 导出函数的地址,由于是通过指针调用 DLL 函数并且没有编译时类型检查,需确保函数的参数是正确的,以便不会超出在堆栈上分配的内存和不会导致访问冲突
DLL 模块句柄
调用的函数名
返回函数地址
不再需要 DLL 模块时,显式链接到 DLL 的进程调用 FreeLibrary 函数.此函数递减模块的引用数,如果引用数为零,此函数便从进程的地址空间中取消模块的映射
DLL 模块句柄
如果成功会返回 true ,否则会返回 false,请通过 GetLastError 获取更多信息
创建一个新的文件映射内核对象
指定欲在其中创建映射的一个文件句柄,为0xFFFFFFFF则表示创建一个内存文件映射
它指明返回的句柄是否可以被子进程所继承,使用 NULL 表示使用默认安全设置
指定文件映射对象的页面保护
表示映射文件大小的高32位
表示映射文件大小的低32位
指定文件映射对象的名字,如果为 NULL 则会创建一个无名称的文件映射对象
返回文件映射对象指针,如果错误将返回 NULL,请通过 GetLastError 获取更多信息
将一个文件映射对象映射到当前应用程序的地址空间
文件映射对象的句柄
映射对象的文件数据的访问方式,而且同样要与 CreateFileMapping 函数所设置的保护属性相匹配
表示文件映射起始偏移的高32位
表示文件映射起始偏移的低32位
指定映射文件的字节数
返回文件映射在内存中的起始地址,如果错误将返回 NULL,请通过 GetLastError 获取更多信息
关闭一个内核对象.其中包括文件,文件映射,进程,线程,安全和同步对象等
欲关闭的一个对象的句柄
如果成功会返回 true ,否则会返回 false,请通过 GetLastError 获取更多信息