FFmpeg
Data Fields
FLVContext Struct Reference

Data Fields

const AVClassclass
 Class for private options. More...
 
int trust_metadata
 configure streams according onMetaData More...
 
int trust_datasize
 trust data size of FLVTag More...
 
int dump_full_metadata
 Dump full metadata of the onMetadata. More...
 
int wrong_dts
 wrong dts due to negative cts More...
 
uint8_t * new_extradata [FLV_STREAM_TYPE_NB]
 
int new_extradata_size [FLV_STREAM_TYPE_NB]
 
int last_sample_rate
 
int last_channels
 
struct {
   int64_t   dts
 
   int64_t   pos
 
validate_index [2]
 
int validate_next
 
int validate_count
 
int searched_for_end
 
uint8_t resync_buffer [2 *RESYNC_BUFFER_SIZE]
 
int broken_sizes
 
int sum_flv_tag_size
 
int last_keyframe_stream_index
 
int keyframe_count
 
int64_t video_bit_rate
 
int64_t audio_bit_rate
 
int64_t * keyframe_times
 
int64_t * keyframe_filepositions
 
int missing_streams
 
AVRational framerate
 
int64_t last_ts
 
int64_t time_offset
 
int64_t time_pos
 
AVClassav_class
 
int reserved
 
int64_t duration_offset
 
int64_t filesize_offset
 
int64_t duration
 
int64_t delay
 first dts delay (needed for AVC & Speex) More...
 
int64_t datastart_offset
 
int64_t datasize_offset
 
int64_t datasize
 
int64_t videosize_offset
 
int64_t videosize
 
int64_t audiosize_offset
 
int64_t audiosize
 
int64_t metadata_size_pos
 
int64_t metadata_totalsize_pos
 
int64_t metadata_totalsize
 
int64_t keyframe_index_size
 
int64_t lasttimestamp_offset
 
double lasttimestamp
 
int64_t lastkeyframetimestamp_offset
 
double lastkeyframetimestamp
 
int64_t lastkeyframelocation_offset
 
int64_t lastkeyframelocation
 
int acurframeindex
 
int64_t keyframes_info_offset
 
int64_t filepositions_count
 
FLVFilepositionfilepositions
 
FLVFilepositionhead_filepositions
 
AVCodecParametersaudio_par
 
AVCodecParametersvideo_par
 
double framerate
 
AVCodecParametersdata_par
 
int flags
 

Detailed Description

Definition at line 47 of file flvdec.c.

Field Documentation

◆ class

const AVClass* FLVContext::class

Class for private options.

Definition at line 48 of file flvdec.c.

◆ trust_metadata

int FLVContext::trust_metadata

configure streams according onMetaData

Definition at line 49 of file flvdec.c.

Referenced by amf_parse_object().

◆ trust_datasize

int FLVContext::trust_datasize

trust data size of FLVTag

Definition at line 50 of file flvdec.c.

Referenced by flv_read_packet().

◆ dump_full_metadata

int FLVContext::dump_full_metadata

Dump full metadata of the onMetadata.

Definition at line 51 of file flvdec.c.

Referenced by amf_parse_object().

◆ wrong_dts

int FLVContext::wrong_dts

wrong dts due to negative cts

Definition at line 52 of file flvdec.c.

Referenced by flv_read_packet().

◆ new_extradata

uint8_t* FLVContext::new_extradata[FLV_STREAM_TYPE_NB]

Definition at line 53 of file flvdec.c.

Referenced by flv_queue_extradata(), flv_read_close(), and flv_read_packet().

◆ new_extradata_size

int FLVContext::new_extradata_size[FLV_STREAM_TYPE_NB]

Definition at line 54 of file flvdec.c.

Referenced by flv_queue_extradata(), and flv_read_packet().

◆ last_sample_rate

int FLVContext::last_sample_rate

Definition at line 55 of file flvdec.c.

Referenced by flv_read_packet().

◆ last_channels

int FLVContext::last_channels

Definition at line 56 of file flvdec.c.

Referenced by flv_read_packet().

◆ dts

int64_t FLVContext::dts

Definition at line 58 of file flvdec.c.

Referenced by flv_read_packet(), and parse_keyframes_index().

◆ pos

int64_t FLVContext::pos

Definition at line 59 of file flvdec.c.

Referenced by flv_read_packet(), and parse_keyframes_index().

◆ validate_index

struct { ... } FLVContext::validate_index[2]

◆ validate_next

int FLVContext::validate_next

Definition at line 61 of file flvdec.c.

Referenced by flv_read_packet().

◆ validate_count

int FLVContext::validate_count

Definition at line 62 of file flvdec.c.

Referenced by flv_read_packet(), flv_read_seek(), and parse_keyframes_index().

◆ searched_for_end

int FLVContext::searched_for_end

Definition at line 63 of file flvdec.c.

Referenced by flv_read_packet().

◆ resync_buffer

uint8_t FLVContext::resync_buffer[2 *RESYNC_BUFFER_SIZE]

Definition at line 65 of file flvdec.c.

Referenced by resync().

◆ broken_sizes

int FLVContext::broken_sizes

Definition at line 67 of file flvdec.c.

Referenced by amf_parse_object(), and flv_read_packet().

◆ sum_flv_tag_size

int FLVContext::sum_flv_tag_size

Definition at line 68 of file flvdec.c.

Referenced by flv_read_header(), and flv_read_packet().

◆ last_keyframe_stream_index

int FLVContext::last_keyframe_stream_index

Definition at line 70 of file flvdec.c.

Referenced by add_keyframes_index(), create_stream(), flv_read_header(), and flv_read_metabody().

◆ keyframe_count

int FLVContext::keyframe_count

Definition at line 71 of file flvdec.c.

Referenced by add_keyframes_index(), and parse_keyframes_index().

◆ video_bit_rate

int64_t FLVContext::video_bit_rate

Definition at line 72 of file flvdec.c.

Referenced by amf_parse_object(), and create_stream().

◆ audio_bit_rate

int64_t FLVContext::audio_bit_rate

Definition at line 73 of file flvdec.c.

Referenced by amf_parse_object(), and create_stream().

◆ keyframe_times

int64_t* FLVContext::keyframe_times

Definition at line 74 of file flvdec.c.

Referenced by add_keyframes_index(), flv_read_close(), and parse_keyframes_index().

◆ keyframe_filepositions

int64_t* FLVContext::keyframe_filepositions

Definition at line 75 of file flvdec.c.

Referenced by add_keyframes_index(), flv_read_close(), and parse_keyframes_index().

◆ missing_streams

int FLVContext::missing_streams

Definition at line 76 of file flvdec.c.

Referenced by create_stream(), and flv_read_header().

◆ framerate [1/2]

AVRational FLVContext::framerate

Definition at line 77 of file flvdec.c.

Referenced by amf_parse_object(), create_stream(), flv_init(), flv_write_packet(), and write_metadata().

◆ last_ts

int64_t FLVContext::last_ts

Definition at line 78 of file flvdec.c.

Referenced by flv_read_packet(), and resync().

◆ time_offset

int64_t FLVContext::time_offset

Definition at line 79 of file flvdec.c.

Referenced by flv_read_packet(), and resync().

◆ time_pos

int64_t FLVContext::time_pos

Definition at line 80 of file flvdec.c.

Referenced by flv_read_packet(), and resync().

◆ av_class

AVClass* FLVContext::av_class

Definition at line 80 of file flvenc.c.

◆ reserved

int FLVContext::reserved

Definition at line 81 of file flvenc.c.

Referenced by flv_write_header(), and flv_write_packet().

◆ duration_offset

int64_t FLVContext::duration_offset

Definition at line 82 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

◆ filesize_offset

int64_t FLVContext::filesize_offset

Definition at line 83 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

◆ duration

int64_t FLVContext::duration

Definition at line 84 of file flvenc.c.

Referenced by flv_write_packet(), and flv_write_trailer().

◆ delay

int64_t FLVContext::delay

first dts delay (needed for AVC & Speex)

Definition at line 85 of file flvenc.c.

Referenced by flv_init(), and flv_write_packet().

◆ datastart_offset

int64_t FLVContext::datastart_offset

Definition at line 87 of file flvenc.c.

Referenced by flv_write_header(), and flv_write_trailer().

◆ datasize_offset

int64_t FLVContext::datasize_offset

Definition at line 88 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

◆ datasize

int64_t FLVContext::datasize

Definition at line 89 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

◆ videosize_offset

int64_t FLVContext::videosize_offset

Definition at line 90 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

◆ videosize

int64_t FLVContext::videosize

Definition at line 91 of file flvenc.c.

Referenced by flv_write_packet(), flv_write_trailer(), and write_metadata().

◆ audiosize_offset

int64_t FLVContext::audiosize_offset

Definition at line 92 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

◆ audiosize

int64_t FLVContext::audiosize

Definition at line 93 of file flvenc.c.

Referenced by flv_write_packet(), flv_write_trailer(), and write_metadata().

◆ metadata_size_pos

int64_t FLVContext::metadata_size_pos

Definition at line 95 of file flvenc.c.

Referenced by shift_data(), and write_metadata().

◆ metadata_totalsize_pos

int64_t FLVContext::metadata_totalsize_pos

Definition at line 96 of file flvenc.c.

Referenced by shift_data(), and write_metadata().

◆ metadata_totalsize

int64_t FLVContext::metadata_totalsize

Definition at line 97 of file flvenc.c.

Referenced by shift_data(), and write_metadata().

◆ keyframe_index_size

int64_t FLVContext::keyframe_index_size

Definition at line 98 of file flvenc.c.

Referenced by flv_write_trailer(), shift_data(), and write_metadata().

◆ lasttimestamp_offset

int64_t FLVContext::lasttimestamp_offset

Definition at line 100 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

◆ lasttimestamp

double FLVContext::lasttimestamp

Definition at line 101 of file flvenc.c.

Referenced by flv_write_packet(), flv_write_trailer(), and write_metadata().

◆ lastkeyframetimestamp_offset

int64_t FLVContext::lastkeyframetimestamp_offset

Definition at line 102 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

◆ lastkeyframetimestamp

double FLVContext::lastkeyframetimestamp

Definition at line 103 of file flvenc.c.

Referenced by flv_write_packet(), flv_write_trailer(), and write_metadata().

◆ lastkeyframelocation_offset

int64_t FLVContext::lastkeyframelocation_offset

Definition at line 104 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

◆ lastkeyframelocation

int64_t FLVContext::lastkeyframelocation

Definition at line 105 of file flvenc.c.

Referenced by flv_write_packet(), flv_write_trailer(), and write_metadata().

◆ acurframeindex

int FLVContext::acurframeindex

Definition at line 107 of file flvenc.c.

Referenced by flv_write_packet(), and write_metadata().

◆ keyframes_info_offset

int64_t FLVContext::keyframes_info_offset

Definition at line 108 of file flvenc.c.

Referenced by flv_write_trailer(), shift_data(), and write_metadata().

◆ filepositions_count

int64_t FLVContext::filepositions_count

Definition at line 110 of file flvenc.c.

Referenced by flv_append_keyframe_info(), flv_deinit(), flv_write_trailer(), and shift_data().

◆ filepositions

FLVFileposition* FLVContext::filepositions

Definition at line 111 of file flvenc.c.

Referenced by flv_append_keyframe_info(), and flv_deinit().

◆ head_filepositions

FLVFileposition* FLVContext::head_filepositions

Definition at line 112 of file flvenc.c.

Referenced by flv_append_keyframe_info(), flv_deinit(), and flv_write_trailer().

◆ audio_par

AVCodecParameters* FLVContext::audio_par

Definition at line 114 of file flvenc.c.

Referenced by flv_init(), flv_write_codec_header(), flv_write_header(), and write_metadata().

◆ video_par

AVCodecParameters* FLVContext::video_par

Definition at line 115 of file flvenc.c.

Referenced by flv_init(), flv_write_header(), flv_write_packet(), and write_metadata().

◆ framerate [2/2]

double FLVContext::framerate

Definition at line 116 of file flvenc.c.

◆ data_par

AVCodecParameters* FLVContext::data_par

Definition at line 117 of file flvenc.c.

Referenced by flv_init(), and write_metadata().

◆ flags

int FLVContext::flags

The documentation for this struct was generated from the following files: