|
FFmpeg
|
#include "config_components.h"#include <math.h>#include <stdint.h>#include <inttypes.h>#include "movenc.h"#include "avformat.h"#include "avio_internal.h"#include "dovi_isom.h"#include "riff.h"#include "avio.h"#include "iamf_writer.h"#include "isom.h"#include "av1.h"#include "avc.h"#include "evc.h"#include "apv.h"#include "lcevc.h"#include "libavcodec/ac3_parser_internal.h"#include "libavcodec/dnxhddata.h"#include "libavcodec/flac.h"#include "libavcodec/mpegaudiodata.h"#include "libavcodec/get_bits.h"#include "libavcodec/internal.h"#include "libavcodec/put_bits.h"#include "libavcodec/vc1_common.h"#include "libavcodec/raw.h"#include "internal.h"#include "libavutil/avstring.h"#include "libavutil/channel_layout.h"#include "libavutil/csp.h"#include "libavutil/intfloat.h"#include "libavutil/mathematics.h"#include "libavutil/mem.h"#include "libavutil/opt.h"#include "libavutil/dict.h"#include "libavutil/pixdesc.h"#include "libavutil/stereo3d.h"#include "libavutil/timecode.h"#include "libavutil/dovi_meta.h"#include "libavutil/uuid.h"#include "hevc.h"#include "rtpenc.h"#include "nal.h"#include "mov_chan.h"#include "movenc_ttml.h"#include "mux.h"#include "rawutils.h"#include "ttmlenc.h"#include "version.h"#include "vpcc.h"#include "vvc.h"Go to the source code of this file.
Data Structures | |
| struct | eac3_info |
| struct | mpeg4_bit_rate_values |
Macros | |
| #define | IS_MODE(muxer, config) |
Variables | ||
| static const AVOption | options [] | |
| static const AVClass | mov_isobmff_muxer_class | |
| struct { | ||
| enum AVPixelFormat pix_fmt | ||
| uint32_t tag | ||
| unsigned bps | ||
| } | mov_pix_fmt_tags [] | |
| static const AVCodecTag | codec_cover_image_tags [] | |
| static const uint16_t | fiel_data [] | |
| static const AVCodecTag | codec_mp4_tags [] | |
| static const AVCodecTag | codec_ism_tags [] | |
| static const AVCodecTag | codec_ipod_tags [] | |
| static const AVCodecTag | codec_f4v_tags [] | |
| #define IS_MODE | ( | muxer, | |
| config ) |
Referenced by mov_init().
|
static |
Definition at line 9051 of file movenc.c.
Referenced by compute_moov_size(), and mov_flush_fragment().
|
static |
Definition at line 7526 of file movenc.c.
Referenced by mov_write_packet(), mov_write_squashed_packet(), mov_write_subtitle_end_packet(), and mov_write_trailer().
|
static |
Definition at line 144 of file movenc.c.
Referenced by mov_write_3gp_udta_tag(), mov_write_hdlr_tag(), mov_write_psp_udta_tag(), mov_write_tmcd_tag(), and mov_write_track_metadata().
|
static |
Definition at line 156 of file movenc.c.
Referenced by mov_write_3gp_udta_tag(), mov_write_apvc_tag(), mov_write_audio_tag(), mov_write_aux_tag(), mov_write_av1c_tag(), mov_write_av3c_tag(), mov_write_avcc_tag(), mov_write_btrt_tag(), mov_write_ccst_tag(), mov_write_chan_tag(), mov_write_chnl_tag(), mov_write_chpl_tag(), mov_write_colr_tag(), mov_write_covr(), mov_write_dfla_tag(), mov_write_dinf_tag(), mov_write_dmlp_tag(), mov_write_dops_tag(), mov_write_emsg_tag(), mov_write_esds_tag(), mov_write_evcc_tag(), mov_write_eyes_tag(), mov_write_freeform_tag(), mov_write_ftyp_tag(), mov_write_gmhd_tag(), mov_write_gpmd_tag(), mov_write_hdlr_tag(), mov_write_header(), mov_write_hvcc_tag(), mov_write_iinf_tag(), mov_write_iloc_tag(), mov_write_ilst_tag(), mov_write_iods_tag(), mov_write_ipco_tag(), mov_write_ipma_tag(), mov_write_iprp_tag(), mov_write_iref_tag(), mov_write_isml_manifest(), mov_write_ispe_tag(), mov_write_lhvc_tag(), mov_write_loci_tag(), mov_write_lvcc_tag(), mov_write_mdia_tag(), mov_write_mdta_ilst_tag(), mov_write_mdta_keys_tag(), mov_write_meta_tag(), mov_write_mfra_tag(), mov_write_mhac_tag(), mov_write_minf_tag(), mov_write_moof_tag_internal(), mov_write_moov_tag(), mov_write_ms_tag(), mov_write_mvex_tag(), mov_write_pcmc_tag(), mov_write_pitm_tag(), mov_write_pixi_tag(), mov_write_prft_tag(), mov_write_pssh_tag(), mov_write_rtp_tag(), mov_write_SA3D_tag(), mov_write_sdtp_tag(), mov_write_sidx_tag(), mov_write_source_reference_tag(), mov_write_srat_tag(), mov_write_stbl_tag(), mov_write_stco_tag(), mov_write_string_tag(), mov_write_stsc_tag(), mov_write_stss_tag(), mov_write_stsz_tag(), mov_write_subtitle_tag(), mov_write_sv3d_tag(), mov_write_tapt_tag(), mov_write_tcmi_tag(), mov_write_tfdt_tag(), mov_write_tfhd_tag(), mov_write_tfra_tag(), mov_write_tfxd_tag(), mov_write_tmcd_tag(), mov_write_track_kind(), mov_write_track_metadata(), mov_write_traf_tag(), mov_write_trak_tag(), mov_write_tref_tag(), mov_write_trun_tag(), mov_write_uuidusmt_tag(), mov_write_vexu_tag(), mov_write_video_tag(), mov_write_vpcc_tag(), mov_write_vvcc_tag(), mov_write_wave_tag(), and mov_write_wfex_tag().
|
static |
Definition at line 166 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 178 of file movenc.c.
Referenced by mov_write_stco_tag().
|
static |
Definition at line 185 of file movenc.c.
Referenced by enable_tracks(), mov_find_codec_tag(), mov_flush_fragment(), mov_init(), mov_write_covr(), mov_write_ftyp_tag(), mov_write_identification(), mov_write_isml_manifest(), mov_write_packet(), and rtp_hinting_needed().
|
static |
Definition at line 192 of file movenc.c.
Referenced by mov_init(), and mov_write_header().
|
static |
Definition at line 202 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 226 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 262 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 293 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 317 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 370 of file movenc.c.
Referenced by mov_write_audio_tag(), and mov_write_wave_tag().
|
static |
Definition at line 420 of file movenc.c.
Referenced by mov_write_audio_tag(), and mov_write_wave_tag().
|
static |
Definition at line 466 of file movenc.c.
Referenced by ff_mov_write_packet().
|
static |
Definition at line 645 of file movenc.c.
Referenced by mov_write_audio_tag(), and mov_write_wave_tag().
|
static |
This function writes extradata "as is".
Extradata must be formatted like a valid atom (with size and tag).
Definition at line 705 of file movenc.c.
Referenced by mov_write_audio_tag(), mov_write_video_tag(), and mov_write_wave_tag().
|
static |
Definition at line 711 of file movenc.c.
Referenced by mov_write_wave_tag().
|
static |
Definition at line 719 of file movenc.c.
Referenced by mov_write_wave_tag().
|
static |
Definition at line 727 of file movenc.c.
Referenced by mov_write_esds_tag(), and mov_write_iods_tag().
|
static |
Definition at line 736 of file movenc.c.
Referenced by calculate_mpeg4_bit_rates().
|
static |
Definition at line 753 of file movenc.c.
Referenced by calculate_mpeg4_bit_rates(), mov_write_btrt_tag(), mov_write_esds_tag(), and mov_write_isml_manifest().
|
static |
Definition at line 798 of file movenc.c.
Referenced by mov_write_audio_tag(), mov_write_subtitle_tag(), mov_write_video_tag(), and mov_write_wave_tag().
|
static |
Definition at line 851 of file movenc.c.
Referenced by mov_write_audio_tag(), and mov_write_wave_tag().
|
static |
Definition at line 859 of file movenc.c.
Referenced by mov_write_audio_tag(), and mov_write_wave_tag().
|
static |
Definition at line 867 of file movenc.c.
Referenced by mov_write_wave_tag().
|
static |
Definition at line 879 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 890 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 910 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 944 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 973 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1010 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1068 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1129 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1172 of file movenc.c.
Referenced by mov_write_dvc1_tag().
|
static |
Definition at line 1256 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1273 of file movenc.c.
Referenced by mov_write_audio_tag(), and mov_write_video_tag().
|
static |
Compute flags for 'lpcm' tag.
See CoreAudioTypes and AudioStreamBasicDescription at Apple.
Definition at line 1286 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1311 of file movenc.c.
Referenced by get_samples_per_packet(), mov_flush_fragment(), mov_preroll_write_stbl_atoms(), mov_write_stts_tag(), mov_write_tfhd_tag(), and mov_write_trun_tag().
|
static |
Definition at line 1331 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1350 of file movenc.c.
Referenced by mov_write_audio_tag(), mov_write_subtitle_tag(), and mov_write_video_tag().
|
static |
Definition at line 1369 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1411 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1437 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1449 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 1634 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1646 of file movenc.c.
Referenced by mov_write_ipco_tag(), and mov_write_video_tag().
|
static |
Definition at line 1657 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1672 of file movenc.c.
Referenced by mov_write_av3c_tag().
|
static |
Definition at line 1691 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1701 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1712 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1727 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1749 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1766 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1779 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1798 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1815 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1933 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1946 of file movenc.c.
Referenced by mov_get_codec_tag().
|
static |
Definition at line 1971 of file movenc.c.
Referenced by find_compressor(), mov_get_h264_codec_tag(), and mov_get_mpeg2_xdcam_codec_tag().
|
static |
Definition at line 1980 of file movenc.c.
Referenced by mov_get_codec_tag().
|
static |
Definition at line 2042 of file movenc.c.
Referenced by mov_get_codec_tag().
|
static |
Definition at line 2104 of file movenc.c.
Referenced by mov_get_codec_tag().
|
static |
Definition at line 2114 of file movenc.c.
Referenced by mov_get_codec_tag().
|
static |
Definition at line 2150 of file movenc.c.
Referenced by mov_get_codec_tag().
|
static |
Definition at line 2159 of file movenc.c.
Referenced by mov_get_codec_tag().
|
static |
Definition at line 2185 of file movenc.c.
Referenced by mov_find_codec_tag().
|
static |
Check that tag + id is in the table
Definition at line 2247 of file movenc.c.
Referenced by mov_find_codec_tag().
|
static |
Definition at line 2267 of file movenc.c.
Referenced by mov_init().
|
static |
Write uuid atom.
Needed to make file play in iPods running newest firmware goes after avcC atom in moov.trak.mdia.minf.stbl.stsd.avc1
Definition at line 2290 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2306 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2319 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 2364 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2394 of file movenc.c.
Referenced by mov_write_video_tag().
|
inlinestatic |
Definition at line 2452 of file movenc.c.
Referenced by mov_write_amve_tag(), mov_write_eyes_tag(), mov_write_hfov_tag(), and mov_write_mdcv_tag().
|
static |
Definition at line 2457 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2468 of file movenc.c.
Referenced by mov_write_vexu_tag().
|
static |
Definition at line 2495 of file movenc.c.
Referenced by mov_write_vexu_tag().
|
static |
Definition at line 2553 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2595 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2613 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2621 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2649 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2662 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2684 of file movenc.c.
Referenced by mov_write_ipco_tag(), and mov_write_video_tag().
|
static |
Definition at line 2732 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2752 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2783 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2810 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2840 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2859 of file movenc.c.
Referenced by mov_write_ipco_tag(), and mov_write_video_tag().
|
static |
Definition at line 2869 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 3142 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 3162 of file movenc.c.
Referenced by mov_write_tmcd_tag().
|
static |
Definition at line 3181 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 3230 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 3242 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 3277 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 3318 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 3367 of file movenc.c.
Referenced by mov_write_dinf_tag().
|
static |
Definition at line 3382 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 3479 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 3518 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 3527 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 3535 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 3543 of file movenc.c.
Referenced by mov_write_gmhd_tag().
|
static |
Definition at line 3565 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 3617 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 3627 of file movenc.c.
Referenced by mov_write_vmhd_tag().
|
static |
Definition at line 3639 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 3650 of file movenc.c.
Referenced by mov_write_hdlr_tag(), mov_write_minf_tag(), and mov_write_trak_tag().
|
static |
Definition at line 3656 of file movenc.c.
Referenced by mov_write_mdia_tag(), mov_write_meta_tag(), and mov_write_minf_tag().
|
static |
Definition at line 3741 of file movenc.c.
Referenced by mov_write_meta_tag().
|
static |
Definition at line 3751 of file movenc.c.
Referenced by mov_write_meta_tag().
|
static |
Definition at line 3774 of file movenc.c.
Referenced by mov_write_meta_tag().
|
static |
Definition at line 3799 of file movenc.c.
Referenced by mov_write_meta_tag().
|
static |
Definition at line 3818 of file movenc.c.
Referenced by mov_write_ipco_tag().
|
static |
Definition at line 3830 of file movenc.c.
Referenced by mov_write_ipco_tag().
|
static |
Definition at line 3846 of file movenc.c.
Referenced by mov_write_iprp_tag().
|
static |
Definition at line 3863 of file movenc.c.
Referenced by mov_write_iprp_tag().
|
static |
Definition at line 3887 of file movenc.c.
Referenced by mov_write_meta_tag().
|
static |
Definition at line 3897 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 3912 of file movenc.c.
Referenced by mov_write_mdia_tag().
|
static |
Definition at line 3949 of file movenc.c.
Referenced by calc_elst_duration(), calc_pts_duration(), calc_samples_pts_duration(), and get_pts_range().
|
static |
Definition at line 3974 of file movenc.c.
Referenced by mov_write_mdhd_tag().
|
static |
Definition at line 3986 of file movenc.c.
Referenced by mov_write_mvhd_tag(), and mov_write_tkhd_tag().
|
static |
Definition at line 3995 of file movenc.c.
Referenced by mov_write_edts_tag().
|
static |
Definition at line 4002 of file movenc.c.
Referenced by mov_write_mdhd_tag(), mov_write_mvhd_tag(), and mov_write_tkhd_tag().
|
static |
Definition at line 4011 of file movenc.c.
Referenced by mov_write_mdia_tag().
|
static |
Definition at line 4048 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 4067 of file movenc.c.
Referenced by mov_write_mvhd_tag(), and mov_write_tkhd_tag().
|
static |
Definition at line 4081 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 4189 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 4224 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 4332 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 4349 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 4367 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 4389 of file movenc.c.
Referenced by mov_write_track_udta_tag().
|
static |
Definition at line 4403 of file movenc.c.
Referenced by mov_write_track_kinds().
|
static |
Definition at line 4429 of file movenc.c.
Referenced by mov_write_track_udta_tag().
|
static |
Definition at line 4449 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 4482 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 4538 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 4567 of file movenc.c.
Referenced by mov_write_mvex_tag().
|
static |
Definition at line 4580 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 4591 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 4656 of file movenc.c.
Referenced by mov_write_meta_tag().
|
static |
Definition at line 4672 of file movenc.c.
Referenced by mov_write_freeform_tag(), mov_write_mdta_ilst_tag(), and mov_write_string_tag().
|
static |
Definition at line 4693 of file movenc.c.
Referenced by mov_write_ilst_tag(), and mov_write_string_metadata().
|
static |
Definition at line 4707 of file movenc.c.
Referenced by mov_write_custom_metadata().
|
static |
Definition at line 4736 of file movenc.c.
Referenced by mov_write_loci_tag(), and mov_write_string_metadata().
|
static |
Definition at line 4761 of file movenc.c.
Referenced by mov_write_ilst_tag(), and mov_write_udta_tag().
|
static |
Definition at line 4772 of file movenc.c.
Referenced by mov_write_ilst_tag().
|
static |
Definition at line 4783 of file movenc.c.
Referenced by mov_write_ilst_tag().
|
static |
Definition at line 4801 of file movenc.c.
Referenced by mov_write_udta_tag().
|
static |
Definition at line 4852 of file movenc.c.
Referenced by mov_write_ilst_tag().
|
static |
Definition at line 4879 of file movenc.c.
Referenced by mov_write_ilst_tag().
|
static |
Definition at line 4906 of file movenc.c.
Referenced by mov_write_ilst_tag().
|
static |
Definition at line 4933 of file movenc.c.
Referenced by mov_write_meta_tag().
|
static |
Definition at line 4974 of file movenc.c.
Referenced by mov_write_meta_tag().
|
static |
Definition at line 4989 of file movenc.c.
Referenced by mov_write_meta_tag().
|
static |
Definition at line 5018 of file movenc.c.
Referenced by mov_write_meta_tag().
|
static |
Definition at line 5040 of file movenc.c.
Referenced by mov_write_udta_tag().
|
static |
Definition at line 5071 of file movenc.c.
Referenced by mov_write_udta_tag().
|
static |
Definition at line 5091 of file movenc.c.
Referenced by mov_write_psp_udta_tag().
|
static |
Definition at line 5102 of file movenc.c.
Referenced by mov_write_3gp_udta_tag(), mov_write_psp_udta_tag(), and mov_write_uuidusmt_tag().
|
static |
Definition at line 5109 of file movenc.c.
Referenced by mov_write_udta_tag().
|
static |
Definition at line 5131 of file movenc.c.
Referenced by mov_write_udta_tag().
|
static |
Definition at line 5157 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 5215 of file movenc.c.
Referenced by mov_write_uuidusmt_tag().
|
static |
Definition at line 5228 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 5266 of file movenc.c.
Referenced by mov_write_moof_tag_internal(), and mov_write_moov_tag().
|
static |
Definition at line 5303 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Assign track ids.
If option "use_stream_ids_as_track_ids" is set, the stream ids are used as track ids.
This assumes mov->tracks and s->streams are in the same order and there are no gaps in either of them (so mov->tracks[n] refers to s->streams[n]).
As an exception, there can be more entries in s->streams than in mov->tracks, in which case new track ids are generated (starting after the largest found stream id).
Definition at line 5339 of file movenc.c.
Referenced by mov_write_isml_manifest(), and mov_write_moov_tag().
|
static |
Definition at line 5378 of file movenc.c.
Referenced by mov_add_tref_id().
|
static |
Definition at line 5387 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 5402 of file movenc.c.
Referenced by mov_add_tref_tag().
|
static |
Definition at line 5413 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 5430 of file movenc.c.
Referenced by get_moov_size(), mov_flush_fragment(), mov_write_header(), and mov_write_trailer().
|
static |
Definition at line 5546 of file movenc.c.
Referenced by mov_write_isml_manifest().
|
static |
Definition at line 5551 of file movenc.c.
Referenced by mov_write_isml_manifest().
|
static |
Definition at line 5556 of file movenc.c.
Referenced by mov_write_isml_manifest().
|
static |
Definition at line 5564 of file movenc.c.
Referenced by mov_write_header().
|
static |
Definition at line 5688 of file movenc.c.
Referenced by mov_write_moof_tag_internal().
Definition at line 5697 of file movenc.c.
Referenced by mov_write_tfhd_tag(), and mov_write_trun_tag().
|
static |
Definition at line 5703 of file movenc.c.
Referenced by mov_write_traf_tag().
|
static |
Definition at line 5769 of file movenc.c.
Referenced by mov_write_traf_tag().
|
static |
Definition at line 5825 of file movenc.c.
Referenced by mov_write_traf_tag().
|
static |
Definition at line 5845 of file movenc.c.
Referenced by mov_write_tfrf_tags().
|
static |
Definition at line 5880 of file movenc.c.
Referenced by mov_add_tfra_entries().
|
static |
Definition at line 5894 of file movenc.c.
Referenced by mov_write_moof_tag().
|
static |
Definition at line 5933 of file movenc.c.
Referenced by mov_write_moof_tag().
|
static |
Definition at line 5947 of file movenc.c.
Referenced by mov_write_traf_tag().
|
static |
Definition at line 5959 of file movenc.c.
Referenced by mov_write_moof_tag_internal().
|
static |
Definition at line 6001 of file movenc.c.
Referenced by mov_write_moof_tag().
|
static |
Definition at line 6026 of file movenc.c.
Referenced by mov_write_sidx_tags().
|
static |
Definition at line 6087 of file movenc.c.
Referenced by get_sidx_size(), mov_write_moof_tag(), and mov_write_trailer().
|
static |
Definition at line 6125 of file movenc.c.
Referenced by mov_write_moof_tag().
|
static |
Definition at line 6175 of file movenc.c.
Referenced by mov_flush_fragment().
|
static |
Definition at line 6209 of file movenc.c.
Referenced by mov_write_mfra_tag().
|
static |
Definition at line 6233 of file movenc.c.
Referenced by mov_write_trailer().
|
static |
Definition at line 6271 of file movenc.c.
Referenced by mov_write_header().
|
static |
Definition at line 6282 of file movenc.c.
Referenced by mov_write_ftyp_tag().
|
static |
Definition at line 6323 of file movenc.c.
Referenced by mov_write_identification().
|
static |
Definition at line 6445 of file movenc.c.
Referenced by mov_write_identification().
|
static |
Definition at line 6516 of file movenc.c.
Referenced by mov_flush_fragment(), and mov_write_header().
|
static |
Definition at line 6545 of file movenc.c.
Referenced by ff_mov_write_packet().
Definition at line 6566 of file movenc.c.
Referenced by ff_mov_write_packet().
Definition at line 6626 of file movenc.c.
Referenced by ff_mov_write_packet().
|
static |
Definition at line 6645 of file movenc.c.
Referenced by ff_mov_write_packet(), and mov_flush_fragment().
|
static |
Definition at line 6670 of file movenc.c.
Referenced by mov_write_squashed_packets().
|
static |
Definition at line 6708 of file movenc.c.
Referenced by mov_flush_fragment(), and mov_write_trailer().
|
static |
Definition at line 6732 of file movenc.c.
Referenced by mov_flush_fragment().
|
static |
Definition at line 6764 of file movenc.c.
Referenced by mov_auto_flush_fragment(), and mov_write_packet().
|
static |
Definition at line 6976 of file movenc.c.
Referenced by mov_write_single_packet(), and mov_write_trailer().
|
static |
Definition at line 6990 of file movenc.c.
Referenced by ff_mov_write_packet(), and mov_write_single_packet().
| int ff_mov_set_fragment_end_hint | ( | AVFormatContext * | s, |
| int | stream_index, | ||
| const AVPacket * | pkt, | ||
| AVRational | src_time_base ) |
Definition at line 7025 of file movenc.c.
Referenced by hls_write_packet().
| int ff_mov_write_packet | ( | AVFormatContext * | s, |
| AVPacket * | pkt ) |
Definition at line 7067 of file movenc.c.
Referenced by ff_mov_add_hinted_packet(), mov_create_chapter_track(), mov_create_timecode_track(), and mov_write_single_packet().
|
static |
Definition at line 7617 of file movenc.c.
Referenced by mov_write_packet(), and mov_write_trailer().
|
static |
Definition at line 7686 of file movenc.c.
Referenced by mov_write_packet().
|
static |
|
static |
Definition at line 7865 of file movenc.c.
Referenced by mov_write_header(), and mov_write_trailer().
|
static |
Definition at line 7956 of file movenc.c.
Referenced by mov_init(), and mov_write_header().
|
static |
Definition at line 7965 of file movenc.c.
Referenced by mov_write_header().
|
static |
Definition at line 8026 of file movenc.c.
Referenced by mov_init().
|
static |
|
static |
Definition at line 8127 of file movenc.c.
Referenced by mov_create_dvd_sub_decoder_specific_info().
Definition at line 8143 of file movenc.c.
Referenced by mov_write_header().
|
static |
|
static |
|
static |
Definition at line 9064 of file movenc.c.
Referenced by compute_sidx_size().
|
static |
Definition at line 9082 of file movenc.c.
Referenced by shift_data().
|
static |
Definition at line 9107 of file movenc.c.
Referenced by shift_data().
|
static |
Definition at line 9122 of file movenc.c.
Referenced by mov_write_trailer().
|
static |
Definition at line 9137 of file movenc.c.
Referenced by mov_write_trailer().
|
static |
|
static |
|
static |
| enum AVPixelFormat pix_fmt |
| uint32_t tag |
Definition at line 2127 of file movenc.c.
Referenced by aac_decoder_config(), aac_encode_frame(), aal_read_packet(), add_entry(), add_entry1(), add_metadata(), aiff_read_header(), amv_start_tag(), ape_read_header(), apng_find_chunk(), apng_probe(), apng_read_header(), apng_read_packet(), apng_write_chunk(), asf_write_header1(), av_codec_get_id(), av_codec_get_id(), av_codec_get_tag(), av_codec_get_tag2(), av_codec_get_tag2(), av_dict_set(), av_find_info_tag(), avformat_find_stream_info(), avi_add_ientry(), avi_extract_stream_metadata(), avi_load_index(), avi_read_header(), avi_read_idx1(), avi_read_nikon(), avi_read_tag(), avi_stream2fourcc(), avi_write_idx1(), avi_write_ix(), avi_write_packet(), avi_write_packet_internal(), bprint_chapter_details(), cdtoons_decode_frame(), cfhd_decode(), chapter_tag(), check_for_italic_slash_marker(), check_tag(), codec_has_blockadditional_alpha(), copy_tag(), decode_aiff_header(), decode_frame_common(), decode_interframe_v4(), decode_interframe_v4a(), decode_pce(), decompress_2(), decompress_5(), decompress_68(), dump_dictionary(), dump_dictionary(), dxa_read_header(), dxa_read_packet(), dxv_decode(), ea_read_packet(), fatal_error(), ff_codec_get_id(), ff_jpegxl_collect_codestream_header(), ff_mov_get_channel_config_from_layout(), ff_mov_get_channel_layout_tag(), ff_mov_read_esds(), ff_mp4_read_dec_config_descr(), ff_mp4_read_descr(), ff_riff_write_info_tag(), ff_start_tag(), ff_tis_ifd(), ff_tread_tag(), ff_vorbiscomment_write(), ff_wav_codec_get_id(), ffat_convert_layout(), ffat_init_encoder(), find_layout_map(), find_sidx(), gem_decode_frame(), get_aac_tag(), get_audio_frame_duration(), get_date_tag(), get_extra_meta_func(), get_metadata(), get_metadata(), get_metadata_lang(), get_swf_tag(), get_tag(), guess_ni_flag(), gxf_material_tags(), gxf_track_tags(), hq_hqa_decode_frame(), hxvs_build_index(), hxvs_probe(), hxvs_read_header(), hxvs_read_packet(), iamf_write_mixing_presentation(), id3v1_create_tag(), id3v1_set_string(), id3v2_check_write_lang_descr_tag(), id3v2_check_write_tag(), id3v2_parse(), id3v2_put_frame(), id3v2_put_lang_descr_tag(), id3v2_put_text_tag(), iff_read_header(), ircam_read_header(), ircam_write_header(), is_layout_valid_for_tag(), ist_add(), ivr_read_header(), libjxl_preprocess_stream(), log_packet(), lz_unpack(), main(), main(), match_stream_specifier(), matroska_parse_seekhead_entry(), metasound_decode_init(), microdvd_load_tags(), microdvd_set_tag(), mkv_assemble_codecprivate(), mkv_write_info(), mkv_write_stereo_mode(), mkv_write_track(), mmf_read_header(), mov_add_tref_id(), mov_add_tref_id(), mov_add_tref_tag(), mov_add_tref_tag(), mov_find_tref_id(), mov_find_tref_id(), mov_get_apv_codec_tag(), mov_get_channel_layout(), mov_get_codec_tag(), mov_get_dnxhd_codec_tag(), mov_get_dv_codec_tag(), mov_get_evc_codec_tag(), mov_get_h264_codec_tag(), mov_get_mpeg2_xdcam_codec_tag(), mov_get_rawvideo_codec_tag(), mov_parse_cdsc_and_rndr_streams(), mov_parse_dovi_streams(), mov_parse_lcevc_streams(), mov_parse_tmcd_streams(), mov_probe(), mov_read_cdsc_rndr(), mov_read_custom(), mov_read_eyes(), mov_read_meta(), mov_read_pack(), mov_read_sbas(), mov_read_sv3d(), mov_read_tmcd(), mov_read_udta_string(), mov_read_vdep(), mov_read_vexu(), mov_read_vexu_proj(), mov_write_3gp_udta_tag(), mov_write_audio_tag(), mov_write_custom_metadata(), mov_write_int8_metadata(), mov_write_moov_tag(), mov_write_string_metadata(), mov_write_track_metadata(), mov_write_tref_tag(), mpc8_get_chunk_header(), mpc8_handle_chunk(), mpc8_parse_seektable(), mpc8_read_header(), mpc8_read_packet(), mpegts_write_pmt(), mxf_lookup_local_tag(), mxf_mark_tag_unused(), mxf_parse_package_comments(), mxf_read_content_storage(), mxf_read_cryptographic_context(), mxf_read_essence_container_data(), mxf_read_essence_group(), mxf_read_ffv1_sub_descriptor(), mxf_read_generic_descriptor(), mxf_read_identification_metadata(), mxf_read_index_table_segment(), mxf_read_local_tags(), mxf_read_mca_sub_descriptor(), mxf_read_package(), mxf_read_partition_pack(), mxf_read_preface_metadata(), mxf_read_primer_pack(), mxf_read_pulldown_component(), mxf_read_sequence(), mxf_read_source_clip(), mxf_read_tagged_value(), mxf_read_timecode_component(), mxf_read_track(), mxf_write_local_tag(), mxf_write_local_tag_utf16(), nuv_resync(), ogm_header(), ost_add(), parse_dsd_diin(), parse_dsd_prop(), parse_fragment(), parse_icy(), parse_mp4_descr(), parse_multipart_header(), parse_stream(), parse_video_info(), pmt_cb(), png_write_chunk(), print_frame_side_data(), process_line(), put_descr(), put_descr(), put_eos_tag(), put_meta(), put_registration_descriptor(), put_str(), put_str16(), put_str8(), put_swf_end_tag(), put_swf_tag(), qcp_read_packet(), qt_rtp_parse_packet(), rawvideo_read_header(), rdt_load_mdpr(), read_apic(), read_chapter(), read_descr(), read_geobtag(), read_header(), read_moof_duration(), read_priv(), read_string(), read_uint16(), read_uint32(), read_uint64(), read_uint8(), rfc4175_parse_format(), rm_read_header(), rv10_write_header(), sami_paragraph_to_ass(), set_sar(), show_tags(), siff_probe(), siff_read_header(), skip_tag(), smjpeg_write_header(), sol_read_header(), split_tag_value(), srt_close_tag(), stream_group_specifier_match(), stream_specifier_match(), swf_read_header(), swf_read_packet(), tiff_decode_tag(), tmcd_is_referenced(), ttml_write_time(), validate_codec_tag(), validate_codec_tag(), var_read_metadata(), vs2av_log(), webvtt_close_tag(), write_metadata(), write_odml_master(), write_stream_codec_info(), write_table_entries_attrib(), write_table_redirector_legacy_attrib(), write_tiff_byte4(), write_tiff_long(), write_tiff_short(), write_tiff_short2(), xan_decode_frame(), xv_write_header(), xwma_read_header(), yop_decode_frame(), and yop_paint_block().
| unsigned bps |
Definition at line 2128 of file movenc.c.
Referenced by adpcm_ima_wav_expand_nibble(), aiff_codec_get_id(), avr_read_header(), chctx_init(), check_filter_process(), check_lpc(), checkasm_check_huffyuvdsp(), config_input(), copy_samples(), cri_decode_frame(), decode_aiff_header(), decode_element(), decode_frame(), decode_scalar(), decode_subframe(), decode_subframe_fixed(), decode_subframe_fixed_wide(), decode_subframe_lpc(), decode_wave_header(), estimate_stereo_mode(), ff_get_pcm_codec_id(), ff_mov_get_lpcm_codec_id(), ff_put_wav_header(), ff_wav_codec_get_id(), ff_wma_init(), filter_frame(), flac_get_max_frame_size(), get_audio_frame_duration(), get_max_frame_size(), gxf_packet(), lpc_analyze_remodulate(), lpc_encode_choose_datapath(), lpc_prediction(), magy_decode_slice10(), main(), mf_a_avframe_to_sample(), nist_read_header(), nsv_read_chunk(), offset_audio(), parse_waveformatex(), process_output(), pvf_read_header(), rice_decompress(), rka_read_header(), rso_read_header(), spawn_empty_frame(), spawn_empty_frame(), swap_sample_fmts_on_filter(), and tta_read_header().
| const struct { ... } mov_pix_fmt_tags[] |
Referenced by mov_get_rawvideo_codec_tag().
|
static |
Definition at line 2240 of file movenc.c.
Referenced by mov_find_codec_tag().
|
static |
Definition at line 2302 of file movenc.c.
Referenced by mov_write_fiel_tag().
|
static |
|
static |
|
static |
|
static |