05.03.2014 Views

M_IVC-4300-RS-R20 20070725.pdf - iEi

M_IVC-4300-RS-R20 20070725.pdf - iEi

M_IVC-4300-RS-R20 20070725.pdf - iEi

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

unsigned long FrameRate,<br />

unsigned long BitRate<br />

);<br />

Parameters<br />

CompressMode: [In] The stream’s compression mode. Refer to Enumeration:<br />

EVideoFormat for details.<br />

SequenceMode: [In] The sequence mode of the encoding stream. There are<br />

three types of frames used in a stream sequence: Intra frames (I), Predictive<br />

frames (P), and Bi-directional frames (B). This member indicates the types of<br />

frames being used in a stream sequence. Refer to enumeration: ESequenceMode<br />

for details.<br />

Width: [In] The desired output stream resolution: horizontal size.<br />

Height: [In] The desired output stream resolution: vertical size.<br />

FrameRate: [In] The real frame rate will be the value of frame rate divided by<br />

1001. For example: if the frame rate = 30000, then the real frame rate = 30000<br />

/ 1001 = 29.97.<br />

BitRate: [In] The desired average bit rate of the encoded stream, in bits per<br />

second (bps).<br />

Return Value<br />

HRESULT<br />

<strong>IVC</strong>Func::SetAudioConfigEx<br />

The SetAudioConfigEx method sets the audio configurations.<br />

Syntax<br />

HRESULT SeAudioConfigEx(<br />

unsigned long Format,<br />

unsigned long SampleRate,<br />

unsigned long Channel,<br />

unsigned long SampleBit<br />

);<br />

Parameters<br />

Format: [In] Audio format. Possible values are included in the Enumeration:<br />

AUDIO_FORMAT.<br />

SampleRate: [In] Audio sample rate, in byte. Possible values are 8000, 16000,<br />

32000, 48000, 11025, 22050, 44100, 48000.<br />

Channel: [In] Audio channels. Possible values are 1 for mono and 2 for stereo.<br />

SampleBit: [In] Audio sample bits. Possible values are 16 bits.<br />

Return Value<br />

HRESULT<br />

<strong>IVC</strong>Func::GetVideoDataCount<br />

The GetVideoDataCount method gets the total video bytes obtained since starting<br />

capturing.<br />

Syntax<br />

HRESULT GetVideoDataCount (<br />

unsigned __int64 * datacount<br />

);<br />

Parameters<br />

datacount: [Out] total video bytes obtained since starting capturing.<br />

Return Value<br />

<strong>IVC</strong>-<strong>4300</strong> 31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!