Go to the documentation of this file.
28 #ifndef AVFORMAT_FLV_H
29 #define AVFORMAT_FLV_H
32 #define FLV_AUDIO_SAMPLESSIZE_OFFSET 1
33 #define FLV_AUDIO_SAMPLERATE_OFFSET 2
34 #define FLV_AUDIO_CODECID_OFFSET 4
36 #define FLV_VIDEO_FRAMETYPE_OFFSET 4
42 #define FLV_IS_EX_HEADER 0x80
45 #define FLV_AUDIO_CHANNEL_MASK 0x01
46 #define FLV_AUDIO_SAMPLESIZE_MASK 0x02
47 #define FLV_AUDIO_SAMPLERATE_MASK 0x0c
48 #define FLV_AUDIO_CODECID_MASK 0xf0
50 #define FLV_VIDEO_CODECID_MASK 0x0f
51 #define FLV_VIDEO_FRAMETYPE_MASK 0x70
53 #define AMF_END_OF_OBJECT 0x09
55 #define KEYFRAMES_TAG "keyframes"
56 #define KEYFRAMES_TIMESTAMP_TAG "times"
57 #define KEYFRAMES_BYTEOFFSET_TAG "filepositions"
@ AMF_DATA_TYPE_OBJECT_END
@ AMF_DATA_TYPE_REFERENCE
@ FLV_STREAM_TYPE_SUBTITLE
@ PacketTypeMPEG2TSSequenceStart
@ AMF_DATA_TYPE_UNDEFINED
@ PacketTypeSequenceStart
@ FLV_HEADER_FLAG_HASAUDIO
#define FLV_AUDIO_CODECID_OFFSET
#define FLV_AUDIO_SAMPLESSIZE_OFFSET
@ AMF_DATA_TYPE_UNSUPPORTED
@ FLV_FRAME_VIDEO_INFO_CMD
video info/command frame
@ FLV_FRAME_KEY
key frame (for AVC, a seekable frame)
@ FLV_SAMPLERATE_SPECIAL
signifies 5512Hz and 8000Hz in the case of NELLYMOSER
@ FLV_FRAME_INTER
inter frame (for AVC, a non-seekable frame)
@ FLV_HEADER_FLAG_HASVIDEO
#define FLV_AUDIO_SAMPLERATE_OFFSET
#define FLV_VIDEO_FRAMETYPE_OFFSET
@ AMF_DATA_TYPE_MIXEDARRAY
@ AMF_DATA_TYPE_LONG_STRING
@ FLV_CODECID_NELLYMOSER_8KHZ_MONO
@ FLV_FRAME_DISP_INTER
disposable inter frame (H.263 only)
@ FLV_FRAME_GENERATED_KEY
generated key frame (reserved for server use only)
@ FLV_CODECID_NELLYMOSER_16KHZ_MONO