User Tools

Site Tools


ffmpeg:guess_format

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

ffmpeg/guess_format.txt · Last modified: 2007/12/10 09:53 by deva