1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Install FFmpeg Tutorial

Discussion in 'Site & Server Administration' started by olddocks, May 4, 2008.

  1. #1
    i recently wrote a tutorial on easily installing ffmpeg with just yum and without compiling from source packages.

    Tutorial Link: see here

    Leave me a feedback if you like it!
     
    olddocks, May 4, 2008 IP
  2. qualityhostings

    qualityhostings Well-Known Member

    Messages:
    1,764
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    105
    #2
    root@server3 [~/ffmpeg-php-0.5.2.1]# ffmpeg --help
    FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
    configuration: --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include/ffmpeg --enable-libmp3lame --enable-libogg --enable-libvorbis --enable-libogg --enable-libtheora --enable-libfaad --enable-libfaac --enable-libgsm --enable-xvid --enable-x264 --enable-liba52 --enable-liba52bin --enable-pp --enable-shared --enable-pthreads --enable-gpl --disable-strip
    libavutil version: 49.4.0
    libavcodec version: 51.40.4
    libavformat version: 51.12.1
    built on Jun 4 2007 11:02:12, gcc: 4.1.1 20070105 (Red Hat 4.1.1-52)
    ffmpeg: missing argument for option '--help'
    root@server3 [~/ffmpeg-php-0.5.2.1]#




    root@server3 [~/ffmpeg-php-0.5.2.1]# ./configure --with-ffmpeg=/usr/
    checking for egrep... grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking whether gcc and cc understand -c and -o together... yes
    checking for system library directory... lib
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking for PHP prefix... /usr/local
    checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
    checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20060613
    checking for PHP installed headers prefix... /usr/local/include/php
    checking for re2c... no
    configure: WARNING: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking for ffmpeg support... yes, shared
    checking whether to force gd support in ffmpeg-php... no
    checking for ffmpeg headers...
    configure: error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option
    root@server3 [~/ffmpeg-php-0.5.2.1]#



    Wrong somewhere??
     
    qualityhostings, May 5, 2008 IP
  3. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #3
    just try
    instead of specifying --with-ffmpeg option. i think ffmpeg install path is wrong.
     
    olddocks, May 5, 2008 IP
  4. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #4
    oh! just forgot to ask. did you use yum or compiled the ffmpeg from source??
    If you have compiled, see this on how to fix this error.
     
    olddocks, May 5, 2008 IP
  5. vUnity

    vUnity Guest

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you get an error like: Make sure ffmpeg is compiled as shared libraries using the --enable-shared option




    make sure you
    yum install ffmpeg-devel


    -Brian


    Brian J. Brandon, CCNP
    vUnity Bonded Internet
    http://www.vUnity.com
     
    vUnity, Sep 24, 2011 IP