FFmpeg
|
#include "config_components.h"
#include "libavutil/avstring.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "avio_internal.h"
#include "avformat.h"
#include "demux.h"
#include "id3v2.h"
#include "internal.h"
#include "url.h"
Go to the source code of this file.
Functions | |
int | av_match_ext (const char *filename, const char *extensions) |
Return a positive value if the given filename has one of the given extensions, 0 otherwise. More... | |
int | ff_match_url_ext (const char *url, const char *extensions) |
Return a positive value if the given url has one of the given extensions, negative AVERROR on error, 0 otherwise. More... | |
const AVOutputFormat * | av_guess_format (const char *short_name, const char *filename, const char *mime_type) |
Return the output format in the list of registered output formats which best matches the provided parameters, or return NULL if there is no match. More... | |
enum AVCodecID | av_guess_codec (const AVOutputFormat *fmt, const char *short_name, const char *filename, const char *mime_type, enum AVMediaType type) |
Guess the codec ID based upon muxer and filename. More... | |
const AVInputFormat * | av_find_input_format (const char *short_name) |
Find AVInputFormat based on the short name of the input format. More... | |
const AVInputFormat * | av_probe_input_format3 (const AVProbeData *pd, int is_opened, int *score_ret) |
Guess the file format. More... | |
const AVInputFormat * | av_probe_input_format2 (const AVProbeData *pd, int is_opened, int *score_max) |
Guess the file format. More... | |
const AVInputFormat * | av_probe_input_format (const AVProbeData *pd, int is_opened) |
Guess the file format. More... | |
int | av_probe_input_buffer2 (AVIOContext *pb, const AVInputFormat **fmt, const char *filename, void *logctx, unsigned int offset, unsigned int max_probe_size) |
Probe a bytestream to determine the input format. More... | |
int | av_probe_input_buffer (AVIOContext *pb, const AVInputFormat **fmt, const char *filename, void *logctx, unsigned int offset, unsigned int max_probe_size) |
Like av_probe_input_buffer2() but returns 0 on success. More... | |
Format register and lookup
Definition in file format.c.
int ff_match_url_ext | ( | const char * | url, |
const char * | extensions | ||
) |
Return a positive value if the given url has one of the given extensions, negative AVERROR on error, 0 otherwise.
url | url to check against the given extensions |
extensions | a comma-separated list of filename extensions |
Definition at line 54 of file format.c.
Referenced by hls_probe().