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,
94 #if CONFIG_CAVSVIDEO_MUXER
107 #if CONFIG_DATA_MUXER
117 #if CONFIG_DIRAC_MUXER
121 .extensions =
"drc,vc2",
130 #if CONFIG_DNXHD_MUXER
134 .extensions =
"dnxhd,dnxhr",
147 .mime_type =
"audio/x-dca",
157 #if CONFIG_EAC3_MUXER
161 .mime_type =
"audio/x-eac3",
162 .extensions =
"eac3",
171 #if CONFIG_G722_MUXER
175 .mime_type =
"audio/G722",
176 .extensions =
"g722",
185 #if CONFIG_G723_1_MUXER
189 .mime_type =
"audio/g723",
190 .extensions =
"tco,rco",
203 .mime_type =
"audio/x-gsm",
213 #if CONFIG_H261_MUXER
217 .mime_type =
"video/x-h261",
218 .extensions =
"h261",
227 #if CONFIG_H263_MUXER
231 .mime_type =
"video/x-h263",
232 .extensions =
"h263",
241 #if CONFIG_H264_MUXER
254 .extensions =
"h264,264",
259 .check_bitstream = h264_check_bitstream,
264 #if CONFIG_HEVC_MUXER
277 .extensions =
"hevc,h265,265",
282 .check_bitstream = hevc_check_bitstream,
300 #if CONFIG_MJPEG_MUXER
304 .mime_type =
"video/x-mjpeg",
305 .extensions =
"mjpg,mjpeg",
314 #if CONFIG_SINGLEJPEG_MUXER
316 .
name =
"singlejpeg",
318 .mime_type =
"image/jpeg",
344 .mime_type =
"audio/mpeg",
345 .extensions =
"mp2,m2a,mpa",
353 #if CONFIG_MPEG1VIDEO_MUXER
355 .
name =
"mpeg1video",
357 .mime_type =
"video/mpeg",
358 .extensions =
"mpg,mpeg,m1v",
367 #if CONFIG_MPEG2VIDEO_MUXER
369 .
name =
"mpeg2video",
380 #if CONFIG_RAWVIDEO_MUXER
384 .extensions =
"yuv,rgb",
392 #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.
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
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.
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
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.