Anton Khirnov
182cbe433a
avtools: parse loglevel before all the other options.
...
This way it can be applied to cmdutils too -- e.g. showing the banner
and printing startup messages.
13 years ago
Anton Khirnov
7cc8d6385a
cmdutils: add support for caller-provided option context.
...
This is the first step to removing the globals plague from avtools.
13 years ago
Anton Khirnov
dad09ff93f
cmdutils: move exit_program() declaration to cmdutils from avconv
...
Allows cmdutils to call each tool's own cleanup function.
13 years ago
Anton Khirnov
20c21f8b75
cmdutils: get rid of dummy contexts for examining AVOptions.
...
Replace it with newly introduced libavutil API.
13 years ago
Diego Biurrun
c960e67ad0
Replace deprecated av_find_stream_info() by avformat_find_stream_info().
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
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
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
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
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
Stefano Sabatini
336ce917e6
Add FFprobe tool.
...
This is a simplified / cleaned-up version of the SourceForge program:
http://sourceforge.net/projects/ffprobe/
Syntax / features may be different, in particular the options
-show_packets and -show_frames are not yet supported in this version.
Originally committed as revision 21936 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago