#include "movenc.h"
#include "avformat.h"
#include "avio_internal.h"
#include "riff.h"
#include "avio.h"
#include "isom.h"
#include "avc.h"
#include "libavcodec/get_bits.h"
#include "libavcodec/put_bits.h"
#include "internal.h"
#include "libavutil/avstring.h"
#include "libavutil/intfloat.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavutil/dict.h"
#include "rtpenc.h"
#include "mov_chan.h"
#include <assert.h>
Go to the source code of this file.
Macros | |
#define | MOV_CLASS(flavor) |
Variables | |
static const AVOption | options [] |
static const AVCodecTag | codec_ipod_tags [] |
struct { | |
enum PixelFormat pix_fmt | |
uint32_t tag | |
unsigned bps | |
} | mov_pix_fmt_tags [] |
static const AVCodecTag | codec_3gp_tags [] |
static const uint16_t | fiel_data [] |
#define MOV_CLASS | ( | flavor | ) |
|
static |
Definition at line 1671 of file movenc.c.
Referenced by mov_write_psp_udta_tag().
int ff_mov_write_packet | ( | AVFormatContext * | s, |
AVPacket * | pkt | ||
) |
Definition at line 2034 of file movenc.c.
Referenced by ff_mov_add_hinted_packet().
|
static |
Definition at line 626 of file movenc.c.
Referenced by mov_find_codec_tag().
|
static |
Definition at line 1682 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 2145 of file movenc.c.
Referenced by mov_write_header().
|
static |
Definition at line 754 of file movenc.c.
Referenced by mov_write_header().
|
static |
Definition at line 705 of file movenc.c.
Referenced by mov_find_codec_tag().
|
static |
Definition at line 643 of file movenc.c.
Referenced by mov_get_codec_tag().
|
static |
Compute flags for 'lpcm' tag.
See CoreAudioTypes and AudioStreamBasicDescription at Apple.
Definition at line 419 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 689 of file movenc.c.
Referenced by mov_get_codec_tag().
|
static |
Definition at line 2013 of file movenc.c.
Referenced by ff_mov_write_packet().
|
static |
Definition at line 327 of file movenc.c.
Referenced by mov_write_audio_tag(), and mov_write_wave_tag().
|
static |
Definition at line 1687 of file movenc.c.
Referenced by mov_write_udta_tag().
|
static |
Definition at line 203 of file movenc.c.
Referenced by mov_write_audio_tag(), and mov_write_wave_tag().
|
static |
Definition at line 189 of file movenc.c.
Referenced by mov_write_audio_tag(), and mov_write_wave_tag().
|
static |
Definition at line 444 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 540 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 551 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 345 of file movenc.c.
Referenced by mov_write_wave_tag().
|
static |
Definition at line 1709 of file movenc.c.
Referenced by mov_write_udta_tag().
|
static |
Definition at line 940 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 515 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1051 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 1015 of file movenc.c.
Referenced by mov_write_dinf_tag().
|
static |
Definition at line 1314 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 257 of file movenc.c.
Referenced by mov_write_wave_tag().
|
static |
Definition at line 274 of file movenc.c.
Referenced by mov_write_audio_tag(), mov_write_video_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 251 of file movenc.c.
Referenced by mov_write_audio_tag(), and mov_write_wave_tag().
|
static |
Definition at line 790 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1896 of file movenc.c.
Referenced by mov_write_header().
|
static |
Definition at line 407 of file movenc.c.
Referenced by mov_write_audio_tag(), and mov_write_video_tag().
|
static |
Definition at line 1068 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 1103 of file movenc.c.
Referenced by mov_write_mdia_tag(), and mov_write_minf_tag().
|
static |
|
static |
Definition at line 1146 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 1617 of file movenc.c.
Referenced by mov_write_meta_tag().
|
static |
Definition at line 1432 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 1522 of file movenc.c.
Referenced by mov_write_meta_tag().
|
static |
Definition at line 1884 of file movenc.c.
Referenced by mov_write_header().
|
static |
Definition at line 1183 of file movenc.c.
Referenced by mov_write_mdia_tag().
|
static |
Definition at line 1213 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 1646 of file movenc.c.
Referenced by mov_write_udta_tag().
|
static |
Definition at line 1161 of file movenc.c.
Referenced by mov_write_mdia_tag().
|
static |
Definition at line 1839 of file movenc.c.
Referenced by mov_write_trailer().
|
static |
Definition at line 335 of file movenc.c.
Referenced by mov_write_wave_tag().
|
static |
Definition at line 1461 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 1060 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 818 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1788 of file movenc.c.
Referenced by mov_write_uuidusmt_tag().
|
static |
Definition at line 902 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 1084 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 1029 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 75 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 1538 of file movenc.c.
Referenced by mov_write_string_tag().
|
static |
Definition at line 1570 of file movenc.c.
Referenced by mov_write_ilst_tag(), and mov_write_udta_tag().
|
static |
Definition at line 1558 of file movenc.c.
Referenced by mov_write_ilst_tag(), and mov_write_string_metadata().
|
static |
Definition at line 136 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 922 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 166 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 98 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 974 of file movenc.c.
Referenced by mov_write_stbl_tag().
|
static |
Definition at line 803 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 528 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1288 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 1224 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
|
static |
Definition at line 1409 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 1361 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 1595 of file movenc.c.
Referenced by mov_write_ilst_tag().
|
static |
Definition at line 1390 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 1735 of file movenc.c.
Referenced by mov_write_moov_tag().
|
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 774 of file movenc.c.
Referenced by mov_write_video_tag().
|
static |
Definition at line 1372 of file movenc.c.
Referenced by mov_write_trak_tag().
|
static |
Definition at line 1952 of file movenc.c.
Referenced by mov_write_header().
|
static |
Definition at line 1801 of file movenc.c.
Referenced by mov_write_moov_tag().
|
static |
Definition at line 831 of file movenc.c.
Referenced by mov_write_stsd_tag().
|
static |
Definition at line 1094 of file movenc.c.
Referenced by mov_write_minf_tag().
|
static |
Definition at line 370 of file movenc.c.
Referenced by mov_write_audio_tag().
|
static |
Definition at line 598 of file movenc.c.
Referenced by mov_find_codec_tag().
|
static |
Definition at line 265 of file movenc.c.
Referenced by mov_write_esds_tag(), and mov_write_iods_tag().
|
static |
Definition at line 64 of file movenc.c.
Referenced by mov_write_3gp_udta_tag(), mov_write_audio_tag(), mov_write_avcc_tag(), mov_write_chan_tag(), mov_write_dinf_tag(), mov_write_esds_tag(), mov_write_ftyp_tag(), mov_write_hdlr_tag(), mov_write_ilst_tag(), mov_write_iods_tag(), mov_write_mdia_tag(), mov_write_meta_tag(), mov_write_minf_tag(), mov_write_moov_tag(), mov_write_ms_tag(), mov_write_rtp_tag(), mov_write_stbl_tag(), mov_write_stco_tag(), mov_write_string_tag(), mov_write_stsc_tag(), mov_write_stsd_tag(), mov_write_stss_tag(), mov_write_stsz_tag(), mov_write_subtitle_tag(), mov_write_tapt_tag(), mov_write_trak_tag(), mov_write_uuidusmt_tag(), mov_write_video_tag(), and mov_write_wave_tag().
|
static |
Definition at line 1660 of file movenc.c.
Referenced by mov_write_3gp_udta_tag(), and mov_write_psp_udta_tag().
unsigned bps |
Definition at line 671 of file movenc.c.
Referenced by ff_wma_init(), gxf_packet(), main(), nsv_read_chunk(), output_packet(), raw_read_packet(), rso_read_header(), rso_read_packet(), transcode_audio(), and tta_read_header().
|
static |
|
static |
|
static |
Definition at line 786 of file movenc.c.
Referenced by mov_write_fiel_tag().
struct { ... } mov_pix_fmt_tags[] |
Referenced by mov_get_rawvideo_codec_tag().
|
static |
enum PixelFormat pix_fmt |
uint32_t tag |
Definition at line 670 of file movenc.c.
Referenced by aac_encode_frame(), aiff_read_header(), ape_read_header(), asf_write_header1(), au_read_header(), av_codec_get_tag(), av_dict_set(), av_find_info_tag(), avi_load_index(), avi_read_header(), avi_read_idx1(), avi_read_nikon(), avi_stream2fourcc(), avi_write_header(), avi_write_idx1(), avi_write_ix(), avi_write_packet(), decode_frame(), dump_metadata(), dxa_read_header(), ff_id3v2_parse(), ff_mov_get_channel_layout_tag(), ff_mov_read_esds(), ff_mp4_read_dec_config_descr(), ff_vorbiscomment_length(), ff_vorbiscomment_write(), ffm_read_header(), flv_write_header(), get_swf_tag(), gxf_material_tags(), gxf_track_tags(), id3v1_create_tag(), id3v1_set_string(), id3v2_check_write_tag(), ipod_get_codec_tag(), lz_unpack(), main(), matroska_convert_tags(), mkv_write_codecprivate(), mkv_write_header(), mkv_write_simpletag(), mkv_write_tag(), mkv_write_tracks(), mmf_read_header(), mov_find_codec_tag(), mov_get_codec_tag(), mov_get_dv_codec_tag(), mov_get_rawvideo_codec_tag(), mov_probe(), mov_read_meta(), mov_read_udta_string(), mov_write_audio_tag(), mp4_get_codec_tag(), mpc8_parse_seektable(), mpc8_read_header(), mpc8_read_packet(), new_output_stream(), ogm_header(), parse_mp4_descr(), pmt_cb(), process_line(), put_swf_end_tag(), put_swf_tag(), qcp_read_packet(), qt_rtp_parse_packet(), rdt_load_mdpr(), read_header(), rm_read_header(), rv10_write_header(), show_format(), show_stream(), siff_probe(), siff_read_header(), smjpeg_write_header(), sol_read_header(), srt_to_ass(), swf_read_header(), swf_read_packet(), tiff_decode_tag(), validate_codec_tag(), wv_read_block_header(), xan_decode_frame(), xwma_read_header(), yop_decode_frame(), and yop_paint_block().