void IltmmPlay_get_SourceVideoFOURCC_Example (IltmmPlay* pPlay)
{
char szSourceVideoFOURCC[256];
char szFOURCC[5];
long lSourceVideoFOURCC;
IltmmPlay_get_SourceVideoFOURCC(pPlay, &lSourceVideoFOURCC);
if (lSourceVideoFOURCC == 0)
{
strcpy(szSourceVideoFOURCC, "source video is not a FOURCC");
}
else
{
szFOURCC[0] = (lSourceVideoFOURCC & 0xff);
szFOURCC[1] = (lSourceVideoFOURCC & 0xff00) >> 8;
szFOURCC[2] = (lSourceVideoFOURCC & 0xff0000) >> 16;
szFOURCC[3] = (lSourceVideoFOURCC & 0xff000000) >> 24;
szFOURCC[4] = '\0';
strcpy(szSourceVideoFOURCC, "Source Video ID is ");
strcat(szSourceVideoFOURCC, szFOURCC);
}
MessageBox(NULL, szSourceVideoFOURCC, NULL, MB_OK);
}
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