Rename ffprobe to avprobe.

pull/2/head
Anton Khirnov 14 years ago
parent 266463daff
commit 9e12f0bf5f
  1. 2
      .gitignore
  2. 2
      Changelog
  3. 4
      Makefile
  4. 10
      avprobe.c
  5. 8
      configure
  6. 2
      doc/avplay.texi
  7. 22
      doc/avprobe.texi
  8. 2
      doc/ffmpeg.texi
  9. 2
      doc/ffserver.texi

2
.gitignore vendored

@ -13,7 +13,7 @@ doc/*.pod
doxy doxy
ffmpeg ffmpeg
avplay avplay
ffprobe avprobe
ffserver ffserver
libavcodec/*_tablegen libavcodec/*_tablegen
libavcodec/*_tables.c libavcodec/*_tables.c

@ -5,7 +5,7 @@ releases are sorted from youngest to oldest.
version <next>: version <next>:
- BWF muxer - BWF muxer
- Flash Screen Video 2 decoder - Flash Screen Video 2 decoder
- ffplay renamed to avplay - ffplay/ffprobe renamed to avplay/avprobe
version 0.7: version 0.7:

@ -54,7 +54,7 @@ COMPILE_S = $(call COMPILE,AS)
PROGS-$(CONFIG_FFMPEG) += ffmpeg PROGS-$(CONFIG_FFMPEG) += ffmpeg
PROGS-$(CONFIG_AVPLAY) += avplay PROGS-$(CONFIG_AVPLAY) += avplay
PROGS-$(CONFIG_FFPROBE) += ffprobe PROGS-$(CONFIG_AVPROBE) += avprobe
PROGS-$(CONFIG_FFSERVER) += ffserver PROGS-$(CONFIG_FFSERVER) += ffserver
PROGS := $(PROGS-yes:%=%$(EXESUF)) PROGS := $(PROGS-yes:%=%$(EXESUF))
@ -64,7 +64,7 @@ HOSTPROGS := $(TESTTOOLS:%=tests/%)
TOOLS = qt-faststart trasher TOOLS = qt-faststart trasher
TOOLS-$(CONFIG_ZLIB) += cws2fws TOOLS-$(CONFIG_ZLIB) += cws2fws
BASENAMES = ffmpeg avplay ffprobe ffserver BASENAMES = ffmpeg avplay avprobe ffserver
ALLPROGS = $(BASENAMES:%=%$(EXESUF)) ALLPROGS = $(BASENAMES:%=%$(EXESUF))
ALLMANPAGES = $(BASENAMES:%=%.1) ALLMANPAGES = $(BASENAMES:%=%.1)

@ -1,5 +1,5 @@
/* /*
* ffprobe : Simple Media Prober based on the Libav libraries * avprobe : Simple Media Prober based on the Libav libraries
* Copyright (c) 2007-2010 Stefano Sabatini * Copyright (c) 2007-2010 Stefano Sabatini
* *
* This file is part of Libav. * This file is part of Libav.
@ -29,7 +29,7 @@
#include "libavdevice/avdevice.h" #include "libavdevice/avdevice.h"
#include "cmdutils.h" #include "cmdutils.h"
const char program_name[] = "ffprobe"; const char program_name[] = "avprobe";
const int program_birth_year = 2007; const int program_birth_year = 2007;
static int do_show_format = 0; static int do_show_format = 0;
@ -44,7 +44,7 @@ static int use_value_sexagesimal_format = 0;
/* globals */ /* globals */
static const OptionDef options[]; static const OptionDef options[];
/* FFprobe context */ /* AVprobe context */
static const char *input_filename; static const char *input_filename;
static AVInputFormat *iformat = NULL; static AVInputFormat *iformat = NULL;
@ -327,7 +327,7 @@ static int probe_file(const char *filename)
static void show_usage(void) static void show_usage(void)
{ {
printf("Simple multimedia streams analyzer\n"); printf("Simple multimedia streams analyzer\n");
printf("usage: ffprobe [OPTIONS] [INPUT_FILE]\n"); printf("usage: %s [OPTIONS] [INPUT_FILE]\n", program_name);
printf("\n"); printf("\n");
} }
@ -407,7 +407,7 @@ int main(int argc, char **argv)
if (!input_filename) { if (!input_filename) {
show_usage(); show_usage();
fprintf(stderr, "You have to specify one input file.\n"); fprintf(stderr, "You have to specify one input file.\n");
fprintf(stderr, "Use -h to get full help or, even better, run 'man ffprobe'.\n"); fprintf(stderr, "Use -h to get full help or, even better, run 'man %s'.\n", program_name);
exit(1); exit(1);
} }

8
configure vendored

@ -82,7 +82,7 @@ Configuration options:
--disable-doc do not build documentation --disable-doc do not build documentation
--disable-ffmpeg disable ffmpeg build --disable-ffmpeg disable ffmpeg build
--disable-avplay disable avplay build --disable-avplay disable avplay build
--disable-ffprobe disable ffprobe build --disable-avprobe disable avprobe build
--disable-ffserver disable ffserver build --disable-ffserver disable ffserver build
--disable-avdevice disable libavdevice build --disable-avdevice disable libavdevice build
--disable-avcodec disable libavcodec build --disable-avcodec disable libavcodec build
@ -914,7 +914,7 @@ CONFIG_LIST="
fastdiv fastdiv
ffmpeg ffmpeg
avplay avplay
ffprobe avprobe
ffserver ffserver
fft fft
frei0r frei0r
@ -1491,7 +1491,7 @@ ffmpeg_deps="avcodec avformat swscale"
ffmpeg_select="buffer_filter" ffmpeg_select="buffer_filter"
avplay_deps="avcodec avformat swscale sdl" avplay_deps="avcodec avformat swscale sdl"
avplay_select="rdft" avplay_select="rdft"
ffprobe_deps="avcodec avformat" avprobe_deps="avcodec avformat"
ffserver_deps="avformat ffm_muxer fork rtp_protocol rtsp_demuxer" ffserver_deps="avformat ffm_muxer fork rtp_protocol rtsp_demuxer"
ffserver_extralibs='$ldl' ffserver_extralibs='$ldl'
@ -1636,7 +1636,7 @@ enable doc
enable fastdiv enable fastdiv
enable ffmpeg enable ffmpeg
enable avplay enable avplay
enable ffprobe enable avprobe
enable ffserver enable ffserver
enable network enable network
enable optimizations enable optimizations

@ -170,7 +170,7 @@ Seek to percentage in file corresponding to fraction of width.
@settitle AVplay media player @settitle AVplay media player
@c man begin SEEALSO @c man begin SEEALSO
ffmpeg(1), ffprobe(1), ffserver(1) and the Libav HTML documentation ffmpeg(1), avprobe(1), ffserver(1) and the Libav HTML documentation
@c man end @c man end
@c man begin AUTHORS @c man begin AUTHORS

@ -1,8 +1,8 @@
\input texinfo @c -*- texinfo -*- \input texinfo @c -*- texinfo -*-
@settitle ffprobe Documentation @settitle avprobe Documentation
@titlepage @titlepage
@center @titlefont{ffprobe Documentation} @center @titlefont{avprobe Documentation}
@end titlepage @end titlepage
@top @top
@ -15,33 +15,33 @@ The generic syntax is:
@example @example
@c man begin SYNOPSIS @c man begin SYNOPSIS
ffprobe [options] [@file{input_file}] avprobe [options] [@file{input_file}]
@c man end @c man end
@end example @end example
@chapter Description @chapter Description
@c man begin DESCRIPTION @c man begin DESCRIPTION
ffprobe gathers information from multimedia streams and prints it in avprobe gathers information from multimedia streams and prints it in
human- and machine-readable fashion. human- and machine-readable fashion.
For example it can be used to check the format of the container used For example it can be used to check the format of the container used
by a multimedia stream and the format and type of each media stream by a multimedia stream and the format and type of each media stream
contained in it. contained in it.
If a filename is specified in input, ffprobe will try to open and If a filename is specified in input, avprobe will try to open and
probe the file content. If the file cannot be opened or recognized as probe the file content. If the file cannot be opened or recognized as
a multimedia file, a positive exit code is returned. a multimedia file, a positive exit code is returned.
ffprobe may be employed both as a standalone application or in avprobe may be employed both as a standalone application or in
combination with a textual filter, which may perform more combination with a textual filter, which may perform more
sophisticated processing, e.g. statistical processing or plotting. sophisticated processing, e.g. statistical processing or plotting.
Options are used to list some of the formats supported by ffprobe or Options are used to list some of the formats supported by avprobe or
for specifying which information to display, and for setting how for specifying which information to display, and for setting how
ffprobe will show it. avprobe will show it.
ffprobe output is designed to be easily parsable by a textual filter, avprobe output is designed to be easily parsable by a textual filter,
and consists of one or more sections of the form: and consists of one or more sections of the form:
@example @example
[SECTION] [SECTION]
@ -118,8 +118,8 @@ with name "STREAM".
@ignore @ignore
@setfilename ffprobe @setfilename avprobe
@settitle ffprobe media prober @settitle avprobe media prober
@c man begin SEEALSO @c man begin SEEALSO
ffmpeg(1), avplay(1), ffserver(1) and the Libav HTML documentation ffmpeg(1), avplay(1), ffserver(1) and the Libav HTML documentation

@ -1079,7 +1079,7 @@ file to which you want to add them.
@settitle ffmpeg video converter @settitle ffmpeg video converter
@c man begin SEEALSO @c man begin SEEALSO
avplay(1), ffprobe(1), ffserver(1) and the Libav HTML documentation avplay(1), avprobe(1), ffserver(1) and the Libav HTML documentation
@c man end @c man end
@c man begin AUTHORS @c man begin AUTHORS

@ -265,7 +265,7 @@ rather than as a daemon.
@c man begin SEEALSO @c man begin SEEALSO
ffmpeg(1), avplay(1), ffprobe(1), the @file{ffmpeg/doc/ffserver.conf} ffmpeg(1), avplay(1), avprobe(1), the @file{ffmpeg/doc/ffserver.conf}
example and the Libav HTML documentation example and the Libav HTML documentation
@c man end @c man end

Loading…
Cancel
Save