FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | MOVIentry |
struct | HintSample |
struct | HintSampleQueue |
struct | MOVFragmentInfo |
struct | MOVTrack |
struct | MOVMuxContext |
Enumerations | |
enum | MOVEncryptionScheme { MOV_ENC_NONE = 0, MOV_ENC_CENC_AES_CTR } |
enum | MOVPrftBox { MOV_PRFT_NONE = 0, MOV_PRFT_SRC_WALLCLOCK, MOV_PRFT_SRC_PTS, MOV_PRFT_NB } |
Functions | |
int | ff_mov_write_packet (AVFormatContext *s, AVPacket *pkt) |
int | ff_mov_init_hinting (AVFormatContext *s, int index, int src_index) |
int | ff_mov_add_hinted_packet (AVFormatContext *s, AVPacket *pkt, int track_index, int sample, uint8_t *sample_data, int sample_size) |
void | ff_mov_close_hinting (MOVTrack *track) |
#define MOV_FRAG_INFO_ALLOC_INCREMENT 64 |
Definition at line 30 of file movenc.h.
Referenced by mov_add_tfra_entries().
#define MOV_INDEX_CLUSTER_SIZE 1024 |
Definition at line 31 of file movenc.h.
Referenced by ff_mov_write_packet().
#define MOV_TIMESCALE 1000 |
Definition at line 32 of file movenc.h.
Referenced by mov_create_chapter_track(), mov_init(), mov_write_edts_tag(), mov_write_mvhd_tag(), and mov_write_tkhd_tag().
#define RTP_MAX_PACKET_SIZE 1450 |
Definition at line 34 of file movenc.h.
Referenced by ff_mov_add_hinted_packet(), and ff_mov_init_hinting().
#define MODE_MP4 0x01 |
Definition at line 36 of file movenc.h.
Referenced by mov_init(), mov_write_colr_tag(), mov_write_ftyp_tag(), mov_write_header(), mov_write_tmcd_tag(), mov_write_track_udta_tag(), mov_write_trailer(), and mov_write_video_tag().
#define MODE_MOV 0x02 |
Definition at line 37 of file movenc.h.
Referenced by ff_mov_write_packet(), find_compressor(), mov_find_codec_tag(), mov_init(), mov_write_amr_tag(), mov_write_audio_tag(), mov_write_colr_tag(), mov_write_ftyp_tag(), mov_write_gama_tag(), mov_write_hdlr_tag(), mov_write_header(), mov_write_mdat_tag(), mov_write_mdhd_tag(), mov_write_minf_tag(), mov_write_moov_tag(), mov_write_packet(), mov_write_stbl_tag(), mov_write_tkhd_tag(), mov_write_track_udta_tag(), mov_write_trailer(), mov_write_trak_tag(), mov_write_udta_tag(), and mov_write_video_tag().
#define MODE_3GP 0x04 |
Definition at line 38 of file movenc.h.
Referenced by mov_init(), mov_write_ftyp_tag(), and mov_write_udta_tag().
#define MODE_PSP 0x08 |
Definition at line 39 of file movenc.h.
Referenced by mov_init(), mov_write_ftyp_tag(), mov_write_identification(), mov_write_moov_tag(), and mov_write_trak_tag().
#define MODE_3G2 0x10 |
Definition at line 41 of file movenc.h.
Referenced by mov_init(), and mov_write_ftyp_tag().
#define MODE_IPOD 0x20 |
Definition at line 42 of file movenc.h.
Referenced by mov_find_codec_tag(), mov_init(), mov_write_ftyp_tag(), mov_write_header(), mov_write_trailer(), and mov_write_video_tag().
#define MODE_ISM 0x40 |
Definition at line 43 of file movenc.h.
Referenced by ff_mov_write_packet(), mov_init(), mov_write_ftyp_tag(), mov_write_mdhd_tag(), mov_write_tfhd_tag(), mov_write_tkhd_tag(), and mov_write_traf_tag().
#define MODE_F4V 0x80 |
Definition at line 44 of file movenc.h.
Referenced by mov_init(), and mov_write_ftyp_tag().
#define MOV_SYNC_SAMPLE 0x0001 |
Definition at line 55 of file movenc.h.
Referenced by ff_mov_write_packet(), get_sample_flags(), mov_flush_fragment(), mov_parse_mpeg2_frame(), mov_parse_vc1_frame(), mov_write_sdtp_tag(), mov_write_sidx_tag(), mov_write_stbl_tag(), and mov_write_stss_tag().
#define MOV_PARTIAL_SYNC_SAMPLE 0x0002 |
Definition at line 56 of file movenc.h.
Referenced by ff_mov_write_packet(), mov_parse_mpeg2_frame(), and mov_write_stbl_tag().
#define MOV_DISPOSABLE_SAMPLE 0x0004 |
Definition at line 57 of file movenc.h.
Referenced by ff_mov_write_packet(), and mov_write_sdtp_tag().
#define MOV_TRACK_CTTS 0x0001 |
Definition at line 95 of file movenc.h.
Referenced by ff_mov_write_packet(), mov_write_stbl_tag(), and mov_write_trun_tag().
#define MOV_TRACK_STPS 0x0002 |
Definition at line 96 of file movenc.h.
Referenced by ff_mov_write_packet(), and mov_write_stbl_tag().
#define MOV_TRACK_ENABLED 0x0004 |
Definition at line 97 of file movenc.h.
Referenced by enable_tracks(), and mov_write_tkhd_tag().
#define MOV_TIMECODE_FLAG_DROPFRAME 0x0001 |
Definition at line 99 of file movenc.h.
Referenced by mov_create_timecode_track().
#define FF_MOV_FLAG_RTP_HINT (1 << 0) |
Definition at line 239 of file movenc.h.
Referenced by mov_init(), and mov_write_header().
#define FF_MOV_FLAG_FRAGMENT (1 << 1) |
Definition at line 240 of file movenc.h.
Referenced by ff_mov_write_packet(), mov_flush_fragment(), mov_init(), mov_setup_track_ids(), mov_write_edts_tag(), mov_write_ftyp_tag(), mov_write_header(), mov_write_moov_tag(), mov_write_trailer(), and shift_data().
#define FF_MOV_FLAG_EMPTY_MOOV (1 << 2) |
Definition at line 241 of file movenc.h.
Referenced by ff_mov_write_packet(), mov_init(), mov_write_header(), mov_write_iods_tag(), mov_write_mvhd_tag(), and mov_write_trak_tag().
#define FF_MOV_FLAG_FRAG_KEYFRAME (1 << 3) |
Definition at line 242 of file movenc.h.
Referenced by mov_init(), mov_write_header(), and mov_write_single_packet().
#define FF_MOV_FLAG_SEPARATE_MOOF (1 << 4) |
Definition at line 243 of file movenc.h.
Referenced by mov_flush_fragment(), and mov_init().
#define FF_MOV_FLAG_FRAG_CUSTOM (1 << 5) |
Definition at line 244 of file movenc.h.
Referenced by mov_init(), and mov_write_header().
#define FF_MOV_FLAG_ISML (1 << 6) |
Definition at line 245 of file movenc.h.
Referenced by mov_write_header(), and mov_write_mfra_tag().
#define FF_MOV_FLAG_FASTSTART (1 << 7) |
Definition at line 246 of file movenc.h.
Referenced by mov_init(), mov_write_header(), and mov_write_trailer().
#define FF_MOV_FLAG_OMIT_TFHD_OFFSET (1 << 8) |
Definition at line 247 of file movenc.h.
Referenced by mov_init(), mov_write_tfhd_tag(), and mov_write_trun_tag().
#define FF_MOV_FLAG_DISABLE_CHPL (1 << 9) |
Definition at line 248 of file movenc.h.
Referenced by mov_write_udta_tag().
#define FF_MOV_FLAG_DEFAULT_BASE_MOOF (1 << 10) |
Definition at line 249 of file movenc.h.
Referenced by mov_init(), mov_write_ftyp_tag(), mov_write_tfhd_tag(), and mov_write_trun_tag().
#define FF_MOV_FLAG_DASH (1 << 11) |
Definition at line 250 of file movenc.h.
Referenced by ff_mov_write_packet(), mov_init(), mov_write_ftyp_tag(), and mov_write_moof_tag().
#define FF_MOV_FLAG_FRAG_DISCONT (1 << 12) |
Definition at line 251 of file movenc.h.
Referenced by mov_write_single_packet().
#define FF_MOV_FLAG_DELAY_MOOV (1 << 13) |
Definition at line 252 of file movenc.h.
Referenced by mov_auto_flush_fragment(), mov_flush_fragment(), mov_init(), and mov_write_header().
#define FF_MOV_FLAG_GLOBAL_SIDX (1 << 14) |
Definition at line 253 of file movenc.h.
Referenced by ff_mov_write_packet(), mov_flush_fragment(), mov_write_ftyp_tag(), mov_write_header(), mov_write_moof_tag(), and mov_write_trailer().
#define FF_MOV_FLAG_WRITE_COLR (1 << 15) |
Definition at line 254 of file movenc.h.
Referenced by mov_write_video_tag().
#define FF_MOV_FLAG_WRITE_GAMA (1 << 16) |
Definition at line 255 of file movenc.h.
Referenced by mov_write_video_tag().
#define FF_MOV_FLAG_USE_MDTA (1 << 17) |
Definition at line 256 of file movenc.h.
Referenced by mov_write_meta_tag(), and mov_write_udta_tag().
#define FF_MOV_FLAG_SKIP_TRAILER (1 << 18) |
Definition at line 257 of file movenc.h.
Referenced by mov_write_moof_tag(), and mov_write_trailer().
#define FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS (1 << 19) |
Definition at line 258 of file movenc.h.
Referenced by mov_init(), mov_write_ctts_tag(), mov_write_ftyp_tag(), mov_write_single_packet(), and mov_write_trun_tag().
#define FF_MOV_FLAG_FRAG_EVERY_FRAME (1 << 20) |
Definition at line 259 of file movenc.h.
Referenced by mov_init(), mov_write_header(), and mov_write_single_packet().
enum MOVEncryptionScheme |
enum MOVPrftBox |
int ff_mov_write_packet | ( | AVFormatContext * | s, |
AVPacket * | pkt | ||
) |
Definition at line 5236 of file movenc.c.
Referenced by ff_mov_add_hinted_packet(), mov_create_timecode_track(), and mov_write_single_packet().
int ff_mov_init_hinting | ( | AVFormatContext * | s, |
int | index, | ||
int | src_index | ||
) |
Definition at line 29 of file movenchint.c.
Referenced by mov_write_header().
int ff_mov_add_hinted_packet | ( | AVFormatContext * | s, |
AVPacket * | pkt, | ||
int | track_index, | ||
int | sample, | ||
uint8_t * | sample_data, | ||
int | sample_size | ||
) |
Definition at line 401 of file movenchint.c.
Referenced by ff_mov_write_packet().
Definition at line 459 of file movenchint.c.
Referenced by mov_free().