Table of Contents

guess_format

Overview

Defined in avformat.h

Guess the format based on the filename.

AVOutputFormat *guess_format(const char *short_name,
                             const char *filename,
                             const char *mime_type);

Parameters

short_name

const char *short_name

FIXME Figure out what this parameter does. Unknown. Can be NULL.

filename

const char *filename

The filename to use when guessing.

mime_type

const char *mime_type

FIXME Figure out what this parameter does. Unknown. Can be NULL.

Return value

A pointer to AVOutputFormat containing info on the format, or NULL on failure;

See also

av_guess_codec() and guess_stream_format()


Back to ffmpeg