Clément Bœsch
d5d7de7671
ffprobe: directly use va args in print fmt callbacks.
13 years ago
Clément Bœsch
0629b1ff35
ffprobe: introduce output format writers.
13 years ago
Clément Bœsch
8af9366e2f
ffprobe: fix deprecated call to av_find_stream_info.
13 years ago
Stefano Sabatini
9a15146768
ffprobe: use av_get_media_type_string() in media_type_string(), simplify
13 years ago
Stefano Sabatini
7c94740b84
ffprobe: in value_string(), do not print trailing space in case of no suffix
13 years ago
Anton Khirnov
9e12f0bf5f
Rename ffprobe to avprobe.
13 years ago
Thierry Foucu
364d64275c
ffprobe: display bitstream level.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
0b950fe240
lavc: introduce avcodec_open2() as a replacement for avcodec_open().
...
Adds support for decoder-private options and makes setting other options
simpler.
14 years ago
Gavin Kinsey
c558122e4e
Fix segmentation fault in ffprobe
14 years ago
Nicolas George
25119a7f08
ffprobe: flush stdout after each group.
14 years ago
Stefano Sabatini
46edd3a01b
ffprobe: fix opt_pretty() signature
...
This is required after the OPT_FUNC2 removal.
14 years ago
Jeff Downs
a09918335f
Make all option parsing functions match the function pointer type through which they are called.
...
All option parsing functions now match the function pointer signature through
which they are called (int f(const char *, const char *), thereby working
reliably on all platforms.
Prefix all option processing functions with opt_
14 years ago
Michael Niedermayer
06724c5f5d
ffprobe: remove duplicate avformat_alloc_context()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Gavin Kinsey
df1768d0a2
Fix segmentation fault in ffprobe
14 years ago
Anton Khirnov
e0518705c8
ffprobe: use new avformat_open_* API.
14 years ago
Anton Khirnov
d2d67e424f
Remove all uses of now deprecated metadata functions.
14 years ago
Stefano Sabatini
cea87fb2c3
ffprobe: implement -i FILE option
...
Useful for mimicking the ffmpeg -i FILE syntax.
14 years ago
Stefano Sabatini
96f931adf7
cmdutils: change the signature of the function argument in parse_options()
...
This is required for a pending simplification.
14 years ago
Stefano Sabatini
eb8bc57240
cmdutils: remove OPT_FUNC2
...
Make ff* tools only accept opt_* functions taking two arguments.
The distinction between functions with one and two arguments is quite
pointless. Simplify parse_options() code.
14 years ago
Stefano Sabatini
26513856d6
cmdutils: remove OPT_FUNC2
...
Make ff* tools only accept opt_* functions taking two arguments.
The distinction between functions with one and two arguments is quite
pointless. Simplify parse_options() code.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Stefano Sabatini
9c3f5ef663
ffprobe: tweak error message in open_input_file()
...
Replace "codec (id=%d)" with "codec with id %d", slightly more
readable.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Diego Biurrun
89b503b55f
Lowercase all ff* program names.
14 years ago
Anton Khirnov
41d0eb1c81
lavc: remove the FF_API_SET_STRING_OLD cruft.
14 years ago
Stefano Sabatini
98ac192b4e
ffprobe: provide format parameters to av_open_input_file()
...
Provide a non-NULL AVFormatParameters structure to
av_open_input_file() in open_input_file().
This is required because otherwise av_open_input_file() will allocate
and use a new format context, discarding the options set in the
provided format context.
14 years ago
Stefano Sabatini
038566a5ed
ffprobe: tweak error message in open_input_file()
...
Replace "codec (id=%d)" with "codec with id %d", slightly more
readable.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
0ebf475494
lavf: add av_ prefix to dump_format()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 610219a598
)
14 years ago
Anton Khirnov
610219a598
lavf: add av_ prefix to dump_format()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
4712ed26ee
Make ffprobe print stream language only once, also remove usage of the
...
deprecated field AVStream.language.
Patch by Anton Khirnov %name%@%surname% dot net.
Originally committed as revision 25507 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anton Khirnov
a7e5a832c4
ffmpeg.c/ffprobe.c: remove all uses of av_metadata_conv()
...
patch by Anton Khirnov anton _at_ khirnov _dot_ net
Originally committed as revision 25503 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
0093ebc20a
User application side of Codec specific parameters.
...
Originally committed as revision 25266 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
6afd569e1d
Make ffprobe able to set AVFormatContext options.
...
Originally committed as revision 25187 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
530bbe96c7
Implement ffprobe -show_packets.
...
Originally committed as revision 24577 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
7e566bbe6c
Implement av_get_codec_tag_string() and use it in ffprobe.
...
Originally committed as revision 23421 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
441881b4f9
Reindent after the last commit.
...
Originally committed as revision 22984 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
8280e2bd45
Make ffprobe show sample_aspect_ratio and display_aspect_ratio only if
...
sample_aspect_ratio is known.
Avoid to show bogus values, which may confuse both the human and the
machine reader.
Based on a patch by Robert Krüger $(echo lsvfhfs@tjhobm7.ef | tr "b-za" "a-z").
Originally committed as revision 22983 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Robert Krüger
0a6a282a51
Make ffprobe show stream->nb_frames if that info is known.
...
Patch by Robert Krüger $(echo kru3g3r@signal7.d3 | sed -e 's/3/e/g').
Originally committed as revision 22964 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Robert Krüger
d21b227818
Fix computation of the display aspect ratio.
...
Previously ffprobe was wrongly outputting the sample aspect ratio as
display aspect ratio.
Patch by Robert Krüger $(echo k-r-u-e-g-e-r@s-i-g-n-a-l-7.d-e | sed s/-//g).
Originally committed as revision 22880 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
4bfe67da24
Implement -convert_tags option, which converts showed tag names to the
...
FFmpeg generic tag names.
Originally committed as revision 22708 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
efe8bb095b
10l: Initialize tag to NULL in show_stream, fix metadata showing in
...
streams.
Originally committed as revision 22698 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
6580d5e377
Remove hacks not required since HAVE_AV_CONFIG_H was unset for the apps
...
Originally committed as revision 22295 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
6ce98ea4ae
Add support to input devices in ffprobe.
...
See the thread:
Subject: [FFmpeg-devel] [PATCH] Add support to input device to ffprobe
Date: Sun, 21 Feb 2010 14:57:44 +0100
Originally committed as revision 22231 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
818636ecf1
Cosmetics: use consistent spacing in the ffprobe.c options table.
...
Originally committed as revision 22212 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
58621b8d5b
Clarify the error message issued by ffprobe in case of more than one
...
file provided as input.
Originally committed as revision 22138 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
b6a4185367
10l: add prefix "TAG:" to the metadata tags key showed for each stream.
...
This is consistent with the metadata displaying in show_format() and
with the documentation.
Originally committed as revision 22046 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
912dd63ecb
Cosmetics: replace "filename" to "arg" for the name of the argument of
...
opt_input_file(). More consistent and more clear, as "filename" can be
easily confused with the global "input_filename".
Originally committed as revision 22045 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
c8c0ac6b26
FFprobe: take only one input file.
...
Originally committed as revision 22014 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
1be784a2cf
Add support to an option -f which forces the format to use for opening
...
the probed multimedia resource.
Originally committed as revision 21944 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
f1b267ddf7
Avoid using log2, it is not available everywhere.
...
Should fix compilation on FreeBSD.
Originally committed as revision 21942 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago