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_CAVSVIDEO_MUXER 110 .extensions =
"cavs",
119 #if CONFIG_DATA_MUXER 129 #if CONFIG_DIRAC_MUXER 133 .extensions =
"drc,vc2",
142 #if CONFIG_DNXHD_MUXER 146 .extensions =
"dnxhd,dnxhr",
159 .mime_type =
"audio/x-dca",
169 #if CONFIG_EAC3_MUXER 173 .mime_type =
"audio/x-eac3",
174 .extensions =
"eac3",
183 #if CONFIG_G722_MUXER 187 .mime_type =
"audio/G722",
188 .extensions =
"g722",
197 #if CONFIG_G723_1_MUXER 201 .mime_type =
"audio/g723",
202 .extensions =
"tco,rco",
211 #if CONFIG_G726_MUXER 223 #if CONFIG_G726LE_MUXER 239 .mime_type =
"audio/x-gsm",
249 #if CONFIG_H261_MUXER 253 .mime_type =
"video/x-h261",
254 .extensions =
"h261",
263 #if CONFIG_H263_MUXER 267 .mime_type =
"video/x-h263",
268 .extensions =
"h263",
277 #if CONFIG_H264_MUXER 290 .extensions =
"h264,264",
295 .check_bitstream = h264_check_bitstream,
300 #if CONFIG_HEVC_MUXER 313 .extensions =
"hevc,h265,265",
318 .check_bitstream = hevc_check_bitstream,
336 #if CONFIG_MJPEG_MUXER 340 .mime_type =
"video/x-mjpeg",
341 .extensions =
"mjpg,mjpeg",
350 #if CONFIG_SINGLEJPEG_MUXER 352 .
name =
"singlejpeg",
354 .mime_type =
"image/jpeg",
380 .mime_type =
"audio/mpeg",
381 .extensions =
"mp2,m2a,mpa",
389 #if CONFIG_MPEG1VIDEO_MUXER 391 .
name =
"mpeg1video",
393 .mime_type =
"video/mpeg",
394 .extensions =
"mpg,mpeg,m1v",
403 #if CONFIG_MPEG2VIDEO_MUXER 405 .
name =
"mpeg2video",
416 #if CONFIG_RAWVIDEO_MUXER 420 .extensions =
"yuv,rgb",
428 #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. ...
enum AVMediaType codec_type
General type of the encoded data.
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
This structure stores compressed data.