FFmpeg
|
#include "avformat.h"
Go to the source code of this file.
Data Structures | |
struct | MOVIentry |
struct | HintSample |
struct | HintSampleQueue |
struct | MOVFragmentInfo |
struct | MOVTrack |
struct | MOVMuxContext |
Macros | |
#define | MOV_FRAG_INFO_ALLOC_INCREMENT 64 |
#define | MOV_INDEX_CLUSTER_SIZE 1024 |
#define | MOV_TIMESCALE 1000 |
#define | RTP_MAX_PACKET_SIZE 1450 |
#define | MODE_MP4 0x01 |
#define | MODE_MOV 0x02 |
#define | MODE_3GP 0x04 |
#define | MODE_PSP 0x08 |
#define | MODE_3G2 0x10 |
#define | MODE_IPOD 0x20 |
#define | MODE_ISM 0x40 |
#define | MODE_F4V 0x80 |
#define | MOV_SYNC_SAMPLE 0x0001 |
#define | MOV_PARTIAL_SYNC_SAMPLE 0x0002 |
#define | MOV_TRACK_CTTS 0x0001 |
#define | MOV_TRACK_STPS 0x0002 |
#define | MOV_TRACK_ENABLED 0x0004 |
#define | MOV_TIMECODE_FLAG_DROPFRAME 0x0001 |
#define | MOV_TIMECODE_FLAG_24HOURSMAX 0x0002 |
#define | MOV_TIMECODE_FLAG_ALLOWNEGATIVE 0x0004 |
#define | FF_MOV_FLAG_RTP_HINT 1 |
#define | FF_MOV_FLAG_FRAGMENT 2 |
#define | FF_MOV_FLAG_EMPTY_MOOV 4 |
#define | FF_MOV_FLAG_FRAG_KEYFRAME 8 |
#define | FF_MOV_FLAG_SEPARATE_MOOF 16 |
#define | FF_MOV_FLAG_FRAG_CUSTOM 32 |
#define | FF_MOV_FLAG_ISML 64 |
#define | FF_MOV_FLAG_FASTSTART 128 |
#define | FF_MOV_FLAG_OMIT_TFHD_OFFSET 256 |
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 29 of file movenc.h.
Referenced by mov_flush_fragment().
#define MOV_INDEX_CLUSTER_SIZE 1024 |
Definition at line 30 of file movenc.h.
Referenced by ff_mov_write_packet().
#define MOV_TIMESCALE 1000 |
Definition at line 31 of file movenc.h.
Referenced by mov_create_chapter_track(), mov_write_edts_tag(), mov_write_header(), mov_write_mvhd_tag(), and mov_write_tkhd_tag().
#define RTP_MAX_PACKET_SIZE 1450 |
Definition at line 33 of file movenc.h.
Referenced by ff_mov_add_hinted_packet(), and ff_mov_init_hinting().
#define MODE_MP4 0x01 |
Definition at line 35 of file movenc.h.
Referenced by mov_find_codec_tag(), mov_write_ftyp_tag(), mov_write_header(), and mov_write_trailer().
#define MODE_MOV 0x02 |
Definition at line 36 of file movenc.h.
Referenced by ff_mov_write_packet(), find_compressor(), mov_write_amr_tag(), mov_write_audio_tag(), mov_write_ftyp_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_stbl_tag(), mov_write_tkhd_tag(), mov_write_trailer(), mov_write_trak_tag(), mov_write_udta_tag(), and mov_write_video_tag().
#define MODE_3GP 0x04 |
Definition at line 37 of file movenc.h.
Referenced by mov_find_codec_tag(), mov_write_ftyp_tag(), mov_write_header(), and mov_write_udta_tag().
#define MODE_PSP 0x08 |
Definition at line 38 of file movenc.h.
Referenced by mov_find_codec_tag(), mov_write_ftyp_tag(), mov_write_header(), mov_write_moov_tag(), and mov_write_trak_tag().
#define MODE_3G2 0x10 |
Definition at line 40 of file movenc.h.
Referenced by mov_write_ftyp_tag(), and mov_write_header().
#define MODE_IPOD 0x20 |
Definition at line 41 of file movenc.h.
Referenced by mov_find_codec_tag(), mov_write_ftyp_tag(), mov_write_header(), mov_write_trailer(), and mov_write_video_tag().
#define MODE_ISM 0x40 |
Definition at line 42 of file movenc.h.
Referenced by mov_find_codec_tag(), mov_write_ftyp_tag(), mov_write_header(), mov_write_mdhd_tag(), mov_write_tfhd_tag(), mov_write_tkhd_tag(), and mov_write_traf_tag().
#define MODE_F4V 0x80 |
Definition at line 43 of file movenc.h.
Referenced by mov_find_codec_tag(), mov_write_ftyp_tag(), and mov_write_header().
#define MOV_SYNC_SAMPLE 0x0001 |
Definition at line 53 of file movenc.h.
Referenced by ff_mov_write_packet(), get_sample_flags(), mov_parse_mpeg2_frame(), mov_parse_vc1_frame(), mov_write_stbl_tag(), and mov_write_stss_tag().
#define MOV_PARTIAL_SYNC_SAMPLE 0x0002 |
Definition at line 54 of file movenc.h.
Referenced by ff_mov_write_packet(), mov_parse_mpeg2_frame(), and mov_write_stbl_tag().
#define MOV_TRACK_CTTS 0x0001 |
Definition at line 90 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 91 of file movenc.h.
Referenced by ff_mov_write_packet(), and mov_write_stbl_tag().
#define MOV_TRACK_ENABLED 0x0004 |
Definition at line 92 of file movenc.h.
Referenced by enable_tracks(), and mov_write_tkhd_tag().
#define MOV_TIMECODE_FLAG_DROPFRAME 0x0001 |
Definition at line 94 of file movenc.h.
Referenced by mov_create_timecode_track().
#define FF_MOV_FLAG_RTP_HINT 1 |
Definition at line 180 of file movenc.h.
Referenced by mov_write_header().
#define FF_MOV_FLAG_FRAGMENT 2 |
Definition at line 181 of file movenc.h.
Referenced by ff_mov_write_packet(), mov_flush_fragment(), mov_write_header(), mov_write_moov_tag(), mov_write_trailer(), and supports_edts().
#define FF_MOV_FLAG_EMPTY_MOOV 4 |
Definition at line 182 of file movenc.h.
Referenced by mov_flush_fragment(), and mov_write_header().
#define FF_MOV_FLAG_FRAG_KEYFRAME 8 |
Definition at line 183 of file movenc.h.
Referenced by mov_write_header(), and mov_write_single_packet().
#define FF_MOV_FLAG_SEPARATE_MOOF 16 |
Definition at line 184 of file movenc.h.
Referenced by mov_flush_fragment(), mov_write_header(), and mov_write_trun_tag().
#define FF_MOV_FLAG_FRAG_CUSTOM 32 |
Definition at line 185 of file movenc.h.
Referenced by mov_write_header().
#define FF_MOV_FLAG_ISML 64 |
Definition at line 186 of file movenc.h.
Referenced by mov_write_header(), and mov_write_mfra_tag().
#define FF_MOV_FLAG_FASTSTART 128 |
Definition at line 187 of file movenc.h.
Referenced by mov_write_header(), and mov_write_trailer().
#define FF_MOV_FLAG_OMIT_TFHD_OFFSET 256 |
Definition at line 188 of file movenc.h.
Referenced by mov_write_tfhd_tag(), and mov_write_trun_tag().
int ff_mov_write_packet | ( | AVFormatContext * | s, |
AVPacket * | pkt | ||
) |
Definition at line 3274 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().