43 #define AVI_INDEX_CLUSTER_SIZE 16384
75 const char* riff_tag,
const char* list_tag)
96 tag[0] =
'0' + index/10;
97 tag[1] =
'0' + index%10;
117 int n, au_byterate, au_ssize, au_scale, nb_frames = 0;
151 int bitrate, n, i, nb_frames, au_byterate, au_ssize, au_scale;
153 int64_t list1, list2, strh, strf;
230 av_log(s,
AV_LOG_ERROR,
"Subtitle streams other than DivX XSUB are not supported by the AVI muxer.\n");
252 && au_byterate > 1000LL*au_scale) {
258 au_scale = au_byterate = 0;
303 "Invalid or not supported codec type '%s' found in the input\n",
315 unsigned char tag[5];
345 av_reduce(&num, &den, dar.num, dar.den, 0xFFFF);
379 for (i = 0; i < 248; i+= 4)
390 for (i = 0; i < 1016; i += 4)
407 char ix_tag[] =
"ix00";
443 (ie->
flags & 0x10 ? 0 : 0x80000000));
474 int empty, stream_id = -1;
490 if (empty || tie->pos < ie->
pos) {
518 unsigned char tag[5];
519 unsigned int flags=0;
535 empty_packet.
size= 0;
599 int i, j, n, nb_frames;
622 if (nb_frames < avist->packet_count)
651 .mime_type =
"video/x-msvideo",