48 .mime_type =
"audio/x-ac3",
67 uint64_t sample_count = (file_size - 36) / par->
channels / 18 * 32;
68 if (sample_count <= UINT32_MAX) {
86 .write_trailer = adx_write_trailer,
91 #if CONFIG_CAVSVIDEO_MUXER
104 #if CONFIG_DATA_MUXER
114 #if CONFIG_DIRAC_MUXER
118 .extensions =
"drc,vc2",
127 #if CONFIG_DNXHD_MUXER
131 .extensions =
"dnxhd",
144 .mime_type =
"audio/x-dca",
154 #if CONFIG_EAC3_MUXER
158 .mime_type =
"audio/x-eac3",
159 .extensions =
"eac3",
168 #if CONFIG_G722_MUXER
172 .mime_type =
"audio/G722",
173 .extensions =
"g722",
182 #if CONFIG_G723_1_MUXER
186 .mime_type =
"audio/g723",
187 .extensions =
"tco,rco",
200 .mime_type =
"audio/x-gsm",
210 #if CONFIG_H261_MUXER
214 .mime_type =
"video/x-h261",
215 .extensions =
"h261",
224 #if CONFIG_H263_MUXER
228 .mime_type =
"video/x-h263",
229 .extensions =
"h263",
238 #if CONFIG_H264_MUXER
242 .extensions =
"h264,264",
251 #if CONFIG_HEVC_MUXER
255 .extensions =
"hevc,h265,265",
277 #if CONFIG_MJPEG_MUXER
281 .mime_type =
"video/x-mjpeg",
282 .extensions =
"mjpg,mjpeg",
291 #if CONFIG_SINGLEJPEG_MUXER
293 .
name =
"singlejpeg",
295 .mime_type =
"image/jpeg",
317 #if CONFIG_MPEG1VIDEO_MUXER
319 .
name =
"mpeg1video",
321 .mime_type =
"video/mpeg",
322 .extensions =
"mpg,mpeg,m1v",
331 #if CONFIG_MPEG2VIDEO_MUXER
333 .
name =
"mpeg2video",
344 #if CONFIG_RAWVIDEO_MUXER
348 .extensions =
"yuv,rgb",
356 #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
AVIOContext * pb
I/O context.
as in Berlin toast format
void avio_wb32(AVIOContext *s, unsigned int val)
AVCodecParameters * codecpar
This structure stores compressed data.