51 .mime_type =
"audio/x-ac3",
70 uint64_t sample_count = (file_size - 36) / par->
channels / 18 * 32;
71 if (sample_count <= UINT32_MAX) {
89 .write_trailer = adx_write_trailer,
107 #if CONFIG_APTX_HD_MUXER 111 .extensions =
"aptxhd",
120 #if CONFIG_CAVSVIDEO_MUXER 124 .extensions =
"cavs",
133 #if CONFIG_CODEC2RAW_MUXER 146 #if CONFIG_DATA_MUXER 156 #if CONFIG_DIRAC_MUXER 160 .extensions =
"drc,vc2",
169 #if CONFIG_DNXHD_MUXER 173 .extensions =
"dnxhd,dnxhr",
186 .mime_type =
"audio/x-dca",
196 #if CONFIG_EAC3_MUXER 200 .mime_type =
"audio/x-eac3",
201 .extensions =
"eac3",
210 #if CONFIG_G722_MUXER 214 .mime_type =
"audio/G722",
215 .extensions =
"g722",
224 #if CONFIG_G723_1_MUXER 228 .mime_type =
"audio/g723",
229 .extensions =
"tco,rco",
238 #if CONFIG_G726_MUXER 250 #if CONFIG_G726LE_MUXER 266 .mime_type =
"audio/x-gsm",
276 #if CONFIG_H261_MUXER 280 .mime_type =
"video/x-h261",
281 .extensions =
"h261",
290 #if CONFIG_H263_MUXER 294 .mime_type =
"video/x-h263",
295 .extensions =
"h263",
304 #if CONFIG_H264_MUXER 317 .extensions =
"h264,264",
322 .check_bitstream = h264_check_bitstream,
327 #if CONFIG_HEVC_MUXER 340 .extensions =
"hevc,h265,265",
345 .check_bitstream = hevc_check_bitstream,
363 #if CONFIG_MJPEG_MUXER 367 .mime_type =
"video/x-mjpeg",
368 .extensions =
"mjpg,mjpeg",
377 #if CONFIG_SINGLEJPEG_MUXER 379 .
name =
"singlejpeg",
381 .mime_type =
"image/jpeg",
407 .mime_type =
"audio/mpeg",
408 .extensions =
"mp2,m2a,mpa",
416 #if CONFIG_MPEG1VIDEO_MUXER 418 .
name =
"mpeg1video",
420 .mime_type =
"video/mpeg",
421 .extensions =
"mpg,mpeg,m1v",
430 #if CONFIG_MPEG2VIDEO_MUXER 432 .
name =
"mpeg2video",
443 #if CONFIG_RAWVIDEO_MUXER 447 .extensions =
"yuv,rgb",
459 .mime_type =
"audio/x-sbc",
460 .extensions =
"sbc,msbc",
468 #if CONFIG_TRUEHD_MUXER
int64_t avio_seek(AVIOContext *s, int64_t offset, int whence)
fseek() equivalent for AVIOContext.
This struct describes the properties of an encoded stream.
AVStream ** streams
A list of all streams in the file.
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)
struct AVOutputFormat * oformat
The output container format.
#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. ...
unsigned int nb_streams
Number of elements in AVFormatContext.streams.
int seekable
A combination of AVIO_SEEKABLE_ flags or 0 when the stream is not seekable.
preferred ID for MPEG-1/2 video decoding
#define AVIO_SEEKABLE_NORMAL
Seeking works like for a local file.
AVIOContext * pb
I/O context.
as in Berlin toast format
void avio_wb32(AVIOContext *s, unsigned int val)
AVCodecParameters * codecpar
Codec parameters associated with this stream.
This structure stores compressed data.