44#define VALIDATE_INDEX_TS_THRESH 2500
46#define RESYNC_BUFFER_SIZE (1<<20)
128 const uint8_t *d = p->buf;
134 d[3] < 5 && d[5] == 0 &&
135 offset + 100 < p->buf_size &&
137 int is_live = !memcmp(d +
offset + 40,
"NGINX RTMP", 10);
157 const uint8_t *d = p->buf;
183 if (
ffstream(stream)->nb_index_entries == 0) {
213 if (
s->nb_streams>=3 ||(
s->nb_streams==2
240 switch (codec_fourcc) {
241 case MKBETAG(
'm',
'p',
'4',
'a'):
243 case MKBETAG(
'O',
'p',
'u',
's'):
245 case MKBETAG(
'.',
'm',
'p',
'3'):
247 case MKBETAG(
'f',
'L',
'a',
'C'):
249 case MKBETAG(
'a',
'c',
'-',
'3'):
251 case MKBETAG(
'e',
'c',
'-',
'3'):
267 switch (flv_codecid) {
270 codec_id = bits_per_coded_sample == 8
279 codec_id = bits_per_coded_sample == 8
313 switch (flv_codecid) {
363 case MKBETAG(
'm',
'p',
'4',
'a'):
366 case MKBETAG(
'O',
'p',
'u',
's'):
370 case MKBETAG(
'.',
'm',
'p',
'3'):
373 case MKBETAG(
'f',
'L',
'a',
'C'):
376 case MKBETAG(
'a',
'c',
'-',
'3'):
379 case MKBETAG(
'e',
'c',
'-',
'3'):
400 switch (flv_codecid) {
401 case MKBETAG(
'v',
'v',
'c',
'1'):
404 case MKBETAG(
'h',
'v',
'c',
'1'):
406 case MKBETAG(
'a',
'v',
'0',
'1'):
408 case MKBETAG(
'v',
'p',
'0',
'9'):
421 case MKBETAG(
'a',
'v',
'c',
'1'):
429 uint32_t flv_codecid,
int read)
436 switch (flv_codecid) {
437 case MKBETAG(
'v',
'v',
'c',
'1'):
442 case MKBETAG(
'h',
'v',
'c',
'1'):
446 case MKBETAG(
'a',
'v',
'0',
'1'):
450 case MKBETAG(
'v',
'p',
'0',
'9'):
484 case MKBETAG(
'a',
'v',
'c',
'1'):
508 if (length >= buffsize) {
527 unsigned int timeslen = 0, fileposlen = 0,
i;
547 unsigned int arraylen;
559 current_array = ×
564 current_array = &filepositions;
565 fileposlen = arraylen;
572 if (!(*current_array =
av_mallocz(
sizeof(**current_array) * arraylen))) {
582 if (isnan(d) || d < INT64_MIN || d > INT64_MAX)
586 current_array[0][
i] = d;
588 if (times && filepositions) {
596 if (timeslen == fileposlen && fileposlen>1 &&
max_pos <= filepositions[0]) {
597 for (
i = 0;
i <
FFMIN(2,fileposlen);
i++) {
606 filepositions =
NULL;
688 av_log(
s,
AV_LOG_ERROR,
"Missing AMF_END_OF_OBJECT in AMF_DATA_TYPE_MIXEDARRAY, found %d\n", v);
695 unsigned int arraylen,
i;
722 if (!strcmp(
key,
"duration"))
724 else if (!strcmp(
key,
"videodatarate") &&
725 0 <= (
int)(num_val * 1024.0))
727 else if (!strcmp(
key,
"audiodatarate") &&
728 0 <= (
int)(num_val * 1024.0))
730 else if (!strcmp(
key,
"framerate")) {
735 if (!strcmp(
key,
"videocodecid") && vpar) {
739 }
else if (!strcmp(
key,
"audiocodecid") && apar) {
744 }
else if (!strcmp(
key,
"audiosamplerate") && apar) {
746 }
else if (!strcmp(
key,
"audiosamplesize") && apar) {
748 }
else if (!strcmp(
key,
"stereo") && apar) {
750 }
else if (!strcmp(
key,
"width") && vpar) {
751 vpar->
width = num_val;
752 }
else if (!strcmp(
key,
"height") && vpar) {
754 }
else if (!strcmp(
key,
"datastream")) {
763 if (!strcmp(
key,
"encoder")) {
765 if (1 == sscanf(str_val,
"Open Broadcaster Software v0.%d", &
version)) {
769 }
else if (!strcmp(
key,
"metadatacreator")) {
770 if ( !strcmp (str_val,
"MEGA")
771 || !strncmp(str_val,
"FlixEngine", 10))
779 if (!strcmp(
key,
"colorPrimaries")) {
781 }
else if (!strcmp(
key,
"transferCharacteristics")) {
782 meta_video_color->
trc = num_val;
783 }
else if (!strcmp(
key,
"matrixCoefficients")) {
785 }
else if (!strcmp(
key,
"maxFall")) {
786 meta_video_color->
max_fall = num_val;
787 }
else if (!strcmp(
key,
"maxCLL")) {
788 meta_video_color->
max_cll = num_val;
789 }
else if (!strcmp(
key,
"redX")) {
791 }
else if (!strcmp(
key,
"redY")) {
793 }
else if (!strcmp(
key,
"greenX")) {
795 }
else if (!strcmp(
key,
"greenY")) {
797 }
else if (!strcmp(
key,
"blueX")) {
799 }
else if (!strcmp(
key,
"blueY")) {
801 }
else if (!strcmp(
key,
"whitePointX")) {
803 }
else if (!strcmp(
key,
"whitePointY")) {
805 }
else if (!strcmp(
key,
"maxLuminance")) {
807 }
else if (!strcmp(
key,
"minLuminance")) {
813 ((!apar && !strcmp(
key,
"audiocodecid")) ||
814 (!vpar && !strcmp(
key,
"videocodecid"))))
817 if ((!strcmp(
key,
"duration") ||
818 !strcmp(
key,
"filesize") ||
819 !strcmp(
key,
"width") ||
820 !strcmp(
key,
"height") ||
821 !strcmp(
key,
"videodatarate") ||
822 !strcmp(
key,
"framerate") ||
823 !strcmp(
key,
"videocodecid") ||
824 !strcmp(
key,
"audiodatarate") ||
825 !strcmp(
key,
"audiosamplerate") ||
826 !strcmp(
key,
"audiosamplesize") ||
827 !strcmp(
key,
"stereo") ||
828 !strcmp(
key,
"audiocodecid") ||
834 av_strlcpy(str_val, num_val > 0 ?
"true" :
"false",
838 snprintf(str_val,
sizeof(str_val),
"%.f", num_val);
856#define TYPE_ONTEXTDATA 1
857#define TYPE_ONCAPTION 2
858#define TYPE_ONCAPTIONINFO 3
859#define TYPE_UNKNOWN 9
865 AVStream *stream, *astream, *vstream;
882 if (!strcmp(
buffer,
"onTextData"))
885 if (!strcmp(
buffer,
"onCaption"))
888 if (!strcmp(
buffer,
"onCaptionInfo"))
891 if (strcmp(
buffer,
"onMetaData") && strcmp(
buffer,
"onCuePoint") && strcmp(
buffer,
"|RtmpSampleAccess")) {
898 for (
i = 0;
i <
s->nb_streams;
i++) {
899 stream =
s->streams[
i];
924 int pre_tag_size = 0;
927 if(!strcmp(
s->iformat->name,
"kux"))
947 av_log(
s,
AV_LOG_WARNING,
"Read FLV header error, input file is not a standard flv format, first PreviousTagSize0 always is 0\n");
985 int size,
int multitrack)
999 int new_count = stream + 1;
1036 "Found invalid index entries, clearing the index.\n");
1037 for (
unsigned i = 0;
i <
s->nb_streams;
i++) {
1050 int nb = -1,
ret, parse_name = 1;
1142 for (
i = 0;
i <
s->nb_streams;
i++) {
1148 if (
i ==
s->nb_streams) {
1180 if (
i >= 8 &&
pos) {
1185 d[3] < 5 && d[5] == 0) {
1199 if (size1 == lsize1 - 11 && size2 == lsize2 - 11) {
1230 if (strcmp(
buffer,
"colorInfo") != 0) {
1253 int has_mastering_primaries, has_mastering_luminance;
1255 has_mastering_primaries =
1256 mastering_meta->
r_x > 0 && mastering_meta->
r_y > 0 &&
1257 mastering_meta->
g_x > 0 && mastering_meta->
g_y > 0 &&
1258 mastering_meta->
b_x > 0 && mastering_meta->
b_y > 0 &&
1285 if (has_mastering_primaries || has_mastering_luminance) {
1303 if (has_mastering_luminance) {
1309 if (has_mastering_primaries) {
1329 int ex_size = (uint8_t)
avio_r8(
s->pb) + 1;
1332 if (ex_size == 256) {
1337 if (ex_size >= *
size) {
1356 *pkt_type = ex_type & 0x0f;
1360 uint32_t nano_offset;
1366 nano_offset = (ex_data[0] << 16) | (ex_data[1] << 8) | ex_data[2];
1370 *dts += nano_offset / 1000000;
1386 int stream_type = -1;
1394 int enhanced_flv = 0;
1397 uint8_t track_idx = 0;
1409 dts |= (unsigned)
avio_r8(
s->pb) << 24;
1410 av_log(
s,
AV_LOG_TRACE,
"type:%d, size:%d, last:%d, dts:%"PRId64
" pos:%"PRId64
"\n",
type,
size, last, dts,
avio_tell(
s->pb));
1418 if (
pos == validate_pos) {
1426 }
else if (
pos > validate_pos) {
1456 multitrack_type = types & 0xF0;
1457 pkt_type = types & 0xF;
1479 enhanced_flv = (
flags >> 7) & 1;
1480 pkt_type = enhanced_flv ?
codec_id : 0;
1495 multitrack_type = types & 0xF0;
1496 pkt_type = types & 0xF;
1523 if (
size > 13 + 1 + 4) {
1527 if (
type == 0 && dts == 0 ||
type < 0) {
1547 "Skipping flv packet: type %d, size %d, flags %d.\n",
1550 if (
avio_seek(
s->pb, next, SEEK_SET) != next) {
1568 int track_size =
size;
1580 for (
i = 0;
i <
s->nb_streams;
i++) {
1585 st->
id == track_idx)
1590 st->
id == track_idx)
1600 if (
i ==
s->nb_streams) {
1638 if (final_size > 0 && final_size <
fsize) {
1644 ts |= (unsigned)
avio_r8(
s->pb) << 24;
1647 else if (
fsize >= 8 &&
fsize - 8 >= final_size) {
1648 fsize -= final_size+4;
1649 goto retry_duration;
1659 int bits_per_coded_sample;
1708 int channel_order =
avio_r8(
s->pb);
1727 else if (
id >= 18 &&
id <= 23)
1729 else if (
id == 0xFE)
1782 if (
size < 0 || track_size < 0) {
1798 if (
size < 3 || track_size < 3) {
1808 "Negative cts, previous timestamps might be wrong.\n");
1810 }
else if (
FFABS(dts -
pts) > 1000*60*15) {
1812 "invalid timestamps %"PRId64
" %"PRId64
"\n", dts,
pts);
1826 if ((
ret =
flv_queue_extradata(flv,
s->pb, multitrack ? track_idx : stream_type, track_size, multitrack)) < 0)
1845 if (
size <= 0 || track_size < 0) {
1874 }
else if (multitrack &&
1909 if (track_size > 0) {
1948 if (last != orig_size + 11 && last != orig_size + 10 &&
1976#define OFFSET(x) offsetof(FLVContext, x)
1977#define VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM
1979 {
"flv_metadata",
"Allocate streams according to the onMetaData array",
OFFSET(trust_metadata),
AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1,
VD },
1980 {
"flv_full_metadata",
"Dump full metadata of the onMetadata",
OFFSET(dump_full_metadata),
AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1,
VD },
1981 {
"flv_ignore_prevtag",
"Ignore the Size of previous tag",
OFFSET(trust_datasize),
AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1,
VD },
1986 .class_name =
"(live) flv/kux demuxer",
1995 .p.extensions =
"flv",
2006 .p.name =
"live_flv",
2008 .p.extensions =
"flv",
2022 .p.extensions =
"kux",
static int64_t fsize(FILE *f)
simple assert() macros that are a bit more flexible than ISO C assert().
#define av_assert0(cond)
assert() equivalent, that is always enabled.
int64_t avio_seek(AVIOContext *s, int64_t offset, int whence)
fseek() equivalent for AVIOContext.
#define AVIO_SEEKABLE_NORMAL
Seeking works like for a local file.
uint64_t avio_rb64(AVIOContext *s)
int64_t avio_size(AVIOContext *s)
Get the filesize.
unsigned int avio_rb16(AVIOContext *s)
int avio_feof(AVIOContext *s)
Similar to feof() but also returns nonzero on read errors.
static av_always_inline int64_t avio_tell(AVIOContext *s)
ftell() equivalent for AVIOContext.
int64_t avio_skip(AVIOContext *s, int64_t offset)
Skip given number of bytes forward.
int avio_read(AVIOContext *s, unsigned char *buf, int size)
Read size bytes from AVIOContext into buf.
int64_t avio_seek_time(AVIOContext *h, int stream_index, int64_t timestamp, int flags)
Seek to a given timestamp relative to some component stream.
unsigned int avio_rb24(AVIOContext *s)
unsigned int avio_rb32(AVIOContext *s)
int avio_r8(AVIOContext *s)
int ffio_read_size(AVIOContext *s, unsigned char *buf, int size)
Read size bytes from AVIOContext into buf.
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static void BS_FUNC skip(BSCTX *bc, unsigned int n)
Skip n bits in the buffer.
static uint32_t BS_FUNC read(BSCTX *bc, unsigned int n)
Return n bits from the buffer, n has to be in the 0-32 range.
static int FUNC metadata(CodedBitstreamContext *ctx, RWContext *rw, APVRawMetadata *current)
#define flags(name, subs,...)
#define i(width, name, range_min, range_max)
static int read_probe(const AVProbeData *p)
Public libavutil channel layout APIs header.
AVCodecParameters * avcodec_parameters_alloc(void)
void avcodec_parameters_free(AVCodecParameters **ppar)
#define FFABS(a)
Absolute value, Note, INT_MIN / INT64_MIN result in undefined behavior as they are not representable ...
int ff_buffer_packet(AVFormatContext *s, AVPacket *pkt)
int ff_add_param_change(AVPacket *pkt, int32_t channels, uint64_t channel_layout, int32_t sample_rate, int32_t width, int32_t height)
Add side data to a packet for changing parameters to the given values.
#define FFERROR_REDO
Returned by demuxers to indicate that data was consumed but discarded (ignored streams or junk data).
int ff_get_extradata(void *logctx, AVCodecParameters *par, AVIOContext *pb, int size)
Allocate extradata with additional AV_INPUT_BUFFER_PADDING_SIZE at end which is always set to 0 and f...
static int read_header(FFV1Context *f, RangeCoder *c)
@ FLV_STREAM_TYPE_SUBTITLE
#define FLV_VIDEO_FRAMETYPE_MASK
@ FLV_HEADER_FLAG_HASVIDEO
@ FLV_HEADER_FLAG_HASAUDIO
#define FLV_AUDIO_SAMPLERATE_OFFSET
#define KEYFRAMES_TIMESTAMP_TAG
@ AMF_DATA_TYPE_OBJECT_END
@ AMF_DATA_TYPE_MIXEDARRAY
@ AMF_DATA_TYPE_UNSUPPORTED
@ AMF_DATA_TYPE_UNDEFINED
#define FLV_AUDIO_SAMPLESIZE_MASK
#define FLV_AUDIO_CODECID_MASK
#define KEYFRAMES_BYTEOFFSET_TAG
#define AMF_END_OF_OBJECT
@ AudioChannelOrderNative
@ AudioChannelOrderCustom
@ FLV_CODECID_NELLYMOSER_16KHZ_MONO
@ FLV_CODECID_NELLYMOSER_8KHZ_MONO
#define FLV_AUDIO_CODECID_OFFSET
@ MultitrackTypeManyTracksManyCodecs
#define FLV_AUDIO_SAMPLERATE_MASK
@ FLV_FRAME_DISP_INTER
disposable inter frame (H.263 only)
@ FLV_FRAME_KEY
key frame (for AVC, a seekable frame)
@ FLV_FRAME_VIDEO_INFO_CMD
video info/command frame
#define FLV_VIDEO_CODECID_MASK
#define FLV_AUDIO_CHANNEL_MASK
@ PacketModExTypeTimestampOffsetNano
@ AudioPacketTypeMultichannelConfig
@ AudioPacketTypeMultitrack
static const int32_t max_pos[4]
Size of the MP-MLQ fixed excitation codebooks.
@ AV_OPT_TYPE_BOOL
Underlying C type is int.
AVCodecID
Identify the syntax and semantics of the bitstream.
@ AV_CODEC_ID_TEXT
raw UTF-8 text
@ AV_CODEC_ID_MP3
preferred ID for decoding MPEG audio layer 1, 2 or 3
#define AV_INPUT_BUFFER_PADDING_SIZE
Required number of additionally allocated bytes at the end of the input bitstream for decoding.
@ AVDISCARD_ALL
discard all
@ AVDISCARD_NONKEY
discard all frames except keyframes
@ AVDISCARD_BIDIR
discard all bidirectional frames
AVPacketSideData * av_packet_side_data_add(AVPacketSideData **psd, int *pnb_sd, enum AVPacketSideDataType type, void *data, size_t size, int flags)
Wrap existing data as packet side data.
@ AV_PKT_DATA_MASTERING_DISPLAY_METADATA
Mastering display metadata (based on SMPTE-2086:2014).
@ AV_PKT_DATA_NEW_EXTRADATA
The AV_PKT_DATA_NEW_EXTRADATA is used to notify the codec or the format that the extradata buffer was...
@ AV_PKT_DATA_CONTENT_LIGHT_LEVEL
Content light level (based on CTA-861.3).
void av_packet_unref(AVPacket *pkt)
Wipe the packet.
#define AV_PKT_FLAG_KEY
The packet contains a keyframe.
int av_packet_add_side_data(AVPacket *pkt, enum AVPacketSideDataType type, uint8_t *data, size_t size)
Wrap an existing array as a packet side data.
AVStream * avformat_new_stream(AVFormatContext *s, const struct AVCodec *c)
Add a new stream to a media file.
int av_add_index_entry(AVStream *st, int64_t pos, int64_t timestamp, int size, int distance, int flags)
Add an index entry into a sorted list.
void av_channel_layout_default(AVChannelLayout *ch_layout, int nb_channels)
Get the default channel layout for a given number of channels.
int av_channel_layout_custom_init(AVChannelLayout *channel_layout, int nb_channels)
Initialize a custom channel layout with the specified number of channels.
void av_channel_layout_uninit(AVChannelLayout *channel_layout)
Free any allocated data in the channel layout and reset the channel count to 0.
int av_channel_layout_from_mask(AVChannelLayout *channel_layout, uint64_t mask)
Initialize a native channel layout from a bitmask indicating which channels are present.
int av_channel_layout_check(const AVChannelLayout *channel_layout)
Check whether a channel layout is valid, i.e.
@ AV_CHAN_UNUSED
Channel is empty can be safely skipped.
@ AV_CHAN_LOW_FREQUENCY_2
@ AV_CHAN_UNKNOWN
Channel contains data, but its position is unknown.
AVDictionaryEntry * av_dict_get(const AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags)
Get a dictionary entry with matching key.
int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags)
Set the given entry in *pm, overwriting an existing entry.
#define AVERROR_PATCHWELCOME
Not yet implemented in FFmpeg, patches welcome.
#define AVERROR_BUG
Internal bug, also see AVERROR_BUG2.
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
#define AVERROR_EOF
End of file.
#define AV_LOG_TRACE
Extremely verbose debugging, useful for libav* development.
#define AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
#define AV_LOG_WARNING
Something somehow does not look correct.
#define AV_LOG_INFO
Standard information.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
const char * av_default_item_name(void *ptr)
Return the context name.
AVRational av_d2q(double d, int max)
Convert a double precision floating point number to a rational.
void * av_realloc_array(void *ptr, size_t nmemb, size_t size)
@ AVMEDIA_TYPE_DATA
Opaque data information usually continuous.
size_t av_strlcpy(char *dst, const char *src, size_t size)
Copy the string src to dst, but no more than size - 1 bytes, and null-terminate dst.
#define AV_NOPTS_VALUE
Undefined timestamp value.
#define AV_TIME_BASE
Internal time base represented as integer.
#define LIBAVUTIL_VERSION_INT
static av_always_inline double av_int2double(uint64_t i)
Reinterpret a 64-bit integer as a double.
static const int factor[16]
Macro definitions for various function/variable attributes.
common internal API header
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static av_cold int read_close(AVFormatContext *ctx)
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
static const uint16_t mask[17]
#define MKBETAG(a, b, c, d)
Memory handling functions.
AVColorPrimaries
Chromaticity coordinates of the source primaries.
AVColorTransferCharacteristic
Color Transfer Characteristic.
AVColorSpace
YUV colorspace type.
@ AVCOL_SPC_RESERVED
reserved for future use by ITU-T and ISO/IEC just like 15-255 are
enum AVMediaType codec_type
union AVChannelLayout::@162063043056170047076125117143030261346263330336 u
Details about which channels are present in this layout.
int nb_channels
Number of channels in this layout.
AVChannelCustom * map
This member must be used when the channel order is AV_CHANNEL_ORDER_CUSTOM.
Describe the class of an AVClass context structure.
This struct describes the properties of an encoded stream.
enum AVColorSpace color_space
int extradata_size
Size of the extradata content in bytes.
int height
The height of the video frame in pixels.
int nb_coded_side_data
Amount of entries in coded_side_data.
int bits_per_coded_sample
The number of bits per sample in the codedwords.
AVChannelLayout ch_layout
The channel layout and number of channels.
int width
The width of the video frame in pixels.
int64_t bit_rate
The average bitrate of the encoded data (in bits per second).
enum AVMediaType codec_type
General type of the encoded data.
uint32_t codec_tag
Additional information about the codec (corresponds to the AVI FOURCC).
uint8_t * extradata
Extra binary data needed for initializing the decoder, codec-dependent.
enum AVCodecID codec_id
Specific type of the encoded data (the codec used).
enum AVColorPrimaries color_primaries
int sample_rate
The number of audio samples per second.
enum AVColorTransferCharacteristic color_trc
AVPacketSideData * coded_side_data
Additional data associated with the entire stream.
Content light level needed by to transmit HDR over HDMI (CTA-861.3).
int seekable
A combination of AVIO_SEEKABLE_ flags or 0 when the stream is not seekable.
int eof_reached
true if was unable to read due to error or eof
This structure stores auxiliary information for decoding, presenting, or otherwise processing the cod...
This structure stores compressed data.
This structure contains the data a format has to probe a file.
Rational number (pair of numerator and denominator).
AVCodecParameters * codecpar
Codec parameters associated with this stream.
enum AVDiscard discard
Selects which packets can be discarded at will and do not need to be demuxed.
int id
Format-specific stream ID.
int index
stream index in AVFormatContext
AVRational avg_frame_rate
Average framerate.
int need_context_update
Whether the internal avctx needs to be updated from codecpar (after a late change to codecpar)
AVIndexEntry * index_entries
Only used if the format does not support seeking natively.
enum AVStreamParseType need_parsing
uint8_t resync_buffer[2 *RESYNC_BUFFER_SIZE]
FLVMetaVideoColor meta_color_info
int wrong_dts
wrong dts due to negative cts
int new_extradata_size[FLV_STREAM_TYPE_NB]
int trust_datasize
trust data size of FLVTag
int last_keyframe_stream_index
uint8_t * new_extradata[FLV_STREAM_TYPE_NB]
enum FLVMetaColorInfoFlag meta_color_info_flag
int64_t * keyframe_filepositions
int dump_full_metadata
Dump full metadata of the onMetadata.
int trust_metadata
configure streams according onMetaData
struct FLVContext::@173004043364206277106171202240343110252007345313 validate_index[2]
#define avpriv_request_sample(...)
static int array[MAX_W *MAX_W]