I Have Ffmpeg Installed How To Add Encoder 'libvpx' To It?

Discussion in 'Site & Server Administration' started by shuman202, Jan 23, 2013.

  1. #1
    i have intalled ffmped to my server CENTOS 5.9
    it's been working fine for about 3 months
    i tried to convert videos to webm i got the following error
    Unknown encoder 'libvpx'

    and libtheora encoder is missing too....
    my ffmpeg configuration
    
    FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
    built on Jan 29 2012 23:56:18 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
    configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' --enable-avfilter --enable-avfilter-lavf --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
    libavutil 50.15. 1 / 50.15. 1
    libavcodec 52.72. 2 / 52.72. 2
    libavformat 52.64. 2 / 52.64. 2
    libavdevice 52. 2. 0 / 52. 2. 0
    libavfilter 1.19. 0 / 1.19. 0
    libswscale 0.11. 0 / 0.11. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    Code (markup):
    can i install encoder 'libvpx' and 'libtheora'to the existing ffmpeg installation or i have to remove it and reinstall it ???
    and how to do that??
     
    shuman202, Jan 23, 2013 IP
  2. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #2
    Shuman,

    I believe that http://ffmpeginstaller.com/ has libtheora built-in, and you'll have to compile it from source. If it doesn't, then you may have to pass an argument such as --enable-libvpx to the ./configure script.
     
    zacharooni, Jan 24, 2013 IP
  3. shuman202

    shuman202 Well-Known Member

    Messages:
    638
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    145
    Digital Goods:
    1
    #3
    i'm really newbie in server administration
    can i do that to the current installed ffmpeg
    or i have to remove the current ffmpeg installation and reinstall it and recompile ffmpeg from source with the --enable-libvpx
    best regards
     
    shuman202, Jan 26, 2013 IP
  4. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #4
    @shuman202,

    When you run the ./configure script, you're basically building a binary to move into a directory in $PATH so you can execute it just by typing it's name. If you recompile with that option, it should build another binary, then, upon make && make install, it should replace the previous binary file.
     
    zacharooni, Jan 26, 2013 IP
  5. shuman202

    shuman202 Well-Known Member

    Messages:
    638
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    145
    Digital Goods:
    1
    #5
    shuman202, Jan 26, 2013 IP