void IltmmCompressor_get_Reliability_Example (IltmmCapture* pCapture)
{
// Selecting the first stable video compressor:
IltmmCompressors *pVideoCompressors;
IltmmCompressor *pCompressor;
long i, lCount, lReliability;
IltmmCapture_get_VideoCompressors(pCapture, &pVideoCompressors);
IltmmCompressors_get_Count(pVideoCompressors, &lCount);
for ( i=0; i<lCount; i++ )
{
IltmmCompressors_put_Selection(pVideoCompressors, i);
IltmmCompressors_Item(pVideoCompressors, i, &pCompressor);
IltmmCompressor_get_Reliability(pCompressor, &lReliability);
IltmmCompressor_Release(pCompressor);
if( lReliability == ltmmCompressor_Reliability_Stable )
{
IltmmCompressors_put_Selection(pVideoCompressors, i);
break;
}
}
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document