Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Multimedia API Help

IltmmConvert::get_SourceVideoFOURCC Example for C

Show in webframe

void IltmmConvert_get_SourceVideoFOURCC_Example (IltmmConvert* pConvert)
{
   char szVideoFOURCC[256];
   char szFOURCC[5]; 
   long lVideoFOURCC; 

   IltmmConvert_get_SourceVideoFOURCC(pConvert, &lVideoFOURCC); 

   szFOURCC[0] = (char) (lVideoFOURCC & 0xff); 
   szFOURCC[1] = (char) (lVideoFOURCC & 0xff00) >> 8; 
   szFOURCC[2] = (char) (lVideoFOURCC & 0xff0000) >> 16; 
   szFOURCC[3] = (char) (lVideoFOURCC & 0xff000000) >> 24; 
   szFOURCC[4] = '\0'; 

   strcpy(szVideoFOURCC, "Video FOURCC is ");

   strcat(szVideoFOURCC, szFOURCC); 

   MessageBox(NULL, szVideoFOURCC, NULL, MB_OK);
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.