24 #ifndef AVFORMAT_MOVENC_H
25 #define AVFORMAT_MOVENC_H
29 #define MOV_INDEX_CLUSTER_SIZE 16384
30 #define MOV_TIMESCALE 1000
32 #define RTP_MAX_PACKET_SIZE 1450
37 #define MODE_PSP 0x08 // example working PSP command line:
40 #define MODE_IPOD 0x20
50 #define MOV_SYNC_SAMPLE 0x0001
51 #define MOV_PARTIAL_SYNC_SAMPLE 0x0002
85 #define MOV_TRACK_CTTS 0x0001
86 #define MOV_TRACK_STPS 0x0002
158 #define FF_MOV_FLAG_RTP_HINT 1
159 #define FF_MOV_FLAG_FRAGMENT 2
160 #define FF_MOV_FLAG_EMPTY_MOOV 4
161 #define FF_MOV_FLAG_FRAG_KEYFRAME 8
162 #define FF_MOV_FLAG_SEPARATE_MOOF 16
163 #define FF_MOV_FLAG_FRAG_CUSTOM 32
164 #define FF_MOV_FLAG_ISML 64
170 int track_index,
int sample,
171 uint8_t *sample_data,
int sample_size);
AVFormatContext * rtp_ctx
the format context for the hinting rtp muxer
int src_track
the track that this hint track describes
int ff_mov_add_hinted_packet(AVFormatContext *s, AVPacket *pkt, int track_index, int sample, uint8_t *sample_data, int sample_size)
struct MOVIentry MOVIentry
struct MOVIndex::@95 vc1_info
unsigned int samples_in_chunk
struct MOVFragmentInfo MOVFragmentInfo
int chapter_track
qt chapter track number
int max_fragment_duration
void ff_mov_close_hinting(MOVTrack *track)
int height
active picture (w/o VBI) height for D-10/IMX
struct MOVMuxContext MOVMuxContext
int hint_track
the track that hints this track, -1 if no hint track is set
uint32_t default_sample_flags
MOVFragmentInfo * frag_info
int ff_mov_init_hinting(AVFormatContext *s, int index, int src_index)
int tref_id
trackID of the referenced track
int64_t cur_rtp_ts_unwrapped
main external API structure.
Describe the class of an AVClass context structure.
int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt)
HintSampleQueue sample_queue
struct HintSampleQueue HintSampleQueue
struct HintSample HintSample
This structure stores compressed data.
int min_fragment_duration