printf("Frame size abbreviations: sqcif qcif cif 4cif\n");
printf("Frame size, frame rate abbreviations: ntsc pal film ntsc-film sqcif qcif cif 4cif\n");
static void show_formats(void){    AVInputFormat *ifmt;    AVOutputFormat *ofmt;    AVImageFormat *image_fmt;    URLProtocol *up;    AVCodec *p;    const char **pp;    printf("Output audio/video file formats:");    for(ofmt = first_oformat; ofmt != NULL; ofmt = ofmt->next) {        printf(" %s", ofmt->name);    }    printf("\n");    printf("Input audio/video file formats:");    for(ifmt = first_iformat; ifmt != NULL; ifmt = ifmt->next) {        printf(" %s", ifmt->name);    }    printf("\n");    printf("Output image formats:");    for(image_fmt = first_image_format; image_fmt != NULL;         image_fmt = image_fmt->next) {        if (image_fmt->img_write)            printf(" %s", image_fmt->name);    }    printf("\n");    printf("Input image formats:");    for(image_fmt = first_image_format; image_fmt != NULL;         image_fmt = image_fmt->next) {        if (image_fmt->img_read)            printf(" %s", image_fmt->name);    }    printf("\n");    printf("Codecs:\n");    printf("  Encoders:");    for(p = first_avcodec; p != NULL; p = p->next) {        if (p->encode)            printf(" %s", p->name);    }    printf("\n");    printf("  Decoders:");    for(p = first_avcodec; p != NULL; p = p->next) {        if (p->decode)            printf(" %s", p->name);    }    printf("\n");    printf("Supported file protocols:");    for(up = first_protocol; up != NULL; up = up->next)        printf(" %s:", up->name);    printf("\n");        printf("Frame size abbreviations: sqcif qcif cif 4cif\n");    printf("Motion estimation methods:");    pp = motion_str;    while (*pp) {        printf(" %s", *pp);        if ((pp - motion_str + 1) == ME_ZERO)             printf("(fastest)");        else if ((pp - motion_str + 1) == ME_FULL)             printf("(slowest)");        else if ((pp - motion_str + 1) == ME_EPZS)             printf("(default)");        pp++;    }    printf("\n");    exit(1);}