How To Install FFMPEG on CentOS 5.x without cPanel server

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How To Install FFMPEG on CentOS 5.x without cPanel server

    any one have a tutorial for How To Install FFMPEG on CentOS 5.x without cPanel server?

    #2
    get this error

    /bin/sh /usr/local/src/ffmpeg-php-0.6.0/libtool --mode=compile gcc -I. -I/usr/local/src/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/local/src/ffmpeg-php-0.6.0/include -I/usr/local/src/ffmpeg-php-0.6.0/main -I/usr/local/src/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo
    gcc -I. -I/usr/local/src/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/local/src/ffmpeg-php-0.6.0/include -I/usr/local/src/ffmpeg-php-0.6.0/main -I/usr/local/src/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c -fPIC -DPIC -o .libs/ffmpeg-php.o
    In file included from /usr/include/sys/stat.h:105,
    from /usr/include/php/main/php_streams.h:28,
    from /usr/include/php/main/php.h:399,
    from /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
    /usr/include/bits/stat.h:88: error: field 'st_atim' has incomplete type
    /usr/include/bits/stat.h:89: error: field 'st_mtim' has incomplete type
    /usr/include/bits/stat.h:90: error: field 'st_ctim' has incomplete type
    /usr/include/bits/stat.h:149: error: field 'st_atim' has incomplete type
    /usr/include/bits/stat.h:150: error: field 'st_mtim' has incomplete type
    /usr/include/bits/stat.h:151: error: field 'st_ctim' has incomplete type
    In file included from /usr/include/php/main/php.h:405,
    from /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
    /usr/include/php/TSRM/tsrm_virtual_cwd.h:192: error: expected specifier-qualifier-list before 'time_t'
    /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_startup_ffmpeg':
    /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c:94: warning: implicit declaration of function 'avcodec_init'
    make: *** [ffmpeg-php.lo] Error 1

    Comment


      #3
      on which control panel kloxo , directAdmin or... ?
      Free Web Hosting @HostersPoint.com
      php Hosting with Web Builder

      Buy - Sell ADs
      ADMOLA ADs Network
      Monetize Your Site Traffic

      Comment


        #4
        Originally posted by Harpreet Nona Munda View Post
        /bin/sh /usr/local/src/ffmpeg-php-0.6.0/libtool --mode=compile gcc -I. -I/usr/local/src/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/local/src/ffmpeg-php-0.6.0/include -I/usr/local/src/ffmpeg-php-0.6.0/main -I/usr/local/src/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo
        gcc -I. -I/usr/local/src/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/local/src/ffmpeg-php-0.6.0/include -I/usr/local/src/ffmpeg-php-0.6.0/main -I/usr/local/src/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c -fPIC -DPIC -o .libs/ffmpeg-php.o
        In file included from /usr/include/sys/stat.h:105,
        from /usr/include/php/main/php_streams.h:28,
        from /usr/include/php/main/php.h:399,
        from /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
        /usr/include/bits/stat.h:88: error: field 'st_atim' has incomplete type
        /usr/include/bits/stat.h:89: error: field 'st_mtim' has incomplete type
        /usr/include/bits/stat.h:90: error: field 'st_ctim' has incomplete type
        /usr/include/bits/stat.h:149: error: field 'st_atim' has incomplete type
        /usr/include/bits/stat.h:150: error: field 'st_mtim' has incomplete type
        /usr/include/bits/stat.h:151: error: field 'st_ctim' has incomplete type
        In file included from /usr/include/php/main/php.h:405,
        from /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
        /usr/include/php/TSRM/tsrm_virtual_cwd.h:192: error: expected specifier-qualifier-list before 'time_t'
        /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_startup_ffmpeg':
        /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c:94: warning: implicit declaration of function 'avcodec_init'
        make: *** [ffmpeg-php.lo] Error 1

        Code:
        yum clean all
        yum update
        wget [url]http://downloads.sourceforge.net/ffmpeg-php/ffmpeg-php-0.6.0.tbz2[/url]
        tar xjf ffmpeg-php-0.6.0.tbz2
        cd ffmpeg-php-0.6.0
        sed -i ‘s/PIX_FMT_RGBA32/PIX_FMT_RGB32/g’ ffmpeg_frame.c
        phpize
        ./configure
        make
        make install

        WWW.9XHOST.NET

        Comment


          #5
          no any cpanel

          Originally posted by irfiii View Post
          on which control panel kloxo , directAdmin or... ?
          i cant use any cpanel or webmin i wil install lnmp in my server

          Comment


            #6
            Originally posted by Harpreet Nona Munda View Post
            i cant use any cpanel or webmin i wil install lnmp in my server
            y u cant use any panel?

            WWW.9XHOST.NET

            Comment


              #7
              Originally posted by Sanju Kr View Post
              Code:
              yum clean all
              yum update
              wget [url]http://downloads.sourceforge.net/ffmpeg-php/ffmpeg-php-0.6.0.tbz2[/url]
              tar xjf ffmpeg-php-0.6.0.tbz2
              cd ffmpeg-php-0.6.0
              sed -i ‘s/PIX_FMT_RGBA32/PIX_FMT_RGB32/g’ ffmpeg_frame.c
              phpize
              ./configure
              make
              make install
              yeah i will try to solve error PIx_FMT_RHBA32

              but its again show me this error

              /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c:94: warning: implicit declaration of function 'avcodec_init'

              Comment


                #8
                Originally posted by Harpreet Nona Munda View Post
                yeah i will try to solve error PIx_FMT_RHBA32

                but its again show me this error

                /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c:94: warning: implicit declaration of function 'avcodec_init'
                when you copy paste "comas" change into dots, you must ensure that when you copy paste in putty, converted comas(dots) must back to comas

                WWW.9XHOST.NET

                Comment


                  #9
                  i have no money for this

                  Originally posted by Sanju Kr View Post
                  y u cant use any panel?
                  i have no money for this

                  Comment


                    #10
                    You can try Webmin

                    Comment


                      #11
                      Originally posted by Harpreet Nona Munda View Post
                      i have no money for this
                      You can also try kloxo its free.
                      lxcenter.org

                      WWW.9XHOST.NET

                      Comment

                      Working...
                      X