FFmpeg
|
#include "config.h"
#include "libavutil/ffversion.h"
#include <string.h>
#include <math.h>
#include "libavformat/avformat.h"
#include "libavformat/version.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/version.h"
#include "libavutil/ambient_viewing_environment.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"
#include "libavutil/channel_layout.h"
#include "libavutil/display.h"
#include "libavutil/film_grain_params.h"
#include "libavutil/hash.h"
#include "libavutil/hdr_dynamic_metadata.h"
#include "libavutil/iamf.h"
#include "libavutil/mastering_display_metadata.h"
#include "libavutil/hdr_dynamic_vivid_metadata.h"
#include "libavutil/dovi_meta.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/spherical.h"
#include "libavutil/stereo3d.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 "libavdevice/version.h"
#include "libswscale/swscale.h"
#include "libswscale/version.h"
#include "libswresample/swresample.h"
#include "libswresample/version.h"
#include "libpostproc/postprocess.h"
#include "libpostproc/version.h"
#include "libavfilter/version.h"
#include "cmdutils.h"
#include "opt_common.h"
#include "libavutil/thread.h"
Go to the source code of this file.
Data Structures | |
struct | FrameData |
struct | InputStream |
struct | InputFile |
struct | ReadInterval |
struct | section |
struct | LogBuffer |
struct | unit_value |
struct | Writer |
struct | WriterContext |
struct | DefaultContext |
struct | CompactContext |
struct | FlatContext |
struct | INIContext |
struct | JSONContext |
struct | XMLContext |
Macros | |
#define | pthread_mutex_lock(a) do{}while(0) |
#define | pthread_mutex_unlock(a) do{}while(0) |
#define | SHOW_OPTIONAL_FIELDS_AUTO -1 |
#define | SHOW_OPTIONAL_FIELDS_NEVER 0 |
#define | SHOW_OPTIONAL_FIELDS_ALWAYS 1 |
#define | SECTION_MAX_NB_CHILDREN 11 |
#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 | SECTION_FLAG_HAS_TYPE 8 |
For these sections the element_name field is mandatory. More... | |
#define | WRITER_FLAG_DISPLAY_OPTIONAL_FIELDS 1 |
#define | WRITER_FLAG_PUT_PACKETS_AND_FRAMES_IN_SAME_CHAPTER 2 |
#define | SECTION_MAX_NB_LEVELS 12 |
#define | OFFSET(x) offsetof(WriterContext, x) |
#define | PRINT_STRING_OPT 1 |
#define | PRINT_STRING_VALIDATE 2 |
#define | writer_w8(wctx_, b_) (wctx_)->writer_w8(wctx_, b_) |
#define | writer_put_str(wctx_, str_) (wctx_)->writer_put_str(wctx_, str_) |
#define | writer_printf(wctx_, fmt_, ...) (wctx_)->writer_printf(wctx_, fmt_, __VA_ARGS__) |
#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() writer_printf(wctx, "%*c", json->indent_level * 4, ' ') |
#define | OFFSET(x) offsetof(XMLContext, x) |
#define | CHECK_COMPLIANCE(opt, opt_name) |
#define | XML_INDENT() writer_printf(wctx, "%*c", xml->indent_level * 4, ' ') |
#define | print_fmt(k, f, ...) |
#define | print_list_fmt(k, f, n, m, ...) |
#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, NULL, s) |
#define | print_section_header_data(s, d) writer_print_section_header(w, d, s) |
#define | print_section_footer(s) writer_print_section_footer(w, s) |
#define | REALLOCZ_ARRAY_STREAM(ptr, cur_n, new_n) |
#define | IN_PROGRAM 1 |
#define | IN_STREAM_GROUP 2 |
#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 const char * | get_packet_side_data_type (const void *data) |
static const char * | get_frame_side_data_type (const void *data) |
static const char * | get_raw_string_type (const void *data) |
static const char * | get_stream_group_type (const void *data) |
static void | log_callback (void *ptr, int level, const char *fmt, va_list vl) |
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 int | writer_close (WriterContext **wctx) |
static void | bprint_bytes (AVBPrint *bp, const uint8_t *ubuf, size_t ubuf_size) |
static void | writer_w8_avio (WriterContext *wctx, int b) |
static void | writer_put_str_avio (WriterContext *wctx, const char *str) |
static void | writer_printf_avio (WriterContext *wctx, const char *fmt,...) |
static void | writer_w8_printf (WriterContext *wctx, int b) |
static void | writer_put_str_printf (WriterContext *wctx, const char *str) |
static void | writer_printf_printf (WriterContext *wctx, const char *fmt,...) |
static int | writer_open (WriterContext **wctx, const Writer *writer, const char *args, const struct section *sections, int nb_sections, const char *output) |
static void | writer_print_section_header (WriterContext *wctx, const void *data, int section_id) |
static void | writer_print_section_footer (WriterContext *wctx) |
static void | writer_print_integer (WriterContext *wctx, const char *key, int64_t 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, const uint8_t *data, int size) |
static void | writer_print_data_hash (WriterContext *wctx, const char *name, const 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, const void *data) |
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, int64_t 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, const void *data) |
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, int64_t 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, const void *data) |
static void | flat_print_int (WriterContext *wctx, const char *key, int64_t 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, const void *data) |
static void | ini_print_str (WriterContext *wctx, const char *key, const char *value) |
static void | ini_print_int (WriterContext *wctx, const char *key, int64_t 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, const void *data) |
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, int64_t value) |
DEFINE_WRITER_CLASS (xml) | |
static av_cold int | xml_init (WriterContext *wctx) |
static void | xml_print_section_header (WriterContext *wctx, const void *data) |
static void | xml_print_section_footer (WriterContext *wctx) |
static void | xml_print_value (WriterContext *wctx, const char *key, const char *str, int64_t num, const int is_int) |
static void | xml_print_str (WriterContext *wctx, const char *key, const char *value) |
static void | xml_print_int (WriterContext *wctx, const char *key, int64_t value) |
static void | writer_register_all (void) |
static int | show_tags (WriterContext *w, AVDictionary *tags, int section_id) |
static void | print_dovi_metadata (WriterContext *w, const AVDOVIMetadata *dovi) |
static void | print_dynamic_hdr10_plus (WriterContext *w, const AVDynamicHDRPlus *metadata) |
static void | print_dynamic_hdr_vivid (WriterContext *w, const AVDynamicHDRVivid *metadata) |
static void | print_ambient_viewing_environment (WriterContext *w, const AVAmbientViewingEnvironment *env) |
static void | print_film_grain_params (WriterContext *w, const AVFilmGrainParams *fgp) |
static void | print_pkt_side_data (WriterContext *w, AVCodecParameters *par, const AVPacketSideData *sd, SectionID id_data) |
static void | print_private_data (WriterContext *w, void *priv_data) |
static void | print_color_range (WriterContext *w, enum AVColorRange color_range) |
static void | print_color_space (WriterContext *w, enum AVColorSpace color_space) |
static void | print_primaries (WriterContext *w, enum AVColorPrimaries color_primaries) |
static void | print_color_trc (WriterContext *w, enum AVColorTransferCharacteristic color_trc) |
static void | print_chroma_location (WriterContext *w, enum AVChromaLocation chroma_location) |
static void | clear_log (int need_lock) |
static int | show_log (WriterContext *w, int section_ids, int section_id, int log_level) |
static void | show_packet (WriterContext *w, InputFile *ifile, AVPacket *pkt, int packet_idx) |
static void | show_subtitle (WriterContext *w, AVSubtitle *sub, AVStream *stream, AVFormatContext *fmt_ctx) |
static void | print_frame_side_data (WriterContext *w, const AVFrame *frame, const AVStream *stream) |
static void | show_frame (WriterContext *w, AVFrame *frame, AVStream *stream, AVFormatContext *fmt_ctx) |
static av_always_inline int | process_frame (WriterContext *w, InputFile *ifile, AVFrame *frame, const AVPacket *pkt, int *packet_new) |
static void | log_read_interval (const ReadInterval *interval, void *log_ctx, int log_level) |
static int | read_interval_packets (WriterContext *w, InputFile *ifile, const ReadInterval *interval, int64_t *cur_ts) |
static int | read_packets (WriterContext *w, InputFile *ifile) |
static void | print_dispositions (WriterContext *w, uint32_t disposition, SectionID section_id) |
static int | show_stream (WriterContext *w, AVFormatContext *fmt_ctx, int stream_idx, InputStream *ist, int container) |
static int | show_streams (WriterContext *w, InputFile *ifile) |
static int | show_program (WriterContext *w, InputFile *ifile, AVProgram *program) |
static int | show_programs (WriterContext *w, InputFile *ifile) |
static void | print_tile_grid_params (WriterContext *w, const AVStreamGroup *stg, const AVStreamGroupTileGrid *tile_grid) |
static void | print_iamf_param_definition (WriterContext *w, const char *name, const AVIAMFParamDefinition *param, SectionID section_id) |
static void | print_iamf_audio_element_params (WriterContext *w, const AVStreamGroup *stg, const AVIAMFAudioElement *audio_element) |
static void | print_iamf_submix_params (WriterContext *w, const AVIAMFSubmix *submix) |
static void | print_iamf_mix_presentation_params (WriterContext *w, const AVStreamGroup *stg, const AVIAMFMixPresentation *mix_presentation) |
static void | print_stream_group_params (WriterContext *w, AVStreamGroup *stg) |
static int | show_stream_group (WriterContext *w, InputFile *ifile, AVStreamGroup *stg) |
static int | show_stream_groups (WriterContext *w, InputFile *ifile) |
static int | show_chapters (WriterContext *w, InputFile *ifile) |
static int | show_format (WriterContext *w, InputFile *ifile) |
static void | show_error (WriterContext *w, int err) |
static int | open_input_file (InputFile *ifile, const char *filename, const char *print_filename) |
static void | close_input_file (InputFile *ifile) |
static int | probe_file (WriterContext *wctx, const char *filename, const char *print_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_show_optional_fields (void *optctx, const char *opt, const char *arg) |
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_input_file (void *optctx, const char *arg) |
static int | opt_input_file_i (void *optctx, const char *opt, const char *arg) |
static int | opt_output_file_o (void *optctx, const char *opt, const char *arg) |
static int | opt_print_filename (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 (void *optctx, 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 |
#define SECTION_FLAG_IS_ARRAY 2 |
#define SECTION_FLAG_HAS_VARIABLE_FIELDS 4 |
#define SECTION_FLAG_HAS_TYPE 8 |
#define WRITER_FLAG_PUT_PACKETS_AND_FRAMES_IN_SAME_CHAPTER 2 |
#define OFFSET | ( | x | ) | offsetof(WriterContext, x) |
#define writer_w8 | ( | wctx_, | |
b_ | |||
) | (wctx_)->writer_w8(wctx_, b_) |
#define writer_put_str | ( | wctx_, | |
str_ | |||
) | (wctx_)->writer_put_str(wctx_, str_) |
#define writer_printf | ( | wctx_, | |
fmt_, | |||
... | |||
) | (wctx_)->writer_printf(wctx_, fmt_, __VA_ARGS__) |
#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 | ( | ) | writer_printf(wctx, "%*c", json->indent_level * 4, ' ') |
#define OFFSET | ( | x | ) | offsetof(XMLContext, x) |
#define CHECK_COMPLIANCE | ( | opt, | |
opt_name | |||
) |
#define XML_INDENT | ( | ) | writer_printf(wctx, "%*c", xml->indent_level * 4, ' ') |
#define print_fmt | ( | k, | |
f, | |||
... | |||
) |
#define print_list_fmt | ( | k, | |
f, | |||
n, | |||
m, | |||
... | |||
) |
#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, NULL, s) |
#define print_section_header_data | ( | s, | |
d | |||
) | writer_print_section_header(w, d, s) |
#define print_section_footer | ( | s | ) | writer_print_section_footer(w, s) |
#define REALLOCZ_ARRAY_STREAM | ( | ptr, | |
cur_n, | |||
new_n | |||
) |
#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 | |||
) |
enum SectionID |
enum StringValidation |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 458 of file ffprobe.c.
Referenced by writer_print_time().
|
static |
|
static |
Definition at line 614 of file ffprobe.c.
Referenced by main(), and writer_open().
|
static |
Definition at line 638 of file ffprobe.c.
Referenced by validate_string(), and writer_open().
|
inlinestatic |
Definition at line 646 of file ffprobe.c.
Referenced by writer_open().
|
inlinestatic |
Definition at line 651 of file ffprobe.c.
Referenced by writer_open().
|
inlinestatic |
Definition at line 656 of file ffprobe.c.
Referenced by writer_open().
|
inlinestatic |
Definition at line 665 of file ffprobe.c.
Referenced by writer_open().
|
inlinestatic |
Definition at line 670 of file ffprobe.c.
Referenced by writer_open().
|
inlinestatic |
Definition at line 675 of file ffprobe.c.
Referenced by writer_open().
|
static |
|
inlinestatic |
Definition at line 786 of file ffprobe.c.
Referenced by ffprobe_show_library_versions(), ffprobe_show_pixel_formats(), ffprobe_show_program_version(), main(), print_dispositions(), print_dovi_metadata(), print_film_grain_params(), print_frame_side_data(), print_iamf_audio_element_params(), print_iamf_mix_presentation_params(), print_iamf_param_definition(), print_iamf_submix_params(), print_pkt_side_data(), print_stream_group_params(), print_tile_grid_params(), probe_file(), show_chapters(), show_error(), show_format(), show_frame(), show_log(), show_packet(), show_program(), show_programs(), show_stream(), show_stream_group(), show_stream_groups(), show_streams(), show_subtitle(), and show_tags().
|
inlinestatic |
Definition at line 811 of file ffprobe.c.
Referenced by ffprobe_show_library_versions(), ffprobe_show_pixel_formats(), ffprobe_show_program_version(), main(), print_dispositions(), print_dovi_metadata(), print_film_grain_params(), print_frame_side_data(), print_iamf_audio_element_params(), print_iamf_mix_presentation_params(), print_iamf_param_definition(), print_iamf_submix_params(), print_stream_group_params(), print_tile_grid_params(), probe_file(), show_chapters(), show_error(), show_format(), show_frame(), show_log(), show_packet(), show_program(), show_programs(), show_stream(), show_stream_group(), show_stream_groups(), show_streams(), show_subtitle(), and show_tags().
|
inlinestatic |
Definition at line 828 of file ffprobe.c.
Referenced by writer_print_ts().
|
inlinestatic |
Definition at line 839 of file ffprobe.c.
Referenced by writer_print_string().
|
inlinestatic |
Definition at line 897 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 970 of file ffprobe.c.
Referenced by print_pkt_side_data(), show_packet(), and show_stream().
|
static |
Definition at line 998 of file ffprobe.c.
Referenced by print_pkt_side_data(), show_packet(), and show_stream().
|
static |
Definition at line 1013 of file ffprobe.c.
Referenced by print_frame_side_data(), and print_pkt_side_data().
|
static |
Definition at line 1047 of file ffprobe.c.
Referenced by writer_register_all().
|
static |
DEFINE_WRITER_CLASS | ( | default | ) |
|
inlinestatic |
Definition at line 1106 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 1187 of file ffprobe.c.
Referenced by compact_init().
|
static |
Quote fields containing special characters, check RFC4180.
Definition at line 1210 of file ffprobe.c.
Referenced by compact_init().
|
static |
Definition at line 1228 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 1449 of file ffprobe.c.
Referenced by flat_print_str().
|
static |
Definition at line 1464 of file ffprobe.c.
Referenced by flat_print_str().
|
static |
|
static |
|
static |
DEFINE_WRITER_CLASS | ( | ini | ) |
|
static |
Definition at line 1555 of file ffprobe.c.
Referenced by ini_print_str().
|
static |
|
static |
|
static |
DEFINE_WRITER_CLASS | ( | json | ) |
|
static |
|
static |
Definition at line 1671 of file ffprobe.c.
Referenced by json_print_int(), json_print_item_str(), and json_print_section_header().
|
static |
|
static |
|
inlinestatic |
Definition at line 1754 of file ffprobe.c.
Referenced by json_print_str().
|
static |
|
static |
DEFINE_WRITER_CLASS | ( | xml | ) |
|
static |
|
static |
|
static |
|
static |
Definition at line 1917 of file ffprobe.c.
Referenced by xml_print_int(), and xml_print_str().
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
Definition at line 2043 of file ffprobe.c.
Referenced by show_chapters(), show_format(), show_frame(), show_packet(), show_program(), show_stream(), and show_stream_group().
|
static |
Definition at line 2061 of file ffprobe.c.
Referenced by print_frame_side_data().
|
static |
Definition at line 2223 of file ffprobe.c.
Referenced by print_frame_side_data(), and print_pkt_side_data().
|
static |
Definition at line 2322 of file ffprobe.c.
Referenced by print_frame_side_data().
|
static |
Definition at line 2392 of file ffprobe.c.
Referenced by print_frame_side_data(), and print_pkt_side_data().
|
static |
Definition at line 2403 of file ffprobe.c.
Referenced by print_frame_side_data().
|
static |
Definition at line 2528 of file ffprobe.c.
Referenced by show_packet(), and show_stream().
|
static |
Definition at line 2650 of file ffprobe.c.
Referenced by show_stream().
|
static |
Definition at line 2663 of file ffprobe.c.
Referenced by show_frame(), and show_stream().
|
static |
Definition at line 2673 of file ffprobe.c.
Referenced by show_frame(), and show_stream().
|
static |
Definition at line 2683 of file ffprobe.c.
Referenced by show_frame(), and show_stream().
|
static |
Definition at line 2693 of file ffprobe.c.
Referenced by show_frame(), and show_stream().
|
static |
Definition at line 2703 of file ffprobe.c.
Referenced by show_frame(), and show_stream().
|
static |
Definition at line 2713 of file ffprobe.c.
Referenced by process_frame(), and show_log().
|
static |
Definition at line 2729 of file ffprobe.c.
Referenced by show_frame().
|
static |
Definition at line 2764 of file ffprobe.c.
Referenced by read_interval_packets().
|
static |
Definition at line 2822 of file ffprobe.c.
Referenced by process_frame().
|
static |
Definition at line 2845 of file ffprobe.c.
Referenced by show_frame().
|
static |
Definition at line 2931 of file ffprobe.c.
Referenced by av1_receive_frame_internal(), frame_tag(), process_frame(), and uncompressed_header().
|
static |
Definition at line 3018 of file ffprobe.c.
Referenced by init_framesync(), and read_interval_packets().
|
static |
Definition at line 3081 of file ffprobe.c.
Referenced by parse_read_intervals(), and read_interval_packets().
|
static |
Definition at line 3105 of file ffprobe.c.
Referenced by read_packets().
|
static |
Definition at line 3228 of file ffprobe.c.
Referenced by probe_file().
|
static |
Definition at line 3248 of file ffprobe.c.
Referenced by show_stream(), and show_stream_group().
|
static |
Definition at line 3263 of file ffprobe.c.
Referenced by show_program(), show_stream_group(), and show_streams().
|
static |
Definition at line 3483 of file ffprobe.c.
Referenced by probe_file().
|
static |
Definition at line 3500 of file ffprobe.c.
Referenced by show_programs().
|
static |
Definition at line 3531 of file ffprobe.c.
Referenced by probe_file().
|
static |
Definition at line 3549 of file ffprobe.c.
Referenced by print_stream_group_params().
|
static |
Definition at line 3572 of file ffprobe.c.
Referenced by print_iamf_audio_element_params(), and print_iamf_submix_params().
|
static |
Definition at line 3627 of file ffprobe.c.
Referenced by print_stream_group_params().
|
static |
Definition at line 3658 of file ffprobe.c.
Referenced by print_iamf_mix_presentation_params().
|
static |
Definition at line 3705 of file ffprobe.c.
Referenced by print_stream_group_params().
|
static |
Definition at line 3724 of file ffprobe.c.
Referenced by show_stream_group().
|
static |
Definition at line 3736 of file ffprobe.c.
Referenced by show_stream_groups().
|
static |
Definition at line 3780 of file ffprobe.c.
Referenced by probe_file().
|
static |
Definition at line 3797 of file ffprobe.c.
Referenced by probe_file().
|
static |
Definition at line 3822 of file ffprobe.c.
Referenced by probe_file().
|
static |
|
static |
Definition at line 3862 of file ffprobe.c.
Referenced by probe_file().
|
static |
Definition at line 3987 of file ffprobe.c.
Referenced by probe_file().
|
static |
|
static |
Definition at line 4087 of file ffprobe.c.
Referenced by main(), and show_help_default().
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 4217 of file ffprobe.c.
Referenced by match_section(), and opt_show_versions().
|
static |
Definition at line 4231 of file ffprobe.c.
Referenced by opt_show_entries().
|
static |
|
static |
Definition at line 4300 of file ffprobe.c.
Referenced by main(), and opt_input_file_i().
|
static |
|
static |
|
static |
void show_help_default | ( | const char * | opt, |
const char * | arg | ||
) |
Per-fftool specific help handler.
Implemented in each fftool, called by show_help().
Definition at line 4347 of file ffprobe.c.
Referenced by show_help().
|
static |
Parse interval specification, according to the format: INTERVAL ::= [START|+START_OFFSET][%[END|+END_OFFSET]] INTERVALS ::= INTERVAL[,INTERVALS].
Definition at line 4363 of file ffprobe.c.
Referenced by parse_read_intervals().
|
static |
Definition at line 4445 of file ffprobe.c.
Referenced by opt_read_intervals().
|
static |
|
static |
|
static |
Definition at line 4507 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 104 of file ffprobe.c.
Referenced by expand_filename_template(), init_report(), main(), print_program_info(), show_help_default(), show_license(), show_usage(), and usage().
const int program_birth_year = 2007 |
program birth year, defined by the program for show_banner()
Definition at line 105 of file ffprobe.c.
Referenced by ffprobe_show_program_version(), and print_program_info().
|
static |
Definition at line 107 of file ffprobe.c.
Referenced by main(), show_format(), and show_stream().
|
static |
Definition at line 108 of file ffprobe.c.
Referenced by probe_file().
|
static |
Definition at line 109 of file ffprobe.c.
Referenced by probe_file().
|
static |
Definition at line 110 of file ffprobe.c.
Referenced by probe_file(), and read_interval_packets().
|
static |
Definition at line 111 of file ffprobe.c.
Referenced by probe_file(), and read_interval_packets().
|
static |
Definition at line 112 of file ffprobe.c.
Referenced by main(), and probe_file().
|
static |
Definition at line 114 of file ffprobe.c.
Referenced by main(), and probe_file().
|
static |
Definition at line 115 of file ffprobe.c.
Referenced by probe_file(), and process_frame().
|
static |
Definition at line 116 of file ffprobe.c.
Referenced by main(), probe_file(), and read_interval_packets().
|
static |
Definition at line 117 of file ffprobe.c.
Referenced by main(), and probe_file().
|
static |
Definition at line 118 of file ffprobe.c.
Referenced by main(), and probe_file().
|
static |
Definition at line 119 of file ffprobe.c.
Referenced by show_stream_group().
|
static |
Definition at line 120 of file ffprobe.c.
Referenced by main(), and probe_file().
|
static |
Definition at line 121 of file ffprobe.c.
Referenced by show_stream().
|
static |
Definition at line 122 of file ffprobe.c.
Referenced by show_stream_group().
|
static |
Definition at line 123 of file ffprobe.c.
Referenced by print_pkt_side_data(), show_packet(), and show_stream().
|
static |
|
static |
|
static |
|
static |
Definition at line 127 of file ffprobe.c.
Referenced by ffprobe_show_pixel_formats().
|
static |
Definition at line 128 of file ffprobe.c.
Referenced by ffprobe_show_pixel_formats().
|
static |
Definition at line 129 of file ffprobe.c.
Referenced by main(), open_input_file(), and show_frame().
|
static |
Definition at line 131 of file ffprobe.c.
Referenced by show_chapters().
|
static |
Definition at line 132 of file ffprobe.c.
Referenced by show_format().
|
static |
Definition at line 133 of file ffprobe.c.
Referenced by show_frame().
|
static |
Definition at line 134 of file ffprobe.c.
Referenced by show_program().
|
static |
Definition at line 135 of file ffprobe.c.
Referenced by show_stream_group().
|
static |
Definition at line 136 of file ffprobe.c.
Referenced by show_stream().
|
static |
Definition at line 137 of file ffprobe.c.
Referenced by show_packet().
|
static |
Definition at line 139 of file ffprobe.c.
Referenced by opt_pretty(), value_string(), and xml_init().
|
static |
Definition at line 140 of file ffprobe.c.
Referenced by opt_pretty(), value_string(), and xml_init().
|
static |
Definition at line 141 of file ffprobe.c.
Referenced by opt_pretty(), and value_string().
|
static |
Definition at line 142 of file ffprobe.c.
Referenced by opt_pretty(), and value_string().
|
static |
Definition at line 143 of file ffprobe.c.
Referenced by show_stream(), and xml_init().
|
static |
Definition at line 148 of file ffprobe.c.
Referenced by opt_show_optional_fields(), and writer_print_string().
|
static |
Definition at line 150 of file ffprobe.c.
Referenced by ff_nvdec_decode_init(), hwaccel_retrieve_data(), and main().
|
static |
Definition at line 151 of file ffprobe.c.
Referenced by probe_file().
|
static |
Definition at line 162 of file ffprobe.c.
Referenced by main(), parse_read_intervals(), and read_packets().
|
static |
Definition at line 163 of file ffprobe.c.
Referenced by parse_read_intervals(), and read_packets().
|
static |
Definition at line 165 of file ffprobe.c.
Referenced by open_input_file().
|
static |
Definition at line 283 of file ffprobe.c.
Referenced by check_section_show_entries(), main(), mark_section_show_entries(), match_section(), print_iamf_param_definition(), print_section(), and writer_open().
|
static |
Definition at line 358 of file ffprobe.c.
Referenced by main(), and opt_input_file().
|
static |
Definition at line 359 of file ffprobe.c.
Referenced by main(), and opt_print_filename().
|
static |
Definition at line 360 of file ffprobe.c.
Referenced by ff_alloc_input_device_context(), ff_load_image(), ff_wms_parse_sdp_a_line(), movie_common_init(), open_input_file(), opt_format(), show_format_opts(), and stream_open().
|
static |
Definition at line 361 of file ffprobe.c.
Referenced by main(), opt_output_file_o(), and writer_open().
|
static |
Definition at line 363 of file ffprobe.c.
Referenced by main(), and writer_print_data_hash().
const { ... } si_prefixes[] |
Referenced by value_string().
|
static |
Definition at line 379 of file ffprobe.c.
Referenced by value_string(), and writer_print_time().
|
static |
Definition at line 380 of file ffprobe.c.
Referenced by show_stream().
|
static |
Definition at line 381 of file ffprobe.c.
Referenced by show_format(), show_frame(), show_packet(), and value_string().
|
static |
Definition at line 382 of file ffprobe.c.
Referenced by show_format(), and show_stream().
|
static |
Definition at line 384 of file ffprobe.c.
Referenced by aix_read_header(), asf_read_close(), av_dump_format(), av_find_best_stream(), avformat_match_stream_specifier(), avi_read_header(), avi_sync(), decode_frame_header(), decode_info_header(), decode_stream_header(), dvdvideo_audio_stream_add_all(), dvdvideo_subp_stream_add_all(), ff_get_wav_header(), find_matching_stream(), ist_iter(), ivr_read_header(), libopus_decode_init(), lvf_read_header(), main(), match_streams_one_to_one(), mov_write_moov_tag(), movie_common_init(), new_stream_video(), ost_iter(), parse_variant_stream_mapstring(), probe_file(), qt_rtp_parse_packet(), queue_alloc(), read_interval_packets(), receive_for_stream(), sch_mux_receive_finish(), sch_mux_stream_buffering(), sch_mux_stream_ready(), sch_mux_sub_heartbeat(), sch_mux_sub_heartbeat_add(), select_pcr_streams(), set_dispositions(), sq_frame_samples(), sq_limit_frames(), sq_send(), stream_cycle_channel(), stream_specifier_match(), tq_alloc(), tq_receive_finish(), tq_send(), and tq_send_finish().
|
static |
Definition at line 385 of file ffprobe.c.
Referenced by probe_file(), read_interval_packets(), and show_stream().
|
static |
Definition at line 386 of file ffprobe.c.
Referenced by probe_file(), process_frame(), read_interval_packets(), and show_stream().
|
static |
Definition at line 387 of file ffprobe.c.
Referenced by probe_file(), read_interval_packets(), show_program(), show_stream_group(), and show_streams().
|
static |
Definition at line 401 of file ffprobe.c.
Referenced by clear_log(), log_callback(), and show_log().
|
static |
Definition at line 402 of file ffprobe.c.
Referenced by clear_log(), log_callback(), and show_log().
|
static |
|
static |
Definition at line 606 of file ffprobe.c.
Referenced by writer_open().
|
static |
Definition at line 1045 of file ffprobe.c.
Referenced by writer_get_by_name(), and writer_register().
|
static |
|
static |
Definition at line 1171 of file ffprobe.c.
Referenced by writer_register_all().
|
static |
Definition at line 1370 of file ffprobe.c.
Referenced by writer_register_all().
|
static |
Definition at line 1401 of file ffprobe.c.
Referenced by writer_register_all().
|
static |
|
static |
Definition at line 1526 of file ffprobe.c.
Referenced by writer_register_all().
|
static |
|
static |
Definition at line 1631 of file ffprobe.c.
Referenced by writer_register_all().
|
static |
Definition at line 1796 of file ffprobe.c.
Referenced by writer_register_all().
|
static |
|
static |
Definition at line 1968 of file ffprobe.c.
Referenced by main(), and writer_register_all().