Browse code

Enable libavfilter by default and fix pading for mxf-d10

Originally committed as revision 23048 to svn://svn.ffmpeg.org/ffmpeg/trunk

Michael Niedermayer authored on 2010/05/07 20:52:05
Showing 2 changed files
... ...
@@ -89,7 +89,7 @@ Configuration options:
89 89
   --disable-avformat       disable libavformat build
90 90
   --disable-swscale        disable libswscale build
91 91
   --enable-postproc        enable GPLed postprocessing support [no]
92
-  --enable-avfilter        video filter support [no]
92
+  --disable-avfilter       disable video filter support [no]
93 93
   --enable-avfilter-lavf   video filters dependent on avformat [no]
94 94
   --enable-beosthreads     use BeOS threads [no]
95 95
   --enable-os2threads      use OS/2 threads [no]
... ...
@@ -1468,6 +1468,7 @@ host_os=$target_os_default
1468 1468
 # configurable options
1469 1469
 enable avcodec
1470 1470
 enable avdevice
1471
+enable avfilter
1471 1472
 enable avformat
1472 1473
 enable avutil
1473 1474
 enable asm
... ...
@@ -68,7 +68,7 @@ fi
68 68
 
69 69
 if [ -n "$do_mxf" ] ; then
70 70
 do_lavf mxf "-ar 48000 -bf 2 -timecode_frame_start 264363"
71
-do_lavf mxf_d10 "-ar 48000 -ac 2 -r 25 -s 720x576 -padtop 32 -vcodec mpeg2video -intra -flags +ildct+low_delay -dc 10 -flags2 +ivlc+non_linear_q -qscale 1 -ps 1 -qmin 1 -rc_max_vbv_use 1 -rc_min_vbv_use 1 -pix_fmt yuv422p -minrate 30000k -maxrate 30000k -b 30000k -bufsize 1200000 -top 1 -rc_init_occupancy 1200000 -qmax 12 -f mxf_d10"
71
+do_lavf mxf_d10 "-ar 48000 -ac 2 -r 25 -s 720x576 -vfilters pad=720:608:0:32 -vcodec mpeg2video -intra -flags +ildct+low_delay -dc 10 -flags2 +ivlc+non_linear_q -qscale 1 -ps 1 -qmin 1 -rc_max_vbv_use 1 -rc_min_vbv_use 1 -pix_fmt yuv422p -minrate 30000k -maxrate 30000k -b 30000k -bufsize 1200000 -top 1 -rc_init_occupancy 1200000 -qmax 12 -f mxf_d10"
72 72
 fi
73 73
 
74 74
 if [ -n "$do_ts" ] ; then