A VideoCompressors object contains a collection of registered video compressors.
public class VideoCompressors : Leadtools.Multimedia.Compressors, System.Collections.Generic.IEnumerable<Compressor>, System.Collections.IEnumerable, System.IDisposable
Public Class VideoCompressors
Inherits Leadtools.Multimedia.Compressors
Implements System.Collections.Generic.IEnumerable(Of Compressor), System.Collections.IEnumerable, System.IDisposable
public ref class VideoCompressors : public Leadtools.Multimedia.Compressors, System.Collections.Generic.IEnumerable<Compressor>, System.Collections.IEnumerable, System.IDisposable
The CaptureCtrl and ConvertCtrl objects use this collection to enumerate and select video compressors. A VideoCompressors object is not externally creatable and is only obtained through the parent object's CaptureCtrl.VideoCompressors and ConvertCtrl.VideoCompressors properties. This collection object is derived from the general Compressors object collection base class. The VideoCompressors collection object also provides helper properties which can be used to access a particular video compressor for selection and use. For example, you can access and/or select the H264 video compressor by doing the following:
Compressor myComp = captureCtrl.VideoCompressors.H264;
myComp.Selected = true;
OR obtain access directly from the control like this:
captureCtrl.VideoCompressors.H264.Selected = true;
Note: You can also access other registered compressors that do not have helper property accessors by simply using the string indexer like:
captureCtrl.VideoCompressors["@device:sw:{33D9A760-90C8-11D0-BD43-00A0C911CE86}\\Some Other Video Encoder"].Selected = true;
Products |
Support |
Feedback: VideoCompressors Class - Leadtools.Multimedia |
Introduction |
Help Version 19.0.2017.6.16
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.