[FFmpeg-devel] [RFC] Modify the ff* tools -version output
Michael Niedermayer
michaelni
Tue Aug 12 14:36:58 CEST 2008
On Tue, Aug 12, 2008 at 12:15:25AM +0200, Stefano Sabatini wrote:
> On date Monday 2008-08-11 22:52:01 +0200, Michael Niedermayer encoded:
> > On Mon, Aug 11, 2008 at 10:32:57PM +0200, Stefano Sabatini wrote:
> > > On date Monday 2008-08-11 21:38:13 +0200, Michael Niedermayer encoded:
> > > > On Fri, Aug 08, 2008 at 09:38:48PM +0200, Stefano Sabatini wrote:
> > > > > Hi all,
> > > > >
> > > > > with the patches applied the output of the ff* tools -version option becomes:
> > > > >
> > > > > stefano at geppetto ~/s/ffmpeg> ffmpeg -version
> > > > > FFmpeg version SVN-r14667, Copyright (c) 2000-2008 Fabrice Bellard, et al.
> > > > > configuration: --prefix=/home/stefano --disable-shared --enable-libschroedinger --enable-libx264 --enable-pthreads --enable-gpl --enable-debug=3 --enable-libtheora --enable-libvorbis --enable-avfilter --enable-libamr-nb --enable-libamr-wb --enable-nonfree --enable-libfaad --enable-libfaac --enable-x11grab --enable-libmp3lame --disable-optimizations --disable-mmx
> > > > > built on Aug 8 2008 21:21:18, gcc: 4.2.3 20071014 (prerelease) (Debian 4.2.2-3)
> > > > > FFmpeg SVN-r14667
> > > > > libavutil version(C): 49.9.0
> > > > > libavutil version(L): 49.9.0
> > > > > libavcodec version(C): 51.63.0
> > > > > libavcodec version:(L) 51.63.0
> > > > > libavformat version(C): 52.20.0
> > > > > libavformat version(L): 52.20.0
> > > > > libavdevice version(C): 52.1.0
> > > > > libavdevice version(L): 52.1.0
> > > > > libavfilter version(C): 0.1.0
> > > > > libavfilter version(L): 0.1.0
> > > >
> > > > libavutil a.b.c / d.e.f
> > > > ...
> > > > seems a more sane way to print it
> > >
> > > OK, what about this:
> > > FFmpeg SVN-r14692
> > > libavutil 49.9.0 / 49.9.0
> > > libavcodec 51.64.0 / 51.64.0
> > > libavformat 52.20.0 / 52.20.0
> > > libavdevice 52.1.0 / 52.1.0
> > > libavfilter 0.1.0 / 0.1.0
> > > ?
> >
> > vertical align
>
> patch #02:
> FFmpeg SVN-r14695
> libavutil 49.9.0 / 49.9.0
> libavcodec 51.64.0 / 51.64.0
> libavformat 52.20.0 / 52.20.0
> libavdevice 52.1.0 / 52.1.0
> libavfilter 0.1.0 / 0.1.0
>
> patch #03 (slightly more bloated):
> FFmpeg SVN-r14695
> libavutil 49.9.0 / 49.9.0
> libavcodec 51.64.0 / 51.64.0
> libavformat 52.20.0 / 52.20.0
> libavdevice 52.1.0 / 52.1.0
> libavfilter 0.1.0 / 0.1.0
what about
libavutil 49. 9. 0 / 49. 9. 0
libavcodec 51.64. 0 / 51.64. 0
libavformat 52.20. 0 / 52.20. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 1. 0 / 0. 1. 0
?
maybe easier to make ...
[...]
> Index: cmdutils.c
> ===================================================================
> --- cmdutils.c (revision 14695)
> +++ cmdutils.c (working copy)
> @@ -201,13 +201,6 @@
> fprintf(stderr, "%s version " FFMPEG_VERSION ", Copyright (c) %d-2008 Fabrice Bellard, et al.\n",
> program_name, program_birth_year);
> fprintf(stderr, " configuration: " FFMPEG_CONFIGURATION "\n");
> - fprintf(stderr, " libavutil version: " AV_STRINGIFY(LIBAVUTIL_VERSION) "\n");
> - fprintf(stderr, " libavcodec version: " AV_STRINGIFY(LIBAVCODEC_VERSION) "\n");
> - fprintf(stderr, " libavformat version: " AV_STRINGIFY(LIBAVFORMAT_VERSION) "\n");
> - fprintf(stderr, " libavdevice version: " AV_STRINGIFY(LIBAVDEVICE_VERSION) "\n");
> -#if ENABLE_AVFILTER
> - fprintf(stderr, " libavfilter version: " AV_STRINGIFY(LIBAVFILTER_VERSION) "\n");
> -#endif
> fprintf(stderr, " built on " __DATE__ " " __TIME__);
> #ifdef __GNUC__
> fprintf(stderr, ", gcc: " __VERSION__ "\n");
> @@ -216,14 +209,22 @@
> #endif
> }
rejected, we need to have the version in the output in bugreports
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080812/d4898805/attachment.pgp>
More information about the ffmpeg-devel
mailing list