Go to the documentation of this file.
37 if (
s->nb_streams != 1) {
63 .mime_type =
"audio/x-ac3",
82 uint64_t sample_count = (file_size - 36) / par->
channels / 18 * 32;
83 if (sample_count <= UINT32_MAX) {
101 .write_trailer = adx_write_trailer,
106 #if CONFIG_APTX_MUXER
110 .extensions =
"aptx",
119 #if CONFIG_APTX_HD_MUXER
123 .extensions =
"aptxhd",
132 #if CONFIG_AVS2_MUXER
136 .extensions =
"avs,avs2",
145 #if CONFIG_CAVSVIDEO_MUXER
149 .extensions =
"cavs",
158 #if CONFIG_CODEC2RAW_MUXER
171 #if CONFIG_DATA_MUXER
181 #if CONFIG_DIRAC_MUXER
185 .extensions =
"drc,vc2",
194 #if CONFIG_DNXHD_MUXER
198 .extensions =
"dnxhd,dnxhr",
211 .mime_type =
"audio/x-dca",
221 #if CONFIG_EAC3_MUXER
225 .mime_type =
"audio/x-eac3",
226 .extensions =
"eac3",
235 #if CONFIG_G722_MUXER
239 .mime_type =
"audio/G722",
240 .extensions =
"g722",
249 #if CONFIG_G723_1_MUXER
253 .mime_type =
"audio/g723",
254 .extensions =
"tco,rco",
263 #if CONFIG_G726_MUXER
275 #if CONFIG_G726LE_MUXER
291 .mime_type =
"audio/x-gsm",
301 #if CONFIG_H261_MUXER
305 .mime_type =
"video/x-h261",
306 .extensions =
"h261",
315 #if CONFIG_H263_MUXER
319 .mime_type =
"video/x-h263",
320 .extensions =
"h263",
329 #if CONFIG_H264_MUXER
342 .extensions =
"h264,264",
347 .check_bitstream = h264_check_bitstream,
352 #if CONFIG_HEVC_MUXER
365 .extensions =
"hevc,h265,265",
370 .check_bitstream = hevc_check_bitstream,
388 #if CONFIG_MJPEG_MUXER
392 .mime_type =
"video/x-mjpeg",
393 .extensions =
"mjpg,mjpeg",
402 #if CONFIG_SINGLEJPEG_MUXER
404 .
name =
"singlejpeg",
406 .mime_type =
"image/jpeg",
432 .mime_type =
"audio/mpeg",
433 .extensions =
"mp2,m2a,mpa",
441 #if CONFIG_MPEG1VIDEO_MUXER
443 .
name =
"mpeg1video",
445 .mime_type =
"video/mpeg",
446 .extensions =
"mpg,mpeg,m1v",
455 #if CONFIG_MPEG2VIDEO_MUXER
457 .
name =
"mpeg2video",
468 #if CONFIG_RAWVIDEO_MUXER
472 .extensions =
"yuv,rgb",
484 .mime_type =
"audio/x-sbc",
485 .extensions =
"sbc,msbc",
493 #if CONFIG_TRUEHD_MUXER
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a all references to both lists are replaced with a reference to the intersection And when a single format is eventually chosen for a link amongst the remaining all references to the list are updated That means that if a filter requires that its input and output have the same format amongst a supported all it has to do is use a reference to the same list of formats query_formats can leave some formats unset and return AVERROR(EAGAIN) to cause the negotiation mechanism toagain later. That can be used by filters with complex requirements to use the format negotiated on one link to set the formats supported on another. Frame references ownership and permissions
This struct describes the properties of an encoded stream.
static av_always_inline int64_t avio_tell(AVIOContext *s)
ftell() equivalent for AVIOContext.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
@ AV_CODEC_ID_GSM
as in Berlin toast format
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
int seekable
A combination of AVIO_SEEKABLE_ flags or 0 when the stream is not seekable.
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_WL32 unsigned int_TMPL AV_WL24 unsigned int_TMPL AV_WL16 uint64_t_TMPL AV_WB64 unsigned int_TMPL AV_RB32
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
void avio_wb32(AVIOContext *s, unsigned int val)
int64_t avio_seek(AVIOContext *s, int64_t offset, int whence)
fseek() equivalent for AVIOContext.
@ AV_CODEC_ID_ADPCM_G726LE
#define AVIO_SEEKABLE_NORMAL
Seeking works like for a local file.
This structure stores compressed data.
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_WL32 unsigned int_TMPL AV_WL24 unsigned int_TMPL AV_WL16 uint64_t_TMPL AV_WB64 unsigned int_TMPL AV_WB32 unsigned int_TMPL AV_RB24
@ AV_CODEC_ID_MPEG2VIDEO
preferred ID for MPEG-1/2 video decoding