[xiph-commits] r18061 - trunk/ffmpeg2theora/src
j at svn.xiph.org
j at svn.xiph.org
Fri Aug 5 05:18:08 PDT 2011
Author: j
Date: 2011-08-05 05:18:08 -0700 (Fri, 05 Aug 2011)
New Revision: 18061
Modified:
trunk/ffmpeg2theora/src/ffmpeg2theora.c
Log:
more verbose version info
Modified: trunk/ffmpeg2theora/src/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/src/ffmpeg2theora.c 2011-08-05 11:50:10 UTC (rev 18060)
+++ trunk/ffmpeg2theora/src/ffmpeg2theora.c 2011-08-05 12:18:08 UTC (rev 18061)
@@ -1985,9 +1985,21 @@
th_encode_free(td);
fprintf(stdout,
- PACKAGE " " PACKAGE_VERSION " - %s\n", th_version_string());
+ PACKAGE " " PACKAGE_VERSION "\n\n"
+ "\t%s\n"
+ "\t%s\n",
+ th_version_string(),
+ vorbis_version_string());
+
+ unsigned int version = avcodec_version();
+ fprintf(stdout, "\tFFmpeg\t libavcodec %02d.%d.%d\n",
+ version >> 16, version >> 8 & 0xff, version & 0xff);
+ version = avformat_version();
+ fprintf(stdout, "\tFFmpeg\t libavformat %02d.%d.%d\n",
+ version >> 16, version >> 8 & 0xff, version & 0xff);
+
fprintf(stdout,
- "\n"
+ "\n\n"
" Usage: " PACKAGE " [options] input\n"
"\n"
"General output options:\n"
More information about the commits
mailing list