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_tnew_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 44 of file flvdec.c.

Field Documentation

const AVClass* FLVContext::class

Class for private options.

Definition at line 45 of file flvdec.c.

int FLVContext::trust_metadata

configure streams according onMetaData

Definition at line 46 of file flvdec.c.

Referenced by amf_parse_object().

int FLVContext::trust_datasize

trust data size of FLVTag

Definition at line 47 of file flvdec.c.

Referenced by flv_read_packet().

int FLVContext::dump_full_metadata

Dump full metadata of the onMetadata.

Definition at line 48 of file flvdec.c.

Referenced by amf_parse_object().

int FLVContext::wrong_dts

wrong dts due to negative cts

Definition at line 49 of file flvdec.c.

Referenced by flv_read_packet().

uint8_t* FLVContext::new_extradata[FLV_STREAM_TYPE_NB]

Definition at line 50 of file flvdec.c.

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

int FLVContext::new_extradata_size[FLV_STREAM_TYPE_NB]

Definition at line 51 of file flvdec.c.

Referenced by flv_queue_extradata(), and flv_read_packet().

int FLVContext::last_sample_rate

Definition at line 52 of file flvdec.c.

Referenced by flv_read_packet().

int FLVContext::last_channels

Definition at line 53 of file flvdec.c.

Referenced by flv_read_packet().

int64_t FLVContext::dts

Definition at line 55 of file flvdec.c.

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

int64_t FLVContext::pos

Definition at line 56 of file flvdec.c.

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

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

Definition at line 58 of file flvdec.c.

Referenced by flv_read_packet().

int FLVContext::validate_count

Definition at line 59 of file flvdec.c.

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

int FLVContext::searched_for_end

Definition at line 60 of file flvdec.c.

Referenced by flv_read_packet().

uint8_t FLVContext::resync_buffer[2 *RESYNC_BUFFER_SIZE]

Definition at line 62 of file flvdec.c.

Referenced by resync().

int FLVContext::broken_sizes

Definition at line 64 of file flvdec.c.

Referenced by amf_parse_object(), and flv_read_packet().

int FLVContext::sum_flv_tag_size

Definition at line 65 of file flvdec.c.

Referenced by flv_read_header(), and flv_read_packet().

int FLVContext::last_keyframe_stream_index

Definition at line 67 of file flvdec.c.

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

int FLVContext::keyframe_count

Definition at line 68 of file flvdec.c.

Referenced by add_keyframes_index(), and parse_keyframes_index().

int64_t FLVContext::video_bit_rate

Definition at line 69 of file flvdec.c.

Referenced by amf_parse_object(), and create_stream().

int64_t FLVContext::audio_bit_rate

Definition at line 70 of file flvdec.c.

Referenced by amf_parse_object(), and create_stream().

int64_t* FLVContext::keyframe_times

Definition at line 71 of file flvdec.c.

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

int64_t* FLVContext::keyframe_filepositions

Definition at line 72 of file flvdec.c.

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

int FLVContext::missing_streams

Definition at line 73 of file flvdec.c.

Referenced by create_stream(), and flv_read_header().

AVRational FLVContext::framerate

Definition at line 74 of file flvdec.c.

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

int64_t FLVContext::last_ts

Definition at line 75 of file flvdec.c.

Referenced by flv_read_packet(), and resync().

int64_t FLVContext::time_offset

Definition at line 76 of file flvdec.c.

Referenced by flv_read_packet(), and resync().

int64_t FLVContext::time_pos

Definition at line 77 of file flvdec.c.

Referenced by flv_read_packet(), and resync().

AVClass* FLVContext::av_class

Definition at line 81 of file flvenc.c.

int FLVContext::reserved

Definition at line 82 of file flvenc.c.

Referenced by flv_write_header(), and flv_write_packet().

int64_t FLVContext::duration_offset

Definition at line 83 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

int64_t FLVContext::filesize_offset

Definition at line 84 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

int64_t FLVContext::duration

Definition at line 85 of file flvenc.c.

Referenced by flv_write_packet(), and flv_write_trailer().

int64_t FLVContext::delay

first dts delay (needed for AVC & Speex)

Definition at line 86 of file flvenc.c.

Referenced by flv_init(), and flv_write_packet().

int64_t FLVContext::datastart_offset

Definition at line 88 of file flvenc.c.

Referenced by flv_write_header(), and flv_write_trailer().

int64_t FLVContext::datasize_offset

Definition at line 89 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

int64_t FLVContext::datasize

Definition at line 90 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

int64_t FLVContext::videosize_offset

Definition at line 91 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

int64_t FLVContext::videosize

Definition at line 92 of file flvenc.c.

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

int64_t FLVContext::audiosize_offset

Definition at line 93 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

int64_t FLVContext::audiosize

Definition at line 94 of file flvenc.c.

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

int64_t FLVContext::metadata_size_pos

Definition at line 96 of file flvenc.c.

Referenced by shift_data(), and write_metadata().

int64_t FLVContext::metadata_totalsize_pos

Definition at line 97 of file flvenc.c.

Referenced by shift_data(), and write_metadata().

int64_t FLVContext::metadata_totalsize

Definition at line 98 of file flvenc.c.

Referenced by shift_data(), and write_metadata().

int64_t FLVContext::keyframe_index_size

Definition at line 99 of file flvenc.c.

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

int64_t FLVContext::lasttimestamp_offset

Definition at line 101 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

double FLVContext::lasttimestamp

Definition at line 102 of file flvenc.c.

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

int64_t FLVContext::lastkeyframetimestamp_offset

Definition at line 103 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

double FLVContext::lastkeyframetimestamp

Definition at line 104 of file flvenc.c.

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

int64_t FLVContext::lastkeyframelocation_offset

Definition at line 105 of file flvenc.c.

Referenced by flv_write_trailer(), and write_metadata().

int64_t FLVContext::lastkeyframelocation

Definition at line 106 of file flvenc.c.

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

int FLVContext::acurframeindex

Definition at line 108 of file flvenc.c.

Referenced by flv_write_packet(), and write_metadata().

int64_t FLVContext::keyframes_info_offset

Definition at line 109 of file flvenc.c.

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

int64_t FLVContext::filepositions_count

Definition at line 111 of file flvenc.c.

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

FLVFileposition* FLVContext::filepositions

Definition at line 112 of file flvenc.c.

Referenced by flv_append_keyframe_info(), and parse_keyframes_index().

FLVFileposition* FLVContext::head_filepositions

Definition at line 113 of file flvenc.c.

Referenced by flv_append_keyframe_info(), and flv_write_trailer().

AVCodecParameters* FLVContext::audio_par

Definition at line 115 of file flvenc.c.

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

AVCodecParameters* FLVContext::video_par

Definition at line 116 of file flvenc.c.

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

double FLVContext::framerate

Definition at line 117 of file flvenc.c.

AVCodecParameters* FLVContext::data_par

Definition at line 118 of file flvenc.c.

Referenced by flv_init(), and write_metadata().

int FLVContext::flags

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