FFmpeg
|
simple media prober based on the FFmpeg libraries More...
#include "config.h"
#include "libavutil/ffversion.h"
#include <string.h>
#include "libavformat/avformat.h"
#include "libavcodec/avcodec.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"
#include "libavutil/display.h"
#include "libavutil/hash.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/dict.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/libm.h"
#include "libavutil/parseutils.h"
#include "libavutil/timecode.h"
#include "libavutil/timestamp.h"
#include "libavdevice/avdevice.h"
#include "libswscale/swscale.h"
#include "libswresample/swresample.h"
#include "libpostproc/postprocess.h"
#include "cmdutils.h"
#include "cmdutils_common_opts.h"
Go to the source code of this file.
Data Structures | |
struct | ReadInterval |
struct | section |
struct | unit_value |
struct | Writer |
struct | WriterContext |
struct | DefaultContext |
struct | CompactContext |
struct | FlatContext |
struct | INIContext |
struct | JSONContext |
struct | XMLContext |
Macros | |
#define | SECTION_MAX_NB_CHILDREN 10 |
#define | SECTION_FLAG_IS_WRAPPER 1 |
the section only contains other sections, but has no data at its own level More... | |
#define | SECTION_FLAG_IS_ARRAY 2 |
the section contains an array of elements of the same type More... | |
#define | SECTION_FLAG_HAS_VARIABLE_FIELDS 4 |
the section may contain a variable number of fields with variable keys. More... | |
#define | WRITER_FLAG_DISPLAY_OPTIONAL_FIELDS 1 |
#define | WRITER_FLAG_PUT_PACKETS_AND_FRAMES_IN_SAME_CHAPTER 2 |
#define | SECTION_MAX_NB_LEVELS 10 |
#define | OFFSET(x) offsetof(WriterContext, x) |
#define | PRINT_STRING_OPT 1 |
#define | PRINT_STRING_VALIDATE 2 |
#define | MAX_REGISTERED_WRITERS_NB 64 |
#define | DEFINE_WRITER_CLASS(name) |
#define | OFFSET(x) offsetof(DefaultContext, x) |
#define | OFFSET(x) offsetof(CompactContext, x) |
#define | OFFSET(x) offsetof(CompactContext, x) |
#define | OFFSET(x) offsetof(FlatContext, x) |
#define | OFFSET(x) offsetof(INIContext, x) |
#define | OFFSET(x) offsetof(JSONContext, x) |
#define | JSON_INDENT() printf("%*c", json->indent_level * 4, ' ') |
#define | OFFSET(x) offsetof(XMLContext, x) |
#define | CHECK_COMPLIANCE(opt, opt_name) |
#define | XML_INDENT() printf("%*c", xml->indent_level * 4, ' ') |
#define | print_fmt(k, f,...) |
#define | print_int(k, v) writer_print_integer(w, k, v) |
#define | print_q(k, v, s) writer_print_rational(w, k, v, s) |
#define | print_str(k, v) writer_print_string(w, k, v, 0) |
#define | print_str_opt(k, v) writer_print_string(w, k, v, PRINT_STRING_OPT) |
#define | print_str_validate(k, v) writer_print_string(w, k, v, PRINT_STRING_VALIDATE) |
#define | print_time(k, v, tb) writer_print_time(w, k, v, tb, 0) |
#define | print_ts(k, v) writer_print_ts(w, k, v, 0) |
#define | print_duration_time(k, v, tb) writer_print_time(w, k, v, tb, 1) |
#define | print_duration_ts(k, v) writer_print_ts(w, k, v, 1) |
#define | print_val(k, v, u) |
#define | print_section_header(s) writer_print_section_header(w, s) |
#define | print_section_footer(s) writer_print_section_footer(w, s) |
#define | REALLOCZ_ARRAY_STREAM(ptr, cur_n, new_n) |
#define | PRINT_DISPOSITION(flagname, name) |
#define | CHECK_END if (ret < 0) goto end |
#define | SHOW_LIB_VERSION(libname, LIBNAME) |
#define | PRINT_PIX_FMT_FLAG(flagname, name) |
#define | DEFINE_OPT_SHOW_SECTION(section, target_section_id) |
#define | SET_DO_SHOW(id, varname) |
Functions | |
static void | ffprobe_cleanup (int ret) |
static char * | value_string (char *buf, int buf_size, struct unit_value uv) |
static const char * | writer_get_name (void *p) |
static void * | writer_child_next (void *obj, void *prev) |
static void | writer_close (WriterContext **wctx) |
static void | bprint_bytes (AVBPrint *bp, const uint8_t *ubuf, size_t ubuf_size) |
static int | writer_open (WriterContext **wctx, const Writer *writer, const char *args, const struct section *sections, int nb_sections) |
static void | writer_print_section_header (WriterContext *wctx, int section_id) |
static void | writer_print_section_footer (WriterContext *wctx) |
static void | writer_print_integer (WriterContext *wctx, const char *key, long long int val) |
static int | validate_string (WriterContext *wctx, char **dstp, const char *src) |
static int | writer_print_string (WriterContext *wctx, const char *key, const char *val, int flags) |
static void | writer_print_rational (WriterContext *wctx, const char *key, AVRational q, char sep) |
static void | writer_print_time (WriterContext *wctx, const char *key, int64_t ts, const AVRational *time_base, int is_duration) |
static void | writer_print_ts (WriterContext *wctx, const char *key, int64_t ts, int is_duration) |
static void | writer_print_data (WriterContext *wctx, const char *name, uint8_t *data, int size) |
static void | writer_print_data_hash (WriterContext *wctx, const char *name, uint8_t *data, int size) |
static void | writer_print_integers (WriterContext *wctx, const char *name, uint8_t *data, int size, const char *format, int columns, int bytes, int offset_add) |
static int | writer_register (const Writer *writer) |
static const Writer * | writer_get_by_name (const char *name) |
DEFINE_WRITER_CLASS (default) | |
static char * | upcase_string (char *dst, size_t dst_size, const char *src) |
static void | default_print_section_header (WriterContext *wctx) |
static void | default_print_section_footer (WriterContext *wctx) |
static void | default_print_str (WriterContext *wctx, const char *key, const char *value) |
static void | default_print_int (WriterContext *wctx, const char *key, long long int value) |
static const char * | c_escape_str (AVBPrint *dst, const char *src, const char sep, void *log_ctx) |
Apply C-language-like string escaping. More... | |
static const char * | csv_escape_str (AVBPrint *dst, const char *src, const char sep, void *log_ctx) |
Quote fields containing special characters, check RFC4180. More... | |
static const char * | none_escape_str (AVBPrint *dst, const char *src, const char sep, void *log_ctx) |
DEFINE_WRITER_CLASS (compact) | |
static av_cold int | compact_init (WriterContext *wctx) |
static void | compact_print_section_header (WriterContext *wctx) |
static void | compact_print_section_footer (WriterContext *wctx) |
static void | compact_print_str (WriterContext *wctx, const char *key, const char *value) |
static void | compact_print_int (WriterContext *wctx, const char *key, long long int value) |
DEFINE_WRITER_CLASS (csv) | |
DEFINE_WRITER_CLASS (flat) | |
static av_cold int | flat_init (WriterContext *wctx) |
static const char * | flat_escape_key_str (AVBPrint *dst, const char *src, const char sep) |
static const char * | flat_escape_value_str (AVBPrint *dst, const char *src) |
static void | flat_print_section_header (WriterContext *wctx) |
static void | flat_print_int (WriterContext *wctx, const char *key, long long int value) |
static void | flat_print_str (WriterContext *wctx, const char *key, const char *value) |
DEFINE_WRITER_CLASS (ini) | |
static char * | ini_escape_str (AVBPrint *dst, const char *src) |
static void | ini_print_section_header (WriterContext *wctx) |
static void | ini_print_str (WriterContext *wctx, const char *key, const char *value) |
static void | ini_print_int (WriterContext *wctx, const char *key, long long int value) |
DEFINE_WRITER_CLASS (json) | |
static av_cold int | json_init (WriterContext *wctx) |
static const char * | json_escape_str (AVBPrint *dst, const char *src, void *log_ctx) |
static void | json_print_section_header (WriterContext *wctx) |
static void | json_print_section_footer (WriterContext *wctx) |
static void | json_print_item_str (WriterContext *wctx, const char *key, const char *value) |
static void | json_print_str (WriterContext *wctx, const char *key, const char *value) |
static void | json_print_int (WriterContext *wctx, const char *key, long long int value) |
DEFINE_WRITER_CLASS (xml) | |
static av_cold int | xml_init (WriterContext *wctx) |
static const char * | xml_escape_str (AVBPrint *dst, const char *src, void *log_ctx) |
static void | xml_print_section_header (WriterContext *wctx) |
static void | xml_print_section_footer (WriterContext *wctx) |
static void | xml_print_str (WriterContext *wctx, const char *key, const char *value) |
static void | xml_print_int (WriterContext *wctx, const char *key, long long int value) |
static void | writer_register_all (void) |
static int | show_tags (WriterContext *w, AVDictionary *tags, int section_id) |
static void | show_packet (WriterContext *w, AVFormatContext *fmt_ctx, AVPacket *pkt, int packet_idx) |
static void | show_subtitle (WriterContext *w, AVSubtitle *sub, AVStream *stream, AVFormatContext *fmt_ctx) |
static void | show_frame (WriterContext *w, AVFrame *frame, AVStream *stream, AVFormatContext *fmt_ctx) |
static av_always_inline int | process_frame (WriterContext *w, AVFormatContext *fmt_ctx, AVFrame *frame, AVPacket *pkt) |
static void | log_read_interval (const ReadInterval *interval, void *log_ctx, int log_level) |
static int | read_interval_packets (WriterContext *w, AVFormatContext *fmt_ctx, const ReadInterval *interval, int64_t *cur_ts) |
static int | read_packets (WriterContext *w, AVFormatContext *fmt_ctx) |
static int | show_stream (WriterContext *w, AVFormatContext *fmt_ctx, int stream_idx, int in_program) |
static int | show_streams (WriterContext *w, AVFormatContext *fmt_ctx) |
static int | show_program (WriterContext *w, AVFormatContext *fmt_ctx, AVProgram *program) |
static int | show_programs (WriterContext *w, AVFormatContext *fmt_ctx) |
static int | show_chapters (WriterContext *w, AVFormatContext *fmt_ctx) |
static int | show_format (WriterContext *w, AVFormatContext *fmt_ctx) |
static void | show_error (WriterContext *w, int err) |
static int | open_input_file (AVFormatContext **fmt_ctx_ptr, const char *filename) |
static void | close_input_file (AVFormatContext **ctx_ptr) |
static int | probe_file (WriterContext *wctx, const char *filename) |
static void | show_usage (void) |
static void | ffprobe_show_program_version (WriterContext *w) |
static void | ffprobe_show_library_versions (WriterContext *w) |
static void | ffprobe_show_pixel_formats (WriterContext *w) |
static int | opt_format (void *optctx, const char *opt, const char *arg) |
static void | mark_section_show_entries (SectionID section_id, int show_all_entries, AVDictionary *entries) |
static int | match_section (const char *section_name, int show_all_entries, AVDictionary *entries) |
static int | opt_show_entries (void *optctx, const char *opt, const char *arg) |
static int | opt_show_format_entry (void *optctx, const char *opt, const char *arg) |
static void | opt_input_file (void *optctx, const char *arg) |
static int | opt_input_file_i (void *optctx, const char *opt, const char *arg) |
void | show_help_default (const char *opt, const char *arg) |
Per-fftool specific help handler. More... | |
static int | parse_read_interval (const char *interval_spec, ReadInterval *interval) |
Parse interval specification, according to the format: INTERVAL ::= [START|+START_OFFSET][%[END|+END_OFFSET]] INTERVALS ::= INTERVAL[,INTERVALS]. More... | |
static int | parse_read_intervals (const char *intervals_spec) |
static int | opt_read_intervals (void *optctx, const char *opt, const char *arg) |
static int | opt_pretty (void *optctx, const char *opt, const char *arg) |
static void | print_section (SectionID id, int level) |
static int | opt_sections (void *optctx, const char *opt, const char *arg) |
static int | opt_show_versions (const char *opt, const char *arg) |
static int | check_section_show_entries (int section_id) |
int | main (int argc, char **argv) |
simple media prober based on the FFmpeg libraries
Definition in file ffprobe.c.
#define SECTION_FLAG_IS_WRAPPER 1 |
the section only contains other sections, but has no data at its own level
Definition at line 111 of file ffprobe.c.
Referenced by compact_print_section_footer(), compact_print_section_header(), default_print_section_footer(), default_print_section_header(), flat_print_section_header(), ini_print_section_header(), json_print_section_header(), print_section(), and xml_print_section_header().
#define SECTION_FLAG_IS_ARRAY 2 |
the section contains an array of elements of the same type
Definition at line 112 of file ffprobe.c.
Referenced by compact_print_section_footer(), compact_print_section_header(), default_print_section_footer(), default_print_section_header(), flat_print_section_header(), ini_print_section_header(), json_print_section_footer(), json_print_section_header(), print_section(), and xml_print_section_header().
#define SECTION_FLAG_HAS_VARIABLE_FIELDS 4 |
the section may contain a variable number of fields with variable keys.
Definition at line 113 of file ffprobe.c.
Referenced by print_section(), xml_print_section_footer(), xml_print_section_header(), and xml_print_str().
#define WRITER_FLAG_DISPLAY_OPTIONAL_FIELDS 1 |
Definition at line 314 of file ffprobe.c.
Referenced by writer_print_string().
#define WRITER_FLAG_PUT_PACKETS_AND_FRAMES_IN_SAME_CHAPTER 2 |
Definition at line 315 of file ffprobe.c.
Referenced by probe_file().
#define SECTION_MAX_NB_LEVELS 10 |
Definition at line 340 of file ffprobe.c.
Referenced by writer_close(), writer_open(), and writer_print_section_header().
#define OFFSET | ( | x | ) | offsetof(WriterContext, x) |
#define PRINT_STRING_OPT 1 |
Definition at line 628 of file ffprobe.c.
Referenced by writer_print_string(), writer_print_time(), and writer_print_ts().
#define PRINT_STRING_VALIDATE 2 |
Definition at line 629 of file ffprobe.c.
Referenced by writer_print_string().
#define MAX_REGISTERED_WRITERS_NB 64 |
Definition at line 771 of file ffprobe.c.
Referenced by writer_register().
#define DEFINE_WRITER_CLASS | ( | name | ) |
#define OFFSET | ( | x | ) | offsetof(DefaultContext, x) |
#define OFFSET | ( | x | ) | offsetof(CompactContext, x) |
#define OFFSET | ( | x | ) | offsetof(CompactContext, x) |
#define OFFSET | ( | x | ) | offsetof(FlatContext, x) |
#define OFFSET | ( | x | ) | offsetof(INIContext, x) |
#define OFFSET | ( | x | ) | offsetof(JSONContext, x) |
#define JSON_INDENT | ( | ) | printf("%*c", json->indent_level * 4, ' ') |
Definition at line 1397 of file ffprobe.c.
Referenced by json_print_int(), json_print_section_footer(), json_print_section_header(), and json_print_str().
#define OFFSET | ( | x | ) | offsetof(XMLContext, x) |
#define CHECK_COMPLIANCE | ( | opt, | |
opt_name | |||
) |
Referenced by xml_init().
#define XML_INDENT | ( | ) | printf("%*c", xml->indent_level * 4, ' ') |
Definition at line 1578 of file ffprobe.c.
Referenced by xml_print_section_footer(), xml_print_section_header(), and xml_print_str().
#define print_fmt | ( | k, | |
f, | |||
... | |||
) |
Definition at line 1698 of file ffprobe.c.
Referenced by ffprobe_show_program_version(), show_frame(), show_packet(), and show_stream().
#define print_int | ( | k, | |
v | |||
) | writer_print_integer(w, k, v) |
Definition at line 1704 of file ffprobe.c.
Referenced by ffprobe_show_pixel_formats(), show_chapters(), show_error(), show_format(), show_frame(), show_packet(), show_program(), show_stream(), and show_subtitle().
#define print_q | ( | k, | |
v, | |||
s | |||
) | writer_print_rational(w, k, v, s) |
Definition at line 1705 of file ffprobe.c.
Referenced by show_chapters(), show_frame(), and show_stream().
#define print_str | ( | k, | |
v | |||
) | writer_print_string(w, k, v, 0) |
Definition at line 1706 of file ffprobe.c.
Referenced by ffprobe_show_pixel_formats(), ffprobe_show_program_version(), show_error(), show_format(), show_frame(), show_packet(), show_stream(), and show_subtitle().
#define print_str_opt | ( | k, | |
v | |||
) | writer_print_string(w, k, v, PRINT_STRING_OPT) |
Definition at line 1707 of file ffprobe.c.
Referenced by ffprobe_show_pixel_formats(), show_format(), show_frame(), show_packet(), and show_stream().
#define print_str_validate | ( | k, | |
v | |||
) | writer_print_string(w, k, v, PRINT_STRING_VALIDATE) |
Definition at line 1708 of file ffprobe.c.
Referenced by show_format(), and show_tags().
#define print_time | ( | k, | |
v, | |||
tb | |||
) | writer_print_time(w, k, v, tb, 0) |
Definition at line 1709 of file ffprobe.c.
Referenced by show_chapters(), show_format(), show_frame(), show_packet(), show_program(), show_stream(), and show_subtitle().
#define print_ts | ( | k, | |
v | |||
) | writer_print_ts(w, k, v, 0) |
Definition at line 1710 of file ffprobe.c.
Referenced by show_frame(), show_packet(), show_program(), show_stream(), and show_subtitle().
#define print_duration_time | ( | k, | |
v, | |||
tb | |||
) | writer_print_time(w, k, v, tb, 1) |
Definition at line 1711 of file ffprobe.c.
Referenced by show_frame(), and show_packet().
#define print_duration_ts | ( | k, | |
v | |||
) | writer_print_ts(w, k, v, 1) |
Definition at line 1712 of file ffprobe.c.
Referenced by show_frame(), and show_packet().
#define print_val | ( | k, | |
v, | |||
u | |||
) |
Definition at line 1713 of file ffprobe.c.
Referenced by show_format(), show_frame(), show_packet(), and show_stream().
#define print_section_header | ( | s | ) | writer_print_section_header(w, s) |
#define print_section_footer | ( | s | ) | writer_print_section_footer(w, s) |
#define REALLOCZ_ARRAY_STREAM | ( | ptr, | |
cur_n, | |||
new_n | |||
) |
Definition at line 1723 of file ffprobe.c.
Referenced by probe_file(), and read_interval_packets().
#define PRINT_DISPOSITION | ( | flagname, | |
name | |||
) |
Referenced by show_stream().
Referenced by probe_file().
#define SHOW_LIB_VERSION | ( | libname, | |
LIBNAME | |||
) |
Definition at line 2690 of file ffprobe.c.
Referenced by ffprobe_show_library_versions().
#define PRINT_PIX_FMT_FLAG | ( | flagname, | |
name | |||
) |
Definition at line 2719 of file ffprobe.c.
Referenced by ffprobe_show_pixel_formats().
#define DEFINE_OPT_SHOW_SECTION | ( | section, | |
target_section_id | |||
) |
#define SET_DO_SHOW | ( | id, | |
varname | |||
) |
Definition at line 3168 of file ffprobe.c.
Referenced by main().
enum SectionID |
enum StringValidation |
|
static |
|
static |
Definition at line 257 of file ffprobe.c.
Referenced by writer_print_time().
|
static |
Definition at line 407 of file ffprobe.c.
Referenced by main(), and writer_open().
Definition at line 425 of file ffprobe.c.
Referenced by validate_string(), and writer_open().
|
static |
|
inlinestatic |
Definition at line 521 of file ffprobe.c.
Referenced by ffprobe_show_library_versions(), ffprobe_show_pixel_formats(), ffprobe_show_program_version(), main(), probe_file(), show_chapters(), show_error(), show_format(), show_frame(), show_packet(), show_program(), show_programs(), show_stream(), show_streams(), show_subtitle(), and show_tags().
|
inlinestatic |
Definition at line 545 of file ffprobe.c.
Referenced by ffprobe_show_library_versions(), ffprobe_show_pixel_formats(), ffprobe_show_program_version(), main(), probe_file(), show_chapters(), show_error(), show_format(), show_frame(), show_packet(), show_program(), show_programs(), show_stream(), show_streams(), show_subtitle(), and show_tags().
|
inlinestatic |
Definition at line 562 of file ffprobe.c.
Referenced by writer_print_ts().
|
inlinestatic |
Definition at line 573 of file ffprobe.c.
Referenced by writer_print_string().
|
inlinestatic |
Definition at line 631 of file ffprobe.c.
Referenced by writer_print_data(), writer_print_data_hash(), writer_print_integers(), writer_print_rational(), writer_print_time(), and writer_print_ts().
|
inlinestatic |
|
static |
|
static |
|
static |
Definition at line 702 of file ffprobe.c.
Referenced by show_packet(), and show_stream().
|
static |
Definition at line 730 of file ffprobe.c.
Referenced by show_packet(), and show_stream().
|
static |
Definition at line 745 of file ffprobe.c.
Referenced by show_frame(), show_packet(), and show_stream().
|
static |
Definition at line 775 of file ffprobe.c.
Referenced by writer_register_all().
|
static |
DEFINE_WRITER_CLASS | ( | default | ) |
|
inlinestatic |
Definition at line 834 of file ffprobe.c.
Referenced by default_print_section_footer(), and default_print_section_header().
|
static |
|
static |
|
static |
|
static |
|
static |
Apply C-language-like string escaping.
Definition at line 915 of file ffprobe.c.
Referenced by compact_init().
|
static |
Quote fields containing special characters, check RFC4180.
Definition at line 938 of file ffprobe.c.
Referenced by compact_init().
|
static |
Definition at line 956 of file ffprobe.c.
Referenced by compact_init().
DEFINE_WRITER_CLASS | ( | compact | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
DEFINE_WRITER_CLASS | ( | csv | ) |
DEFINE_WRITER_CLASS | ( | flat | ) |
|
static |
|
static |
Definition at line 1155 of file ffprobe.c.
Referenced by flat_print_str().
|
static |
Definition at line 1170 of file ffprobe.c.
Referenced by flat_print_str().
|
static |
|
static |
|
static |
DEFINE_WRITER_CLASS | ( | ini | ) |
|
static |
Definition at line 1261 of file ffprobe.c.
Referenced by ini_print_str().
|
static |
|
static |
|
static |
DEFINE_WRITER_CLASS | ( | json | ) |
|
static |
|
static |
Definition at line 1377 of file ffprobe.c.
Referenced by json_print_int(), json_print_item_str(), and json_print_section_header().
|
static |
|
static |
|
inlinestatic |
Definition at line 1459 of file ffprobe.c.
Referenced by json_print_str().
|
static |
|
static |
DEFINE_WRITER_CLASS | ( | xml | ) |
|
static |
|
static |
Definition at line 1560 of file ffprobe.c.
Referenced by xml_print_str().
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 1731 of file ffprobe.c.
Referenced by show_chapters(), show_format(), show_frame(), show_packet(), show_program(), and show_stream().
|
static |
Definition at line 1749 of file ffprobe.c.
Referenced by read_interval_packets().
|
static |
Definition at line 1814 of file ffprobe.c.
Referenced by process_frame().
|
static |
Definition at line 1837 of file ffprobe.c.
Referenced by process_frame().
|
static |
Definition at line 1936 of file ffprobe.c.
Referenced by read_interval_packets().
|
static |
Definition at line 1979 of file ffprobe.c.
Referenced by parse_read_intervals(), and read_interval_packets().
|
static |
Definition at line 2003 of file ffprobe.c.
Referenced by read_packets().
|
static |
Definition at line 2108 of file ffprobe.c.
Referenced by probe_file().
|
static |
Definition at line 2127 of file ffprobe.c.
Referenced by show_program(), and show_streams().
|
static |
Definition at line 2367 of file ffprobe.c.
Referenced by probe_file().
|
static |
Definition at line 2383 of file ffprobe.c.
Referenced by show_programs().
|
static |
Definition at line 2417 of file ffprobe.c.
Referenced by probe_file().
|
static |
Definition at line 2434 of file ffprobe.c.
Referenced by probe_file().
|
static |
Definition at line 2458 of file ffprobe.c.
Referenced by probe_file().
|
static |
|
static |
Definition at line 2502 of file ffprobe.c.
Referenced by probe_file().
|
static |
Definition at line 2576 of file ffprobe.c.
Referenced by probe_file().
|
static |
Definition at line 2667 of file ffprobe.c.
Referenced by main(), and show_help_default().
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 2781 of file ffprobe.c.
Referenced by match_section(), and opt_show_versions().
|
static |
Definition at line 2796 of file ffprobe.c.
Referenced by opt_show_entries().
|
static |
Definition at line 2815 of file ffprobe.c.
Referenced by opt_show_format_entry().
|
static |
Definition at line 2881 of file ffprobe.c.
Referenced by main(), and opt_input_file_i().
|
static |
void show_help_default | ( | const char * | opt, |
const char * | arg | ||
) |
Per-fftool specific help handler.
Implemented in each fftool, called by show_help().
|
static |
Parse interval specification, according to the format: INTERVAL ::= [START|+START_OFFSET][%[END|+END_OFFSET]] INTERVALS ::= INTERVAL[,INTERVALS].
Definition at line 2915 of file ffprobe.c.
Referenced by parse_read_intervals().
|
static |
Definition at line 2996 of file ffprobe.c.
Referenced by opt_read_intervals().
|
static |
|
static |
Definition at line 3058 of file ffprobe.c.
Referenced by opt_sections().
|
static |
|
static |
|
inlinestatic |
const char program_name[] = "ffprobe" |
program name, defined by the program for show_version().
Definition at line 52 of file ffprobe.c.
Referenced by main(), and show_usage().
const int program_birth_year = 2007 |
program birth year, defined by the program for show_banner()
Definition at line 53 of file ffprobe.c.
Referenced by ffprobe_show_program_version().
|
static |
Definition at line 55 of file ffprobe.c.
Referenced by main(), show_format(), and show_stream().
|
static |
Definition at line 56 of file ffprobe.c.
Referenced by probe_file().
|
static |
Definition at line 57 of file ffprobe.c.
Referenced by probe_file().
|
static |
Definition at line 58 of file ffprobe.c.
Referenced by probe_file(), and read_interval_packets().
|
static |
Definition at line 59 of file ffprobe.c.
Referenced by probe_file(), and read_interval_packets().
|
static |
Definition at line 60 of file ffprobe.c.
Referenced by main(), and probe_file().
|
static |
Definition at line 62 of file ffprobe.c.
Referenced by main(), and probe_file().
|
static |
Definition at line 63 of file ffprobe.c.
Referenced by probe_file(), process_frame(), and xml_init().
|
static |
Definition at line 64 of file ffprobe.c.
Referenced by main(), probe_file(), read_interval_packets(), and xml_init().
|
static |
Definition at line 65 of file ffprobe.c.
Referenced by main(), and probe_file().
|
static |
Definition at line 66 of file ffprobe.c.
Referenced by main(), and probe_file().
|
static |
Definition at line 67 of file ffprobe.c.
Referenced by show_stream().
|
static |
Definition at line 68 of file ffprobe.c.
Referenced by show_packet(), and show_stream().
|
static |
|
static |
|
static |
Definition at line 72 of file ffprobe.c.
Referenced by ffprobe_show_pixel_formats().
|
static |
Definition at line 73 of file ffprobe.c.
Referenced by ffprobe_show_pixel_formats().
|
static |
Definition at line 75 of file ffprobe.c.
Referenced by show_chapters().
|
static |
Definition at line 76 of file ffprobe.c.
Referenced by show_format().
|
static |
Definition at line 77 of file ffprobe.c.
Referenced by show_frame().
|
static |
Definition at line 78 of file ffprobe.c.
Referenced by show_program().
|
static |
Definition at line 79 of file ffprobe.c.
Referenced by show_stream().
|
static |
Definition at line 80 of file ffprobe.c.
Referenced by show_packet().
|
static |
Definition at line 82 of file ffprobe.c.
Referenced by opt_pretty(), value_string(), and xml_init().
|
static |
Definition at line 83 of file ffprobe.c.
Referenced by opt_pretty(), value_string(), and xml_init().
|
static |
Definition at line 84 of file ffprobe.c.
Referenced by opt_pretty(), and value_string().
|
static |
Definition at line 85 of file ffprobe.c.
Referenced by opt_pretty(), and value_string().
|
static |
Definition at line 86 of file ffprobe.c.
Referenced by show_stream(), and xml_init().
|
static |
Definition at line 89 of file ffprobe.c.
Referenced by probe_file().
|
static |
|
static |
Definition at line 101 of file ffprobe.c.
Referenced by parse_read_intervals(), and read_packets().
|
static |
Definition at line 167 of file ffprobe.c.
Referenced by writer_open().
|
static |
Definition at line 216 of file ffprobe.c.
Referenced by main(), and opt_input_file().
|
static |
Definition at line 217 of file ffprobe.c.
Referenced by ff_alloc_input_device_context(), ff_load_image(), ff_wms_parse_sdp_a_line(), movie_common_init(), show_format_opts(), and stream_open().
|
static |
const { ... } si_prefixes[] |
Referenced by value_string().
|
static |
Definition at line 235 of file ffprobe.c.
Referenced by value_string(), and writer_print_time().
|
static |
Definition at line 236 of file ffprobe.c.
Referenced by show_stream().
|
static |
Definition at line 237 of file ffprobe.c.
Referenced by show_format(), show_frame(), show_packet(), and value_string().
|
static |
Definition at line 238 of file ffprobe.c.
Referenced by show_format(), and show_stream().
|
static |
Definition at line 240 of file ffprobe.c.
Referenced by asf_read_close(), av_dump_format(), av_find_best_stream(), avi_read_header(), avi_sync(), close_connection(), decode_frame_header(), decode_info_header(), decode_stream_header(), ff_get_wav_header(), ffm_read_header(), ivr_read_header(), libopus_decode_init(), lvf_read_header(), main(), match_streams_one_to_one(), mov_flush_fragment(), mov_write_moov_tag(), movie_common_init(), opt_map(), probe_file(), qt_rtp_parse_packet(), read_interval_packets(), and stream_cycle_channel().
|
static |
Definition at line 241 of file ffprobe.c.
Referenced by probe_file(), read_interval_packets(), and show_stream().
|
static |
Definition at line 242 of file ffprobe.c.
Referenced by probe_file(), process_frame(), read_interval_packets(), and show_stream().
|
static |
Definition at line 243 of file ffprobe.c.
Referenced by probe_file(), read_interval_packets(), show_program(), and show_streams().
|
static |
|
static |
Definition at line 399 of file ffprobe.c.
Referenced by writer_open().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |