Click or drag to resize

Library Class

Provides access to the underlying FFmpeg library information.
Inheritance Hierarchy
SystemObject
  CSVideoPlayerLibrary

Namespace:  CSVideoPlayer
Assembly:  CSVideoPlayer (in CSVideoPlayer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static class Library

The Library type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberDecoderNames
Gets the registered FFmpeg decoder codec names.
Public propertyStatic memberEnableWpfMultiThreadedVideo
Gets or sets a value indicating whether the video visualization control creates its own dispatcher thread to handle rendering of video frames. This is an experimental feature and it is useful when creating video walls. For example if you want to display multiple videos at a time and don't want to use time from the main UI thread. This feature is only valid if we are in a WPF context.
Public propertyStatic memberEncoderNames
Gets the registered FFmpeg decoder codec names.
Public propertyStatic memberFFmpegDirectory
Gets or sets the FFmpeg path from which to load the FFmpeg binaries. You must set this path before setting the Source property for the first time on any instance of this control. Setting this property when FFmpeg binaries have been registered will have no effect.
Public propertyStatic memberFFmpegLoadModeFlags
Gets or sets the bitwise library identifiers to load. See the FFmpegLoadMode constants. If FFmpeg is already loaded, the value cannot be changed.
Public propertyStatic memberFFmpegLogLevel
Gets or sets the FFmpeg log level.
Public propertyStatic memberFFmpegVersionInfo
Gets the FFmpeg version information. Returns null when the libraries have not been loaded.
Public propertyStatic memberInputFormatNames
Gets the registered FFmpeg input format names.
Public propertyStatic memberIsFrameSyncDisabled
Gets or sets a value indicating whether frame synchronization is disabled. Setting this to true prevents the use of multimedia timers.
Public propertyStatic memberIsInitialized
Gets a value indicating whether the FFmpeg library has been initialized.
Top
Methods
  NameDescription
Public methodStatic memberLoadFFmpeg
Forces the pre-loading of the FFmpeg libraries according to the values of the FFmpegDirectory and FFmpegLoadModeFlags Also, sets the FFmpegVersionInfo property. Throws an exception if the libraries cannot be loaded.
Public methodStatic memberLoadFFmpegAsync
Public methodStatic memberUnloadFFmpeg
Unloads FFmpeg libraries from memory.
Top
See Also