|
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/dv_profile.h"#include "libavcodec/flac.h"#include "libavcodec/mpegaudiodata.h"#include "libavcodec/get_bits.h"#include "libavcodec/internal.h"#include "libavcodec/opus/tab.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 9556 of file movenc.c.
Referenced by compute_moov_size(), and mov_flush_fragment().
|
static |
Definition at line 7960 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 146 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 158 of file movenc.c.
Referenced by mov_write_3gp_udta_tag(), mov_write_apvc_tag(), mov_write_audio_tag(), mov_write_av1c_tag(), mov_write_av3c_tag(), mov_write_avcc_tag(), mov_write_bin_data_tag(), mov_write_btrt_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_hdlr_tag(), mov_write_header(), mov_write_hvcc_tag(), mov_write_ilst_tag(), mov_write_iods_tag(), mov_write_isml_manifest(), 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_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 168 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 180 of file movenc.c.
Referenced by mov_write_stco_tag().
|
static |
Definition at line 187 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 194 of file movenc.c.
Referenced by mov_get_start_delay(), mov_init(), and mov_write_header().
|
static |
Definition at line 204 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 228 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 264 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 295 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 319 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 372 of file movenc.c.
Referenced by mov_write_audio_tag(), and mov_write_wave_tag().
|
static |
Definition at line 413 of file movenc.c.
Referenced by mov_write_audio_tag(), and mov_write_wave_tag().
|
static |
Definition at line 459 of file movenc.c.
Referenced by ff_mov_write_packet().
|
static |
Definition at line 638 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 698 of file movenc.c.
Referenced by mov_write_audio_tag(), mov_write_video_tag(), and mov_write_wave_tag().
|
static |
Definition at line 704 of file movenc.c.
Referenced by mov_write_wave_tag().
|
static |
Definition at line 712 of file movenc.c.
Referenced by mov_write_wave_tag().
|
static |
Definition at line 720 of file movenc.c.
Referenced by mov_write_esds_tag(), and mov_write_iods_tag().
|
static |
Definition at line 729 of file movenc.c.
Referenced by calculate_mpeg4_bit_rates().
|
static |
Definition at line 746 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 791 of file movenc.c.
Referenced by mov_write_esds_tag().
|
static |
Definition at line 805 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 860 of file movenc.c.
Referenced by mov_write_audio_tag(), and mov_write_wave_tag().
|
static |
Definition at line 868 of file movenc.c.
Referenced by mov_write_audio_tag(), and mov_write_wave_tag().
|
static |
Definition at line 876 of file movenc.c.
Referenced by mov_write_wave_tag().
|
static |
Definition at line 888 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 899 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 919 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 953 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 982 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1020 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1078 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1139 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1189 of file movenc.c.
Referenced by mov_write_dvc1_tag().
|
static |
Definition at line 1273 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1290 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 1303 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1328 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 1348 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1367 of file movenc.c.
Referenced by mov_write_audio_tag(), mov_write_subtitle_tag(), and mov_write_video_tag().
|
static |
Definition at line 1386 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1428 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1454 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 1466 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 1667 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1679 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1690 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1705 of file movenc.c.
Referenced by mov_write_av3c_tag().
|
static |
Definition at line 1724 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1734 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1745 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1760 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1782 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1799 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1812 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1831 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1848 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1966 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1979 of file movenc.c.
Referenced by ff_mov_write_packet(), and mov_get_dv_codec_tag().
|
static |
Definition at line 1986 of file movenc.c.
Referenced by mov_get_codec_tag().
|
static |
Definition at line 2034 of file movenc.c.
Referenced by find_compressor(), mov_get_h264_codec_tag(), and mov_get_mpeg2_xdcam_codec_tag().
|
static |
Definition at line 2043 of file movenc.c.
Referenced by mov_get_codec_tag().
|
static |
Definition at line 2105 of file movenc.c.
Referenced by mov_get_codec_tag().
|
static |
Definition at line 2167 of file movenc.c.
Referenced by mov_get_codec_tag().
|
static |
Definition at line 2177 of file movenc.c.
Referenced by mov_get_codec_tag().
|
static |
Definition at line 2213 of file movenc.c.
Referenced by mov_get_codec_tag().
|
static |
Definition at line 2222 of file movenc.c.
Referenced by mov_get_codec_tag().
|
static |
Definition at line 2248 of file movenc.c.
Referenced by mov_find_codec_tag().
|
static |
Check that tag + id is in the table
Definition at line 2310 of file movenc.c.
Referenced by mov_find_codec_tag().
|
static |
Definition at line 2330 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 2353 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2369 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2382 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 2427 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2457 of file movenc.c.
Referenced by mov_write_video_tag().
|
inlinestatic |
Definition at line 2515 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 2520 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2531 of file movenc.c.
Referenced by mov_write_vexu_tag().
|
static |
Definition at line 2558 of file movenc.c.
Referenced by mov_write_vexu_tag().
|
static |
Definition at line 2616 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2658 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2676 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2684 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2712 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2725 of file movenc.c.
Referenced by mov_write_colr_tag(), and mov_write_video_tag().
|
static |
Definition at line 2749 of file movenc.c.
Referenced by mov_write_colr_tag().
|
static |
Definition at line 2759 of file movenc.c.
Referenced by mov_write_colr_tag().
|
static |
Definition at line 2774 of file movenc.c.
Referenced by mov_write_colr_tag().
|
static |
Definition at line 2785 of file movenc.c.
Referenced by color_string_to_rgba(), and mov_write_colr_tag().
|
static |
Definition at line 2790 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2879 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2899 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2930 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 2957 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 3018 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 3299 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 3319 of file movenc.c.
Referenced by mov_write_tmcd_tag().
|
static |
Definition at line 3338 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 3387 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 3399 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 3437 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 3478 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 3528 of file movenc.c.
Referenced by mov_write_dinf_tag().
|
static |
Definition at line 3543 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 3640 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 3679 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 3688 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 3696 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 3704 of file movenc.c.
Referenced by mov_write_gmhd_tag().
|
static |
Definition at line 3726 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 3785 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 3795 of file movenc.c.
Referenced by mov_write_vmhd_tag().
|
static |
Definition at line 3807 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 3818 of file movenc.c.
Referenced by mov_write_hdlr_tag(), mov_write_minf_tag(), and mov_write_trak_tag().
|
static |
Definition at line 3824 of file movenc.c.
Referenced by mov_write_mdia_tag(), mov_write_meta_tag(), and mov_write_minf_tag().
|
static |
Definition at line 4087 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 4102 of file movenc.c.
Referenced by mov_write_mdia_tag().
|
static |
Definition at line 4141 of file movenc.c.
Referenced by calc_elst_duration(), calc_pts_duration(), calc_samples_pts_duration(), and get_pts_range().
|
static |
Definition at line 4169 of file movenc.c.
Referenced by mov_write_mdhd_tag().
|
static |
Definition at line 4181 of file movenc.c.
Referenced by mov_write_mvhd_tag(), and mov_write_tkhd_tag().
|
static |
Definition at line 4190 of file movenc.c.
Referenced by mov_write_edts_tag().
|
static |
Definition at line 4197 of file movenc.c.
Referenced by mov_write_mdhd_tag(), mov_write_mvhd_tag(), and mov_write_tkhd_tag().
|
static |
Definition at line 4206 of file movenc.c.
Referenced by mov_write_mdia_tag().
|
static |
Definition at line 4243 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 4262 of file movenc.c.
Referenced by mov_write_mvhd_tag(), and mov_write_tkhd_tag().
|
static |
Definition at line 4276 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 4394 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 4429 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 4540 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 4557 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 4575 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 4597 of file movenc.c.
Referenced by mov_write_track_udta_tag().
|
static |
Definition at line 4611 of file movenc.c.
Referenced by mov_write_track_kinds().
|
static |
Definition at line 4637 of file movenc.c.
Referenced by mov_write_track_udta_tag().
|
static |
Definition at line 4657 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 4690 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 4748 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 4777 of file movenc.c.
Referenced by mov_write_mvex_tag().
|
static |
Definition at line 4790 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 4801 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 4866 of file movenc.c.
Referenced by mov_write_meta_tag().
|
static |
Definition at line 4882 of file movenc.c.
Referenced by mov_write_freeform_tag(), mov_write_mdta_data_tag(), and mov_write_string_tag().
|
static |
Definition at line 4903 of file movenc.c.
Referenced by mov_write_ilst_tag(), and mov_write_string_metadata().
|
static |
Definition at line 4917 of file movenc.c.
Referenced by mov_write_custom_metadata().
|
static |
Definition at line 4946 of file movenc.c.
Referenced by mov_write_loci_tag(), and mov_write_string_metadata().
|
static |
Definition at line 4971 of file movenc.c.
Referenced by mov_write_ilst_tag(), and mov_write_udta_tag().
|
static |
Definition at line 4982 of file movenc.c.
Referenced by mov_write_ilst_tag().
|
static |
Definition at line 4993 of file movenc.c.
Referenced by mov_write_ilst_tag().
|
static |
Definition at line 5011 of file movenc.c.
Referenced by mov_write_udta_tag().
|
static |
Definition at line 5056 of file movenc.c.
Referenced by mov_write_ilst_tag().
|
static |
Definition at line 5083 of file movenc.c.
Referenced by mov_write_ilst_tag().
|
static |
Definition at line 5110 of file movenc.c.
Referenced by mov_write_ilst_tag().
|
static |
Definition at line 5137 of file movenc.c.
Referenced by mov_write_meta_tag().
|
static |
Definition at line 5178 of file movenc.c.
Referenced by mov_write_meta_tag().
|
static |
Definition at line 5193 of file movenc.c.
Referenced by mov_write_meta_tag().
|
static |
Definition at line 5227 of file movenc.c.
Referenced by mov_write_mdta_ilst_tag().
|
static |
Definition at line 5276 of file movenc.c.
Referenced by mov_write_meta_tag().
|
static |
Definition at line 5298 of file movenc.c.
Referenced by mov_write_udta_tag().
|
static |
Definition at line 5331 of file movenc.c.
Referenced by mov_write_udta_tag().
|
static |
Definition at line 5351 of file movenc.c.
Referenced by mov_write_psp_udta_tag().
|
static |
Definition at line 5362 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 5369 of file movenc.c.
Referenced by mov_write_udta_tag().
|
static |
Definition at line 5396 of file movenc.c.
Referenced by mov_write_udta_tag().
|
static |
Definition at line 5424 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 5485 of file movenc.c.
Referenced by mov_write_uuidusmt_tag().
|
static |
Definition at line 5498 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 5536 of file movenc.c.
Referenced by mov_write_moof_tag_internal(), and mov_write_moov_tag().
|
static |
Definition at line 5573 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 5609 of file movenc.c.
Referenced by mov_write_isml_manifest(), and mov_write_moov_tag().
|
static |
Definition at line 5648 of file movenc.c.
Referenced by mov_add_tref_id().
|
static |
Definition at line 5657 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 5672 of file movenc.c.
Referenced by mov_add_tref_tag().
|
static |
Definition at line 5683 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 5700 of file movenc.c.
Referenced by get_moov_size(), mov_flush_fragment(), mov_write_header(), and mov_write_trailer().
|
static |
Definition at line 5816 of file movenc.c.
Referenced by mov_write_isml_manifest().
|
static |
Definition at line 5821 of file movenc.c.
Referenced by mov_write_isml_manifest().
|
static |
Definition at line 5826 of file movenc.c.
Referenced by mov_write_isml_manifest().
|
static |
Definition at line 5834 of file movenc.c.
Referenced by mov_write_header().
|
static |
Definition at line 5958 of file movenc.c.
Referenced by mov_write_moof_tag_internal().
Definition at line 5967 of file movenc.c.
Referenced by mov_write_tfhd_tag(), and mov_write_trun_tag().
|
static |
Definition at line 5973 of file movenc.c.
Referenced by mov_write_traf_tag().
|
static |
Definition at line 6039 of file movenc.c.
Referenced by mov_write_traf_tag().
|
static |
Definition at line 6095 of file movenc.c.
Referenced by mov_write_traf_tag().
|
static |
Definition at line 6115 of file movenc.c.
Referenced by mov_write_tfrf_tags().
|
static |
Definition at line 6150 of file movenc.c.
Referenced by mov_add_tfra_entries().
|
static |
Definition at line 6164 of file movenc.c.
Referenced by mov_write_moof_tag().
|
static |
Definition at line 6203 of file movenc.c.
Referenced by mov_write_moof_tag().
|
static |
Definition at line 6217 of file movenc.c.
Referenced by mov_write_traf_tag().
|
static |
Definition at line 6229 of file movenc.c.
Referenced by mov_write_moof_tag_internal().
|
static |
Definition at line 6271 of file movenc.c.
Referenced by mov_write_moof_tag().
|
static |
Definition at line 6296 of file movenc.c.
Referenced by mov_write_sidx_tags().
|
static |
Definition at line 6357 of file movenc.c.
Referenced by get_sidx_size(), mov_write_moof_tag(), and mov_write_trailer().
|
static |
Definition at line 6395 of file movenc.c.
Referenced by mov_write_moof_tag().
|
static |
Definition at line 6445 of file movenc.c.
Referenced by mov_flush_fragment().
|
static |
Definition at line 6479 of file movenc.c.
Referenced by mov_write_mfra_tag().
|
static |
Definition at line 6503 of file movenc.c.
Referenced by mov_write_trailer().
|
static |
Definition at line 6541 of file movenc.c.
Referenced by mov_write_header().
|
static |
Definition at line 6552 of file movenc.c.
Referenced by mov_write_ftyp_tag().
|
static |
Definition at line 6593 of file movenc.c.
Referenced by mov_write_identification().
|
static |
Definition at line 6733 of file movenc.c.
Referenced by mov_write_identification().
|
static |
Definition at line 6804 of file movenc.c.
Referenced by mov_flush_fragment(), and mov_write_header().
|
static |
Definition at line 6833 of file movenc.c.
Referenced by ff_mov_write_packet().
Definition at line 6854 of file movenc.c.
Referenced by ff_mov_write_packet().
Definition at line 6914 of file movenc.c.
Referenced by ff_mov_write_packet().
|
static |
Definition at line 6933 of file movenc.c.
Referenced by ff_mov_write_packet(), and mov_flush_fragment().
|
static |
Definition at line 6958 of file movenc.c.
Referenced by mov_write_squashed_packets().
|
static |
Definition at line 6996 of file movenc.c.
Referenced by mov_flush_fragment(), and mov_write_trailer().
|
static |
Definition at line 7020 of file movenc.c.
Referenced by mov_flush_fragment().
|
static |
Definition at line 7054 of file movenc.c.
Referenced by mov_auto_flush_fragment(), and mov_write_packet().
|
static |
Definition at line 7264 of file movenc.c.
Referenced by mov_write_single_packet(), and mov_write_trailer().
|
static |
Definition at line 7278 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 7316 of file movenc.c.
Referenced by hls_write_packet().
|
static |
Take the start delay back out of the composition offsets of a track.
Only set without fragmentation, so none of its samples has been written yet.
Definition at line 7362 of file movenc.c.
Referenced by ff_mov_write_packet().
|
static |
Whether the composition offset of pkt does not fit the ctts entry: signed for version 1, as written with negative_cts_offsets, keeping the existing version 0 range otherwise.
Definition at line 7387 of file movenc.c.
Referenced by ff_mov_write_packet().
|
static |
Definition at line 7400 of file movenc.c.
Referenced by ff_mov_write_packet().
| int ff_mov_write_packet | ( | AVFormatContext * | s, |
| AVPacket * | pkt ) |
Definition at line 7407 of file movenc.c.
Referenced by ff_mov_add_hinted_packet(), mov_create_chapter_track(), mov_create_timecode_track(), and mov_write_single_packet().
Presentation time at which a stream starts, given the pts of its first packet: the priming samples of an audio stream come before it.
Definition at line 7909 of file movenc.c.
Referenced by mov_get_start_delay().
|
static |
How much later the stream of pkt, its first packet, starts than the earliest audio or video stream, going by the streams already started and by the packets queued for the other ones.
Audio priming is left out: without an edit list, whether it is played is up to the player.
Definition at line 7927 of file movenc.c.
Referenced by mov_write_single_packet().
|
static |
Definition at line 8067 of file movenc.c.
Referenced by mov_write_packet(), and mov_write_trailer().
|
static |
Definition at line 8136 of file movenc.c.
Referenced by mov_write_packet().
|
static |
|
static |
Definition at line 8325 of file movenc.c.
Referenced by mov_write_header(), and mov_write_trailer().
|
static |
Definition at line 8416 of file movenc.c.
Referenced by mov_init(), and mov_write_header().
|
static |
Definition at line 8425 of file movenc.c.
Referenced by mov_write_header().
|
static |
Definition at line 8486 of file movenc.c.
Referenced by mov_init().
|
static |
|
static |
Definition at line 8587 of file movenc.c.
Referenced by mov_create_dvd_sub_decoder_specific_info().
Definition at line 8603 of file movenc.c.
Referenced by mov_write_header().
|
static |
|
static |
|
static |
Definition at line 9569 of file movenc.c.
Referenced by compute_sidx_size().
|
static |
Definition at line 9587 of file movenc.c.
Referenced by shift_data().
|
static |
Definition at line 9612 of file movenc.c.
Referenced by shift_data().
|
static |
Definition at line 9627 of file movenc.c.
Referenced by mov_write_trailer().
|
static |
Definition at line 9642 of file movenc.c.
Referenced by mov_write_trailer().
|
static |
|
static |
|
static |
| enum AVPixelFormat pix_fmt |
| uint32_t tag |
Definition at line 2190 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(), 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_vorbis_comment_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_frame_header(), 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(), list_strips(), log_packet(), lz_unpack(), main(), 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_is_dv_720_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_bin_data_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_header(), parse_icy(), parse_mp4_descr(), parse_multipart_header(), parse_stream(), pmt_cb(), png_probe(), 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(), rw2_set_params(), 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 2191 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(), run_case(), 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 2303 of file movenc.c.
Referenced by mov_find_codec_tag().
|
static |
Definition at line 2365 of file movenc.c.
Referenced by mov_write_fiel_tag().
|
static |
|
static |
|
static |
|
static |