[xiph-commits] r14404 - trunk/ffmpeg2theora

j at svn.xiph.org j at svn.xiph.org
Wed Jan 16 01:18:50 PST 2008


Author: j
Date: 2008-01-16 01:18:50 -0800 (Wed, 16 Jan 2008)
New Revision: 14404

Modified:
   trunk/ffmpeg2theora/configure.ac
   trunk/ffmpeg2theora/ffmpeg2theora.c
Log:
setting bitrate once is fine

Modified: trunk/ffmpeg2theora/configure.ac
===================================================================
--- trunk/ffmpeg2theora/configure.ac	2008-01-16 09:11:48 UTC (rev 14403)
+++ trunk/ffmpeg2theora/configure.ac	2008-01-16 09:18:50 UTC (rev 14404)
@@ -31,12 +31,12 @@
 AC_SUBST(XIPH_LIBS)
 
 PKG_CONFIG_PATH=./ffmpeg:$PKG_CONFIG_PATH
-PKG_CHECK_MODULES(FFMPEG, libavformat libavcodec libswscale libpostproc, HAVE_FFMPEG=yes, 
+PKG_CHECK_MODULES(FFMPEG, libavformat libavcodec libavdevice libswscale libpostproc, HAVE_FFMPEG=yes, 
         AC_MSG_ERROR([
 
 could not find libavformat libavcodec libswscale libpostproc.
 install it 
- sudo apt-get install libavformat-dev libavcodec-dev libswscale-dev libpostproc-dev
+ sudo apt-get install libavformat-dev libavcodec-dev libavdevice-dev libswscale-dev libpostproc-dev
 or update PKG_CONFIG_PATH to point to ffmpegs source folder
 or run ./get_ffmpeg_svn.sh (for more information see INSTALL)
 ])

Modified: trunk/ffmpeg2theora/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/ffmpeg2theora.c	2008-01-16 09:11:48 UTC (rev 14403)
+++ trunk/ffmpeg2theora/ffmpeg2theora.c	2008-01-16 09:18:50 UTC (rev 14404)
@@ -1425,7 +1425,6 @@
                 else if(!strcmp(optarg,"videobin")){
                     convert->preset=V2V_PRESET_VIDEOBIN;
                     convert->video_bitrate=rint(992*1000);
-                    convert->video_bitrate=0;
                     convert->audio_quality = 3.00;
                     convert->sharpness = 2;
                     info.speed_level = 0;



More information about the commits mailing list