#include <cFLVFile.h>
|
enum | FLV_FORMFLAG_TYPE { FLV_FORMFLAG_VIDEO = 0x1
, FLV_FORMFLAG_AUDIO = 0x4
} |
|
enum | FLV_META_TYPE {
FLV_META_Number = 0
, FLV_META_Boolean
, FLV_META_String
, FLV_META_Object
,
FLV_META_MovieClip
, FLV_META_Null
, FLV_META_Undef
, FLV_META_Ref
,
FLV_META_ECMA
, FLV_META_END
, FLV_META_StrictArray
, FLV_META_Date
,
FLV_META_LongString
} |
|
cStreamInput * | m_pStreamInput |
| read from this file or memory stream More...
|
|
cAVSink * | m_pAVSink |
| Output to this destination cAVSink. More...
|
|
◆ cFLVFileReader()
◆ ~cFLVFileReader()
virtual GrayLib::cFLVFileReader::~cFLVFileReader |
( |
void |
| ) |
|
|
inlinevirtual |
◆ ReadFrame()
Read a TAG_VIDEO or TAG_AUDIO frame. Each frame has its own complete header in bFormFlag.
- Todo:
- handle compression format change mid stream.
◆ ReadMeta()
HRESULT GrayLib::cFLVFileReader::ReadMeta |
( |
UINT32 |
uLenBlockMax, |
|
|
FLV_META_TYPE |
eTypeEnd, |
|
|
UINT32 |
uQtyMax |
|
) |
| |
|
protected |
◆ ReadMetaString()
◆ ReadStream()
HRESULT GrayLib::cFLVFileReader::ReadStream |
( |
| ) |
|
|
overridevirtual |
Read a complete MIME_EXT_flv file read m_pStreamInput to m_pAVSink
- Returns
- # of frames.
Implements GrayLib::cAVReader.
◆ ReadTag()
Read the tag block in the FLV file.
◆ ReadUI16()
HRESULT GrayLib::cFLVFileReader::ReadUI16 |
( |
WORD & |
uVal | ) |
|
|
protected |
Read Network order bytes.
◆ ReadUI24()
HRESULT GrayLib::cFLVFileReader::ReadUI24 |
( |
UINT32 & |
uVal | ) |
|
|
protected |
Read Network order bytes.
◆ ReadUI32()
HRESULT GrayLib::cFLVFileReader::ReadUI32 |
( |
UINT32 & |
uVal | ) |
|
|
protected |
Read Network order bytes.
◆ UNITTEST_FRIEND()
◆ UpdateHeaderAudio()
HRESULT GrayLib::cFLVFileReader::UpdateHeaderAudio |
( |
BYTE |
bFormFlag | ) |
|
|
protected |
Update the stream with the new frame format header.
- Returns
- S_OK = ok.
◆ UpdateHeaderVideo()
HRESULT GrayLib::cFLVFileReader::UpdateHeaderVideo |
( |
BYTE |
bFormFlag | ) |
|
|
protected |
Update the stream with the new frame format header.
◆ k_FLAG_Header
const BYTE GrayLib::cFLVFileReader::k_FLAG_Header = 0x80 |
|
static |
We completed the header. FLV_FORMFLAG_TYPE.
◆ m_bFormFlagsFound
BYTE GrayLib::cFLVFileReader::m_bFormFlagsFound |
FLV_FORMFLAG_TYPE mask. What stream types have i got.
◆ m_FramesQ
The documentation for this class was generated from the following files: