Previous | Contents | Next

3.5 BCAP_PRESET Enumeration

It enumerates many features of capture library such as video property, video size, Frame per second, audio sampling rate, and video codec, and helps to create BCAP_CONFIG structure rapidly.

enum BCAP_PRESET
{
    BCAP_PRESET_DEFAULT,
    BCAP_PRESET_HALFSIZE,
    BCAP_PRESET_320x240,
    BCAP_PRESET_400x300,
    BCAP_PRESET_512x384,
    BCAP_PRESET_576x432,
    BCAP_PRESET_640x480,
    BCAP_PRESET_800x600,

    BCAP_PRESET_MPEG1,
    BCAP_PRESET_MJPEG,
    BCAP_PRESET_MJPEG_HIGH_QUALITY,
    BCAP_PRESET_MPEG4,

    BCAP_PRESET_YOUTUBE,
    BCAP_PRESET_YOUTUBE_HIGH_QUALITY,
    BCAP_PRESET_YOUTUBE_HIGH_DEFINITION,
    BCAP_PRESET_NAVER_BLOG,
    BCAP_PRESET_DAUM_TVPOT,
    
    BCAP_PRESET_VIDEO_EDITING,
};

You can apply this presets to call BCapConfigPreset() function. This sample code shows how to change presets.

BCAP_CONFIG cfg;
BCapConfigPreset(&cfg, BCAP_PRESET_HALFSIZE);	// Get presets 
m_bandiCaptureLibrary.CheckConfig(&cfg);		// Check invalid parameters
m_bandiCaptureLibrary.SetConfig(&cfg);		// Apply presets for your own

Copyright(C) 2008-2019 Bandicam.com, https://www.bandicam.com
Bandi Capture Library 2.1.0.190 created : 2017-02-03 PM 3:34:53