[FFmpeg-user] unable to include drawtext filter

anshul anshul.ffmpeg at gmail.com
Sat Jan 18 09:53:31 CET 2014


On 01/18/2014 02:22 PM, anshul wrote:
> On 01/18/2014 02:05 PM, anshul wrote:
>> On 01/18/2014 02:02 PM, anshul wrote:
>>> On 01/18/2014 01:58 PM, anshul wrote:
>>>> Hi
>>>>
>>>> I was trying to compile ffmpeg with draw text filter, but I am 
>>>> unable to get drawtext filter
>>>>
>>>> This is how I configured
>>>>
>>>> [anshul at daku_daddy ffmpeg]$ ./configure --enable-filter=drawtext
>>>> install prefix            /usr/local
>>>> source path               .
>>>> C compiler                gcc
>>>> C library                 glibc
>>>> ARCH                      x86 (generic)
>>>> big-endian                no
>>>> runtime cpu detection     yes
>>>> yasm                      yes
>>>> MMX enabled               yes
>>>> MMXEXT enabled            yes
>>>> 3DNow! enabled            yes
>>>> 3DNow! extended enabled   yes
>>>> SSE enabled               yes
>>>> SSSE3 enabled             yes
>>>> AVX enabled               yes
>>>> FMA4 enabled              yes
>>>> i686 features enabled     yes
>>>> CMOV is fast              no
>>>> EBX available             yes
>>>> EBP available             yes
>>>> debug symbols             yes
>>>> strip symbols             yes
>>>> optimize for size         no
>>>> optimizations             yes
>>>> static                    yes
>>>> shared                    no
>>>> postprocessing support    no
>>>> new filter support        yes
>>>> network support           yes
>>>> threading support         pthreads
>>>> safe bitstream reader     yes
>>>> SDL support               yes
>>>> opencl enabled            no
>>>> libzvbi enabled           no
>>>> texi2html enabled         yes
>>>> perl enabled              yes
>>>> pod2man enabled           yes
>>>> makeinfo enabled          yes
>>>>
>>>> External libraries:
>>>> bzlib                   iconv                   zlib
>>>>
>>>> Enabled decoders:
>>>> aac                     bintext                 huffyuv
>>>> aac_latm                bmp                     iac
>>>> aasc                    bmv_audio               idcin
>>>> ac3                     bmv_video               idf
>>>> adpcm_4xm               brender_pix             iff_byterun1
>>>> adpcm_adx               c93                     iff_ilbm
>>>> adpcm_afc               cavs                    imc
>>>> adpcm_ct                cdgraphics              indeo2
>>>> adpcm_dtk               cdxl                    indeo3
>>>> adpcm_ea                cinepak                 indeo4
>>>> adpcm_ea_maxis_xa       cljr                    indeo5
>>>> adpcm_ea_r1             cllc interplay_dpcm
>>>> adpcm_ea_r2             comfortnoise interplay_video
>>>> adpcm_ea_r3             cook                    jacosub
>>>> adpcm_ea_xas            cpia                    jpeg2000
>>>> adpcm_g722              cscd                    jpegls
>>>> adpcm_g726              cyuv                    jv
>>>> adpcm_g726le            dca                     kgv1
>>>> adpcm_ima_amv           dfa                     kmvc
>>>> adpcm_ima_apc           dirac                   lagarith
>>>> adpcm_ima_dk3           dnxhd                   loco
>>>> adpcm_ima_dk4           dpx                     mace3
>>>> adpcm_ima_ea_eacs       dsicinaudio             mace6
>>>> adpcm_ima_ea_sead       dsicinvideo             mdec
>>>> adpcm_ima_iss           dvbsub                  metasound
>>>> adpcm_ima_oki           dvdsub                  microdvd
>>>> adpcm_ima_qt            dvvideo                 mimic
>>>> adpcm_ima_rad           dxa                     mjpeg
>>>> adpcm_ima_smjpeg        dxtory                  mjpegb
>>>> adpcm_ima_wav           eac3                    mlp
>>>> adpcm_ima_ws            eacmv                   mmvideo
>>>> adpcm_ms                eamad                   motionpixels
>>>> adpcm_sbpro_2           eatgq                   movtext
>>>> adpcm_sbpro_3           eatgv                   mp1
>>>> adpcm_sbpro_4           eatqi                   mp1float
>>>> adpcm_swf               eightbps                mp2
>>>> adpcm_thp               eightsvx_exp            mp2float
>>>> adpcm_xa                eightsvx_fib            mp3
>>>> adpcm_yamaha            escape124               mp3adu
>>>> aic                     escape130               mp3adufloat
>>>> alac                    evrc                    mp3float
>>>> als                     exr                     mp3on4
>>>> amrnb                   ffv1                    mp3on4float
>>>> amrwb                   ffvhuff                 mpc7
>>>> amv                     ffwavesynth             mpc8
>>>> anm                     flac                    mpeg1video
>>>> ansi                    flashsv                 mpeg2video
>>>> ape                     flashsv2                mpeg4
>>>> ass                     flic                    mpeg_xvmc
>>>> asv1                    flv                     mpegvideo
>>>> asv2                    fourxm                  mpl2
>>>> atrac1                  fraps                   msa1
>>>> atrac3                  frwu                    msmpeg4v1
>>>> atrac3p                 g2m                     msmpeg4v2
>>>> aura                    g723_1                  msmpeg4v3
>>>> aura2                   g729                    msrle
>>>> avrn                    gif                     mss1
>>>> avrp                    gsm                     mss2
>>>> avs                     gsm_ms                  msvideo1
>>>> avui                    h261                    mszh
>>>> ayuv                    h263                    mts2
>>>> bethsoftvid             h263i                   mvc1
>>>> bfi                     h263p                   mvc2
>>>> bink                    h264                    mxpeg
>>>> binkaudio_dct           hevc                    nellymoser
>>>> binkaudio_rdft          hnm4_video              nuv
>>>> paf_audio               ralf                    v210
>>>> paf_video               rawvideo                v210x
>>>> pam                     realtext                v308
>>>> pbm                     rl2                     v408
>>>> pcm_alaw                roq                     v410
>>>> pcm_bluray              roq_dpcm                vb
>>>> pcm_dvd                 rpza                    vble
>>>> pcm_f32be               rv10                    vc1
>>>> pcm_f32le               rv20                    vc1image
>>>> pcm_f64be               rv30                    vcr1
>>>> pcm_f64le               rv40                    vima
>>>> pcm_lxf                 s302m                   vmdaudio
>>>> pcm_mulaw               sami                    vmdvideo
>>>> pcm_s16be               sanm                    vmnc
>>>> pcm_s16be_planar        sgi                     vorbis
>>>> pcm_s16le               sgirle                  vp3
>>>> pcm_s16le_planar        shorten                 vp5
>>>> pcm_s24be               sipr                    vp6
>>>> pcm_s24daud             smackaud                vp6a
>>>> pcm_s24le               smacker                 vp6f
>>>> pcm_s24le_planar        smc                     vp8
>>>> pcm_s32be               smvjpeg                 vp9
>>>> pcm_s32le               snow                    vplayer
>>>> pcm_s32le_planar        sol_dpcm                vqa
>>>> pcm_s8                  sonic                   wavpack
>>>> pcm_s8_planar           sp5x                    webp
>>>> pcm_u16be               srt                     webvtt
>>>> pcm_u16le               ssa                     wmalossless
>>>> pcm_u24be               subrip                  wmapro
>>>> pcm_u24le               subviewer               wmav1
>>>> pcm_u32be               subviewer1              wmav2
>>>> pcm_u32le               sunrast                 wmavoice
>>>> pcm_u8                  svq1                    wmv1
>>>> pcm_zork                svq3                    wmv2
>>>> pcx                     tak                     wmv3
>>>> pgm                     targa                   wmv3image
>>>> pgmyuv                  targa_y216              wnv1
>>>> pgssub                  text                    ws_snd1
>>>> pictor                  theora                  xan_dpcm
>>>> pjs                     thp                     xan_wc3
>>>> png                     tiertexseqvideo         xan_wc4
>>>> ppm                     tiff                    xbin
>>>> prores                  tmv                     xbm
>>>> prores_lgpl             truehd                  xface
>>>> ptx                     truemotion1             xl
>>>> qcelp                   truemotion2             xsub
>>>> qdm2                    truespeech              xwd
>>>> qdraw                   tscc                    y41p
>>>> qpeg                    tscc2                   yop
>>>> qtrle                   tta                     yuv4
>>>> r10k                    twinvq                  zero12v
>>>> r210                    txd                     zerocodec
>>>> ra_144                  ulti                    zlib
>>>> ra_288                  utvideo                 zmbv
>>>>
>>>> Enabled encoders:
>>>> a64multi                ljpeg                   prores
>>>> a64multi5               mjpeg                   prores_aw
>>>> aac                     movtext                 prores_ks
>>>> ac3                     mp2                     qtrle
>>>> ac3_fixed               mp2fixed                r10k
>>>> adpcm_adx               mpeg1video              r210
>>>> adpcm_g722              mpeg2video              ra_144
>>>> adpcm_g726              mpeg4                   rawvideo
>>>> adpcm_ima_qt            msmpeg4v2               roq
>>>> adpcm_ima_wav           msmpeg4v3               roq_dpcm
>>>> adpcm_ms                msvideo1                rv10
>>>> adpcm_swf               nellymoser              rv20
>>>> adpcm_yamaha            pam                     s302m
>>>> alac                    pbm                     sgi
>>>> amv                     pcm_alaw                snow
>>>> ass                     pcm_f32be               sonic
>>>> asv1                    pcm_f32le               sonic_ls
>>>> asv2                    pcm_f64be               srt
>>>> avrp                    pcm_f64le               ssa
>>>> avui                    pcm_mulaw               subrip
>>>> ayuv                    pcm_s16be               sunrast
>>>> bmp                     pcm_s16be_planar        svq1
>>>> cljr                    pcm_s16le               targa
>>>> comfortnoise            pcm_s16le_planar        tiff
>>>> dca                     pcm_s24be               tta
>>>> dnxhd                   pcm_s24daud             utvideo
>>>> dpx                     pcm_s24le               v210
>>>> dvbsub                  pcm_s24le_planar        v308
>>>> dvdsub                  pcm_s32be               v408
>>>> dvvideo                 pcm_s32le               v410
>>>> eac3                    pcm_s32le_planar        vorbis
>>>> ffv1                    pcm_s8                  wavpack
>>>> ffvhuff                 pcm_s8_planar           wmav1
>>>> flac                    pcm_u16be               wmav2
>>>> flashsv                 pcm_u16le               wmv1
>>>> flashsv2                pcm_u24be               wmv2
>>>> flv                     pcm_u24le               xbm
>>>> g723_1                  pcm_u32be               xface
>>>> gif                     pcm_u32le               xsub
>>>> h261                    pcm_u8                  xwd
>>>> h263                    pcx                     y41p
>>>> h263p                   pgm                     yuv4
>>>> huffyuv                 pgmyuv                  zlib
>>>> jpeg2000                png                     zmbv
>>>> jpegls                  ppm
>>>>
>>>> Enabled hwaccels:
>>>> h263_vaapi              mpeg2_vaapi             vc1_vaapi
>>>> h264_vaapi              mpeg2_xvmc              wmv3_vaapi
>>>> mpeg1_xvmc              mpeg4_vaapi
>>>>
>>>> Enabled parsers:
>>>> aac                     dvd_nav                 mpegvideo
>>>> aac_latm                dvdsub                  png
>>>> ac3                     flac                    pnm
>>>> adx                     gsm                     rv30
>>>> bmp                     h261                    rv40
>>>> cavsvideo               h263                    tak
>>>> cook                    h264                    vc1
>>>> dca                     hevc                    vorbis
>>>> dirac                   mjpeg                   vp3
>>>> dnxhd                   mlp                     vp8
>>>> dpx                     mpeg4video              vp9
>>>> dvbsub                  mpegaudio
>>>>
>>>> Enabled demuxers:
>>>> aac                     hevc                    pcm_s32le
>>>> ac3                     hls                     pcm_s8
>>>> act                     hnm                     pcm_u16be
>>>> adf                     ico                     pcm_u16le
>>>> adp                     idcin                   pcm_u24be
>>>> adx                     idf                     pcm_u24le
>>>> aea                     iff                     pcm_u32be
>>>> afc                     ilbc                    pcm_u32le
>>>> aiff                    image2                  pcm_u8
>>>> amr                     image2pipe              pjs
>>>> anm                     ingenient               pmp
>>>> apc                     ipmovie                 pva
>>>> ape                     ircam                   pvf
>>>> aqtitle                 iss                     qcp
>>>> asf                     iv8                     r3d
>>>> ass                     ivf                     rawvideo
>>>> ast                     jacosub                 realtext
>>>> au                      jv                      redspark
>>>> avi                     latm                    rl2
>>>> avr                     lmlm4                   rm
>>>> avs                     loas                    roq
>>>> bethsoftvid             lvf                     rpl
>>>> bfi                     lxf                     rsd
>>>> bink                    m4v                     rso
>>>> bintext                 matroska                rtp
>>>> bit                     mgsts                   rtsp
>>>> bmv                     microdvd                sami
>>>> boa                     mjpeg                   sap
>>>> brstm                   mlp                     sbg
>>>> c93                     mm                      sdp
>>>> caf                     mmf                     segafilm
>>>> cavsvideo               mov                     shorten
>>>> cdg                     mp3                     siff
>>>> cdxl                    mpc                     smacker
>>>> concat                  mpc8                    smjpeg
>>>> data                    mpegps                  smush
>>>> daud                    mpegts                  sol
>>>> dfa                     mpegtsraw               sox
>>>> dirac                   mpegvideo               spdif
>>>> dnxhd                   mpl2                    srt
>>>> dsicin                  mpsub                   str
>>>> dts                     msnwc_tcp               subviewer
>>>> dtshd                   mtv                     subviewer1
>>>> dv                      mv                      swf
>>>> dxa                     mvi                     tak
>>>> ea                      mxf                     tedcaptions
>>>> ea_cdata                mxg                     thp
>>>> eac3                    nc                      tiertexseq
>>>> epaf                    nistsphere              tmv
>>>> ffm                     nsv                     truehd
>>>> ffmetadata              nut                     tta
>>>> filmstrip               nuv                     tty
>>>> flac                    ogg                     txd
>>>> flic                    oma                     vc1
>>>> flv                     paf                     vc1t
>>>> fourxm                  pcm_alaw                vivo
>>>> frm                     pcm_f32be               vmd
>>>> g722                    pcm_f32le               vobsub
>>>> g723_1                  pcm_f64be               voc
>>>> g729                    pcm_f64le               vplayer
>>>> gif                     pcm_mulaw               vqf
>>>> gsm                     pcm_s16be               w64
>>>> gxf                     pcm_s16le               wav
>>>> h261                    pcm_s24be               wc3
>>>> h263                    pcm_s24le               webvtt
>>>> h264                    pcm_s32be               wsaud
>>>> wsvqa                   xa                      xwma
>>>> wtv                     xbin                    yop
>>>> wv                      xmv                     yuv4mpegpipe
>>>>
>>>> Enabled muxers:
>>>> a64                     image2pipe              pcm_s24be
>>>> ac3                     ipod                    pcm_s24le
>>>> adts                    ircam                   pcm_s32be
>>>> adx                     ismv                    pcm_s32le
>>>> aiff                    ivf                     pcm_s8
>>>> amr                     jacosub                 pcm_u16be
>>>> asf                     latm                    pcm_u16le
>>>> asf_stream              m4v                     pcm_u24be
>>>> ass                     matroska                pcm_u24le
>>>> ast                     matroska_audio          pcm_u32be
>>>> au                      md5                     pcm_u32le
>>>> avi                     microdvd                pcm_u8
>>>> avm2                    mjpeg                   psp
>>>> bit                     mkvtimestamp_v2         rawvideo
>>>> caf                     mlp                     rm
>>>> cavsvideo               mmf                     roq
>>>> crc                     mov                     rso
>>>> data                    mp2                     rtp
>>>> daud                    mp3                     rtsp
>>>> dirac                   mp4                     sap
>>>> dnxhd                   mpeg1system             segment
>>>> dts                     mpeg1vcd                smjpeg
>>>> dv                      mpeg1video smoothstreaming
>>>> eac3                    mpeg2dvd                sox
>>>> f4v                     mpeg2svcd               spdif
>>>> ffm                     mpeg2video              speex
>>>> ffmetadata              mpeg2vob                srt
>>>> filmstrip               mpegts stream_segment
>>>> flac                    mpjpeg                  swf
>>>> flv                     mxf                     tee
>>>> framecrc                mxf_d10                 tg2
>>>> framemd5                null                    tgp
>>>> g722                    nut                     truehd
>>>> g723_1                  ogg                     vc1
>>>> gif                     oma                     vc1t
>>>> gxf                     opus                    voc
>>>> h261                    pcm_alaw                w64
>>>> h263                    pcm_f32be               wav
>>>> h264                    pcm_f32le               webm
>>>> hds                     pcm_f64be               webvtt
>>>> hls                     pcm_f64le               wtv
>>>> ico                     pcm_mulaw               wv
>>>> ilbc                    pcm_s16be               yuv4mpegpipe
>>>> image2                  pcm_s16le
>>>>
>>>> Enabled protocols:
>>>> cache                   hls                     rtmp
>>>> concat                  http                    rtmpt
>>>> crypto                  httpproxy               rtp
>>>> data                    md5                     srtp
>>>> ffrtmphttp              mmsh                    tcp
>>>> file                    mmst                    udp
>>>> ftp                     pipe                    unix
>>>> gopher
>>>>
>>>> Enabled filters:
>>>> aconvert                colorchannelmixer       noise
>>>> adelay                  compand                 null
>>>> aecho                   concat                  nullsink
>>>> aeval                   copy                    nullsrc
>>>> aevalsrc                crop                    overlay
>>>> afade                   curves                  pad
>>>> aformat                 dctdnoiz                pan
>>>> ainterleave             decimate                perms
>>>> allpass                 deshake                 pixdesctest
>>>> alphaextract            drawbox                 psnr
>>>> alphamerge              drawgrid                removelogo
>>>> amerge                  earwax                  replaygain
>>>> amix                    edgedetect              rgbtestsrc
>>>> amovie                  elbg                    rotate
>>>> anull                   equalizer               scale
>>>> anullsink               extractplanes           select
>>>> anullsrc                fade                    sendcmd
>>>> apad                    field separatefields
>>>> aperms                  fieldmatch              setdar
>>>> aphaser                 fieldorder              setfield
>>>> aresample               format                  setpts
>>>> aselect                 fps                     setsar
>>>> asendcmd                framepack               settb
>>>> asetnsamples            framestep               showinfo
>>>> asetpts                 gradfun                 showspectrum
>>>> asetrate                haldclut                showwaves
>>>> asettb                  haldclutsrc silencedetect
>>>> ashowinfo               hflip                   sine
>>>> asplit                  highpass                smptebars
>>>> astats                  histogram               smptehdbars
>>>> astreamsync             hue                     split
>>>> atempo                  idet                    swapuv
>>>> atrim                   il                      telecine
>>>> avectorscope            interleave              testsrc
>>>> bandpass                join                    thumbnail
>>>> bandreject              life                    tile
>>>> bass                    lowpass                 transpose
>>>> bbox                    lut                     treble
>>>> biquad                  lut3d                   trim
>>>> blackdetect             lutrgb                  unsharp
>>>> blend                   lutyuv                  vflip
>>>> cellauto                mandelbrot              vignette
>>>> channelmap              mergeplanes             volume
>>>> channelsplit            movie                   volumedetect
>>>> color                   negate                  w3fdif
>>>> colorbalance            noformat                yadif
>>>>
>>>> Enabled bsfs:
>>>> aac_adtstoasc           imx_dump_header mp3_header_decompress
>>>> chomp                   mjpeg2jpeg              noise
>>>> dump_extradata          mjpega_dump_header remove_extradata
>>>> h264_mp4toannexb        mov2textsub             text2movsub
>>>>
>>>> Enabled indevs:
>>>> alsa                    fbdev                   oss
>>>> dv1394                  lavfi                   v4l2
>>>>
>>>> Enabled outdevs:
>>>> alsa                    oss                     v4l2
>>>> fbdev                   sdl                     xv
>>>>
>>>> License: LGPL version 2.1 or later
>>>> Creating config.mak, config.h, and doc/config.texi...
>>>> config.asm is unchanged
>>>> libavutil/avconfig.h is unchanged
>>>>
>>>>
>>>>
>>>> but I don't  draw text filter in the configure name
>>>>
>>>> Thanks
>>>> Anshul
>>>
>>>
>>> i also found that that fie is also not compiled
>>>
>>> Thanks
>>> Anshul
>>
>> checked the config.h file that was
>> 1319 #define CONFIG_DRAWTEXT_FILTER 0
>>
>> Thanks
>> Anshul
>
>
> if anyone interested in config.log
sorry forgot to place actual logs
[anshul at daku_daddy ffmpeg]$ cat config.log |grep -i drawtext
# ./configure  --enable-filter=drawtext
drawtext_filter
BASH_ARGV=([0]="--enable-filter=drawtext")
FFMPEG_CONFIGURATION=' --enable-filter=drawtext'
drawtext_filter
_='# ./configure  --enable-filter=drawtext'
drawtext_filter=yes
drawtext_filter_deps=libfreetype
drawtext_filter
list=drawtext_filter
name=drawtext_filter
opt=--enable-filter=drawtext
optval=drawtext
r=drawtext
var=drawtext_filter
[anshul at daku_daddy ffmpeg]$ cat config.h |grep DRAWTEXT
#define CONFIG_DRAWTEXT_FILTER 0

>
> Thanks
> Anshul



More information about the ffmpeg-user mailing list