23#include "config_components.h"
43 .p.mime_type =
"audio/x-ac3",
44 .p.extensions =
"ac3",
65 if (sample_count <= UINT32_MAX) {
78 .p.extensions =
"adx",
85 .write_trailer = adx_write_trailer,
94 .p.extensions =
"aptx",
105#if CONFIG_APTX_HD_MUXER
109 .p.extensions =
"aptxhd",
124 .p.extensions =
"avs,avs2",
139 .p.extensions =
"avs3",
151#if CONFIG_CAVSVIDEO_MUXER
153 .p.name =
"cavsvideo",
155 .p.extensions =
"cavs",
166#if CONFIG_CODEC2RAW_MUXER
168 .p.name =
"codec2raw",
184 if (
s->nb_streams != 1) {
194 .init = force_one_stream,
200#if CONFIG_DFPWM_MUXER
204 .p.extensions =
"dfpwm",
215#if CONFIG_DIRAC_MUXER
219 .p.extensions =
"drc,vc2",
230#if CONFIG_DNXHD_MUXER
234 .p.extensions =
"dnxhd,dnxhr",
249 .p.mime_type =
"audio/x-dca",
250 .p.extensions =
"dts",
265 .p.mime_type =
"audio/x-eac3",
266 .p.extensions =
"eac3,ec3",
281 .p.mime_type =
"audio/G722",
282 .p.extensions =
"g722",
293#if CONFIG_G723_1_MUXER
297 .p.mime_type =
"audio/g723",
298 .p.extensions =
"tco,rco",
323#if CONFIG_G726LE_MUXER
341 .p.mime_type =
"audio/x-gsm",
342 .p.extensions =
"gsm",
357 .p.mime_type =
"video/x-h261",
358 .p.extensions =
"h261",
373 .p.mime_type =
"video/x-h263",
374 .p.extensions =
"h263",
398 .p.extensions =
"h264,264",
405 .check_bitstream = h264_check_bitstream,
423 .p.extensions =
"vvc,h266,266",
430 .check_bitstream = vvc_check_bitstream,
448 .p.extensions =
"hevc,h265,265",
455 .check_bitstream = hevc_check_bitstream,
464 .p.extensions =
"evc",
479 .p.extensions =
"m4v",
490#if CONFIG_MJPEG_MUXER
494 .p.mime_type =
"video/x-mjpeg",
495 .p.extensions =
"mjpg,mjpeg",
510 .p.extensions =
"mlp",
525 .p.mime_type =
"audio/mpeg",
526 .p.extensions =
"mp2,m2a,mpa",
537#if CONFIG_MPEG1VIDEO_MUXER
539 .p.name =
"mpeg1video",
541 .p.mime_type =
"video/mpeg",
542 .p.extensions =
"mpg,mpeg,m1v",
553#if CONFIG_MPEG2VIDEO_MUXER
555 .p.name =
"mpeg2video",
557 .p.extensions =
"m2v",
578 .p.extensions =
"obu",
585 .check_bitstream = obu_check_bitstream,
590#if CONFIG_RAWVIDEO_MUXER
592 .p.name =
"rawvideo",
594 .p.extensions =
"yuv,rgb",
607 .p.mime_type =
"audio/x-sbc",
608 .p.extensions =
"sbc,msbc",
619#if CONFIG_TRUEHD_MUXER
623 .p.extensions =
"thd",
638 .p.extensions =
"vc1",
int64_t avio_seek(AVIOContext *s, int64_t offset, int whence)
fseek() equivalent for AVIOContext.
#define AVIO_SEEKABLE_NORMAL
Seeking works like for a local file.
void avio_wb32(AVIOContext *s, unsigned int val)
static av_always_inline int64_t avio_tell(AVIOContext *s)
ftell() equivalent for AVIOContext.
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
@ AV_CODEC_ID_GSM
as in Berlin toast format
@ AV_CODEC_ID_ADPCM_G726LE
@ AV_CODEC_ID_MPEG2VIDEO
preferred ID for MPEG-1/2 video decoding
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
#define FF_OFMT_FLAG_MAX_ONE_OF_EACH
If this flag is set, it indicates that for each codec type whose corresponding default codec (i....
#define FF_OFMT_FLAG_ONLY_DEFAULT_CODECS
If this flag is set, then the only permitted audio/video/subtitle codec ids are AVOutputFormat....
int nb_channels
Number of channels in this layout.
This struct describes the properties of an encoded stream.
AVChannelLayout ch_layout
The channel layout and number of channels.
int seekable
A combination of AVIO_SEEKABLE_ flags or 0 when the stream is not seekable.
This structure stores compressed data.