More about FLV Encoder SDK
FLV Encoder SDK Help >> API

Structures

typedef struct tagFTFLVSTREAMINFO
{
	FTVIDEOINFO* lpVideoInfo;
	FTAUDIOINFO* lpAudioInfo;
	FTWRITEDATACALLBACK lpWriteDataCallback;
	LPVOID lpParam;
} FTFLVSTREAMINFO;

typedef struct tagFTVIDEOINFO
{
	DWORD dwCodec;
	DWORD dwWidth;
	DWORD dwHeight;
} FTVIDEOINFO;

typedef struct tagFTAUDIOINFO
{
	DWORD dwFormat; // only FT_SOUNDFORMAT_UNCOMPRESSED is supported now
	DWORD dwRate;   // one of FT_SOUNDRATE_*, see below
	DWORD dwSize;   // one of FT_SOUNDSIZE_*, see below
	DWORD dwType;   // one of FT_SOUNDTYPE_*, see below
} FTAUDIOINFO;

typedef void (CALLBACK* FTWRITEDATACALLBACK)(LPVOID lpParam, LPCVOID lpData, DWORD nLen);

#define FT_VIDEOCODEC_SCREENVIDEO	0x03

#define FT_SOUNDFORMAT_UNCOMPRESSED	0x00

#define FT_SOUNDRATE_5KHZ			0x00
#define FT_SOUNDRATE_11KHZ			0x01
#define FT_SOUNDRATE_22KHZ			0x02
#define FT_SOUNDRATE_44KHZ			0x03

#define FT_SOUNDSIZE_8BIT			0x00
#define FT_SOUNDSIZE_16BIT			0x01

#define FT_SOUNDTYPE_MONO			0x00
#define FT_SOUNDTYPE_STEREO			0x01

More about FLV Encoder SDK
Copyright © 2004 - 2007 Softanics. All rights reserved.
Macromedia and Shockwave Flash are trademarks of Adobe, Inc.