Join the community today
Become a Member

[Solved] Unable to install FFMPEG PHP extension

Discussion in 'Bug Reports' started by Guneyd, Sep 30, 2014.

  1. Andy

    Andy Active Member

    540
    89
    28
    Aug 6, 2014
    Ratings:
    +132
    Local Time:
    3:06 PM
    Code:
    ldd /opt/bin/ffmpeg
            linux-vdso.so.1 =>  (0x00007ffc69d96000)
            libavdevice.so.57 => not found
            libavfilter.so.6 => not found
            libavformat.so.57 => not found
            libavcodec.so.57 => not found
            libpostproc.so.54 => not found
            libswresample.so.2 => not found
            libswscale.so.4 => not found
            libavutil.so.55 => not found
            libm.so.6 => /lib64/libm.so.6 (0x00007fc8f1602000)
            libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc8f13e6000)
            libc.so.6 => /lib64/libc.so.6 (0x00007fc8f1024000)
            /lib64/ld-linux-x86-64.so.2 (0x00007fc8f1915000)

     
  2. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    6:06 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    looks like wasn't properly linked but you have correct content in /etc/ld.so.conf.d/libavdevice.conf

    try typing the command
    Code (Text):
    ldconfig

    then double check output of
    Code (Text):
    ldd /opt/bin/ffmpeg
     
  3. Andy

    Andy Active Member

    540
    89
    28
    Aug 6, 2014
    Ratings:
    +132
    Local Time:
    3:06 PM
    Code:
    ldd /opt/bin/ffmpeg
            linux-vdso.so.1 =>  (0x00007ffd6b1ae000)
            libavdevice.so.57 => /opt/ffmpeg/lib/libavdevice.so.57 (0x00007fe69ae90000)
            libavfilter.so.6 => /opt/ffmpeg/lib/libavfilter.so.6 (0x00007fe69aac1000)
            libavformat.so.57 => /opt/ffmpeg/lib/libavformat.so.57 (0x00007fe69a6bf000)
            libavcodec.so.57 => /opt/ffmpeg/lib/libavcodec.so.57 (0x00007fe698ee5000)
            libpostproc.so.54 => /opt/ffmpeg/lib/libpostproc.so.54 (0x00007fe698cc5000)
            libswresample.so.2 => /opt/ffmpeg/lib/libswresample.so.2 (0x00007fe698aa9000)
            libswscale.so.4 => /opt/ffmpeg/lib/libswscale.so.4 (0x00007fe698822000)
            libavutil.so.55 => /opt/ffmpeg/lib/libavutil.so.55 (0x00007fe6985ab000)
            libm.so.6 => /lib64/libm.so.6 (0x00007fe6982a8000)
            libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe69808c000)
            libc.so.6 => /lib64/libc.so.6 (0x00007fe697ccb000)
            libxcb.so.1 => /lib64/libxcb.so.1 (0x00007fe697aa8000)
            libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007fe6978a4000)
            libxcb-xfixes.so.0 => /lib64/libxcb-xfixes.so.0 (0x00007fe69769c000)
            libxcb-shape.so.0 => /lib64/libxcb-shape.so.0 (0x00007fe697497000)
            libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007fe6971f1000)
            libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fe696fe1000)
            libz.so.1 => /lib64/libz.so.1 (0x00007fe696dca000)
            libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fe696ac2000)
            libdl.so.2 => /lib64/libdl.so.2 (0x00007fe6968be000)
            libnuma.so.1 => /lib64/libnuma.so.1 (0x00007fe6966b1000)
            libx264.so.148 => /opt/ffmpeg/lib/libx264.so.148 (0x00007fe696317000)
            libvpx.so.3 => /opt/ffmpeg/lib/libvpx.so.3 (0x00007fe695f37000)
            libvorbisenc.so.2 => /opt/ffmpeg/lib/libvorbisenc.so.2 (0x00007fe695c8b000)
            libvorbis.so.0 => /opt/ffmpeg/lib/libvorbis.so.0 (0x00007fe695a55000)
            libopus.so.0 => /opt/ffmpeg/lib/libopus.so.0 (0x00007fe69580c000)
            libmp3lame.so.0 => /opt/ffmpeg/lib/libmp3lame.so.0 (0x00007fe69557c000)
            libfdk-aac.so.1 => /opt/ffmpeg/lib/libfdk-aac.so.1 (0x00007fe6952ca000)
            liblzma.so.5 => /lib64/liblzma.so.5 (0x00007fe6950a5000)
            librt.so.1 => /lib64/librt.so.1 (0x00007fe694e9c000)
            /lib64/ld-linux-x86-64.so.2 (0x00007fe69b0af000)
            libXau.so.6 => /lib64/libXau.so.6 (0x00007fe694c98000)
            libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fe694a81000)
            libogg.so.0 => /opt/ffmpeg/lib/libogg.so.0 (0x00007fe69487a000)
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    6:06 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    that should of fixed your problem with centmin.sh menu option 19 method :)
     
  5. Oxide

    Oxide Active Member

    534
    29
    28
    Mar 19, 2015
    Ratings:
    +59
    Local Time:
    6:06 AM
    ATrpms YUM Repository is not installed

    cant install
     
  6. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    6:06 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what version of centmin mod ? only 123.09beta01 has the working ffmpeg install centmin.sh menu option right now
     
  7. erfolgskompass

    erfolgskompass New Member

    13
    1
    3
    Jun 8, 2016
    Ratings:
    +10
    Local Time:
    3:06 AM
    I tried to install FFMPEG on 123.09beta01 but I receive this error:

    System: CentOS Linux release 7.2.1511 (Core) x64

    Code:
    #define FFMPEG_PHP_FFMPEG_RGB_PIX_FORMAT PIX_FMT_RGB32                                                                                             [364/1820]
                                              ^
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c:343:34: note: in expansion of macro ‘FFMPEG_PHP_FFMPEG_RGB_PIX_FORMAT’
         _php_convert_frame(ff_frame, FFMPEG_PHP_FFMPEG_RGB_PIX_FORMAT);
                                      ^
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c: In function ‘zim_ffmpeg_frame___construct’:
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c:404:13: warning: ‘avpicture_alloc’ is deprecated (declared at /opt/ffmpeg/include/libavcodec/avcodec.h:5363) [-Wdepre
    cated-declarations]
                 avpicture_alloc((AVPicture*)frame, FFMPEG_PHP_FFMPEG_RGB_PIX_FORMAT, width, height);
                 ^
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c:74:42: error: ‘PIX_FMT_RGB32’ undeclared (first use in this function)
    #define FFMPEG_PHP_FFMPEG_RGB_PIX_FORMAT PIX_FMT_RGB32
                                              ^
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c:404:48: note: in expansion of macro ‘FFMPEG_PHP_FFMPEG_RGB_PIX_FORMAT’
                 avpicture_alloc((AVPicture*)frame, FFMPEG_PHP_FFMPEG_RGB_PIX_FORMAT, width, height);
                                                    ^
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c: In function ‘_php_resample_frame’:
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c:515:5: warning: ‘avpicture_alloc’ is deprecated (declared at /opt/ffmpeg/include/libavcodec/avcodec.h:5363) [-Wdeprec
    ated-declarations]
         avpicture_alloc((AVPicture*)resampled_frame, AV_PIX_FMT_YUV420P,
         ^
    make: *** [ffmpeg_frame.lo] Error 1
    make: *** Waiting for unfinished jobs....
    ccache gcc -I. -I/svr-setup/ffmpeg-php-git -DPHP_ATOM_INC -I/svr-setup/ffmpeg-php-git/include -I/svr-setup/ffmpeg-php-git/main -I/svr-setup/ffmpeg-php-git -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/inc
    lude/php/ext/date/lib -I/opt/ffmpeg/include -DHAVE_CONFIG_H -g -O2 -c /svr-setup/ffmpeg-php-git/ffmpeg_errorhandler.c  -fPIC -DPIC -o .libs/ffmpeg_errorhandle
    r.o
    /bin/sh /svr-setup/ffmpeg-php-git/libtool --mode=compile ccache gcc  -I. -I/svr-setup/ffmpeg-php-git -DPHP_ATOM_INC -I/svr-setup/ffmpeg-php-git/include -I/svr
    -setup/ffmpeg-php-git/main -I/svr-setup/ffmpeg-php-git -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/inclu
    de/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -I/opt/ffmpeg/include -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/ffmpeg-php-git/f
    fmpeg_frame.c -o ffmpeg_frame.lo
    ccache gcc -I. -I/svr-setup/ffmpeg-php-git -DPHP_ATOM_INC -I/svr-setup/ffmpeg-php-git/include -I/svr-setup/ffmpeg-php-git/main -I/svr-setup/ffmpeg-php-git -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/inc
    lude/php/ext/date/lib -I/opt/ffmpeg/include -DHAVE_CONFIG_H -g -O2 -c /svr-setup/ffmpeg-php-git/ffmpeg_frame.c  -fPIC -DPIC -o .libs/ffmpeg_frame.o
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c: In function ‘_php_convert_frame’:
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c:215:5: warning: ‘avpicture_alloc’ is deprecated (declared at /opt/ffmpeg/include/libavcodec/avcodec.h:5363) [-Wdeprec
    ated-declarations]
         avpicture_alloc((AVPicture*)dst_frame, dst_fmt, ff_frame->width,
         ^
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c: In function ‘zim_ffmpeg_frame_toGDImage’:
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c:74:42: error: ‘PIX_FMT_RGB32’ undeclared (first use in this function)
    #define FFMPEG_PHP_FFMPEG_RGB_PIX_FORMAT PIX_FMT_RGB32
    
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c:343:34: note: in expansion of macro ‘FFMPEG_PHP_FFMPEG_RGB_PIX_FORMAT’                                     [321/1820]
         _php_convert_frame(ff_frame, FFMPEG_PHP_FFMPEG_RGB_PIX_FORMAT);
                                      ^
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c:74:42: note: each undeclared identifier is reported only once for each function it appears in
    #define FFMPEG_PHP_FFMPEG_RGB_PIX_FORMAT PIX_FMT_RGB32
                                              ^
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c:343:34: note: in expansion of macro ‘FFMPEG_PHP_FFMPEG_RGB_PIX_FORMAT’
         _php_convert_frame(ff_frame, FFMPEG_PHP_FFMPEG_RGB_PIX_FORMAT);
                                      ^
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c: In function ‘zim_ffmpeg_frame___construct’:
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c:404:13: warning: ‘avpicture_alloc’ is deprecated (declared at /opt/ffmpeg/include/libavcodec/avcodec.h:5363) [-Wdepr$
    cated-declarations]
                 avpicture_alloc((AVPicture*)frame, FFMPEG_PHP_FFMPEG_RGB_PIX_FORMAT, width, height);
                 ^
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c:74:42: error: ‘PIX_FMT_RGB32’ undeclared (first use in this function)
    #define FFMPEG_PHP_FFMPEG_RGB_PIX_FORMAT PIX_FMT_RGB32
                                              ^
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c:404:48: note: in expansion of macro ‘FFMPEG_PHP_FFMPEG_RGB_PIX_FORMAT’
                 avpicture_alloc((AVPicture*)frame, FFMPEG_PHP_FFMPEG_RGB_PIX_FORMAT, width, height);
                                                    ^
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c: In function ‘_php_resample_frame’:
    /svr-setup/ffmpeg-php-git/ffmpeg_frame.c:515:5: warning: ‘avpicture_alloc’ is deprecated (declared at /opt/ffmpeg/include/libavcodec/avcodec.h:5363) [-Wdepre$
    ated-declarations]
         avpicture_alloc((AVPicture*)resampled_frame, AV_PIX_FMT_YUV420P,
         ^
    make: *** [ffmpeg_frame.lo] Error 1
    
    FFMPEG PHP Extension installed
    restarting php-fpm service ...
    
    Gracefully shutting down php-fpm  done
    Starting php-fpm [08-Jun-2016 01:18:56] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debu$
    -non-zts-20100525/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ffmpeg.so: cannot open shared object file: No such file or directory i$
    Unknown on line 0
    done
    
    check phpinfo for FFMPEG PHP Extension...
    
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ffmpeg.so' - /usr/local/lib/php/extensions$
    no-debug-non-zts-20100525/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
    Extension 'ffmpeg' not present.
     
  8. erfolgskompass

    erfolgskompass New Member

    13
    1
    3
    Jun 8, 2016
    Ratings:
    +10
    Local Time:
    3:06 AM
    Ok I found the fix and it compiles manually after doing this:

    Code:
    cd /svr-setup/ffmpeg-php-git/
    mv ffmpeg_frame.loT ffmpeg_frame.lo
    make
    make install
    However
    Code:
    /etc/init.d/php-fpm restart
    shows this error:
    Code:
    Gracefully shutting down php-fpm . done
    Starting php-fpm /usr/local/sbin/php-fpm: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ffmpeg.so: undefined symbol: register_ffmpeg_frame_class
    failed
    Now how can we integrate this fix in centmin?

    Thanks to FFMPEG-PHP: make: *** [ffmpeg_frame.lo] Error 1 | HostRipples $1 Hosting - Cheap reseller Hosting for the solution
     
    Last edited: Jun 8, 2016
  9. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    6:06 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    unfortunately as you can see from size of this thread, ffmpeg php extension development by the developers isn't up to date for latest ffmpeg versions so problems like this happen

    i'd have to investigate to see what's broken now

    for now type
    Code (Text):
    php --ini
    

    find the path to ffmpeg.ini file and remove it or edit and comment out extension load line and restart php-fpm to disable the ffmpeg unable to load error
     
  10. erfolgskompass

    erfolgskompass New Member

    13
    1
    3
    Jun 8, 2016
    Ratings:
    +10
    Local Time:
    3:06 AM
    This happened on a testing server. Just out of curiousity I reinstalled it with CentOS 6 (most recent version) and voila!
    FFMPEG-PHP installs just fine.

    centminmod: 123.09beta01
    Linux: CentOS release 6.8 (Final)

    I can assure: The issue is related to CentOS 7
     
  11. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    6:06 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    which PHP version ?

    interesting though i just tested on CentOS 7.2 64bit and it worked via 123.09beta01 centmin.sh menu option 19
    Code (Text):
    cat /etc/redhat-release
    CentOS Linux release 7.2.1511 (Core)
    

    with PHP 5.6.22
    Code (Text):
    php --ri ffmpeg
    
    ffmpeg
    
    ffmpeg-php version => 0.7.0
    ffmpeg-php built on => Jun  8 2016 02:34:26
    ffmpeg-php gd support  => disabled
    ffmpeg libavcodec version => Lavc57.45.100
    ffmpeg libavcodec license => nonfree and unredistributable
    ffmpeg libavformat version => Lavf57.37.101
    ffmpeg libavformat license => nonfree and unredistributable
    ffmpeg swscaler version => SwS4.1.100
    ffmpeg swscaler license => nonfree and unredistributable
    ffmpeg codec_list => a64multi(v), a64multi5(v), aasc(v), aic(v), alias_pix(v), alias_pix(v), amv(v), amv(v), anm(v), ansi(v), apng(v), apng(v), asv1(v), asv1(v), asv2(v), asv2(v), aura(v), aura2(v), avrp(v), avrp(v), avrn(v), avs(v), avui(v), avui(v), ayuv(v), ayuv(v), bethsoftvid(v), bfi(v), binkvideo(v), bmp(v), bmp(v), bmv_video(v), brender_pix(v), c93(v), cavs(v), cdgraphics(v), cdxl(v), cfhd(v), cinepak(v), cinepak(v), cljr(v), cljr(v), cllc(v), comfortnoise(a), comfortnoise(a), cpia(v), camstudio(v), cyuv(v), dds(v), dfa(v), dirac(v), dnxhd(v), dnxhd(v), dpx(v), dpx(v), dsicinvideo(v), dvaudio(a), dvvideo(v), dvvideo(v), dxa(v), dxtory(v), dxv(v), eacmv(v), eamad(v), eatgq(v), eatgv(v), eatqi(v), 8bps(v), 8svx_exp(a), 8svx_fib(a), escape124(v), escape130(v), exr(v), ffv1(v), ffv1(v), ffvhuff(v), ffvhuff(v), fic(v), flashsv(v), flashsv(v), flashsv2(v), flashsv2(v), flic(v), flv(v), flv(v), 4xm(v), fraps(v), frwu(v), g2m(v), gif(v), gif(v), h261(v), h261(v), h263(v), h263(v), h263i(v), h263p(v), h263p(v), h264(v), hap(v), hevc(v), hnm4video(v), hq_hqa(v), hqx(v), huffyuv(v), huffyuv(v), idcinvideo(v), iff(v), indeo2(v), indeo3(v), indeo4(v), indeo5(v), interplayvideo(v), jpeg2000(v), jpeg2000(v), jpegls(v), jpegls(v), jv(v), kgv1(v), kmvc(v), lagarith(v), ljpeg(v), loco(v), m101(v), magicyuv(v), mdec(v), mimic(v), mjpeg(v), mjpeg(v), mjpegb(v), mmvideo(v), motionpixels(v), mpeg1video(v), mpeg1video(v), mpeg2video(v), mpeg2video(v), mpeg4(v), mpeg4(v), mpegvideo(v), msa1(v), msmpeg4v1(v), msmpeg4v2(v), msmpeg4v2(v), msmpeg4(v), msmpeg4(v), msrle(v), mss1(v), mss2(v), msvideo1(v), msvideo1(v), mszh(v), mts2(v), mvc1(v), mvc2(v), mxpeg(v), nuv(v), paf_video(v), pam(v), pam(v), pbm(v), pbm(v), pcx(v), pcx(v), pgm(v), pgm(v), pgmyuv(v), pgmyuv(v), pictor(v), png(v), png(v), ppm(v), ppm(v), prores(v), prores(v), prores_aw(v), prores_ks(v), prores_lgpl(v), ptx(v), qdraw(v), qpeg(v), qtrle(v), qtrle(v), r10k(v), r10k(v), r210(v), r210(v), rawvideo(v), rawvideo(v), rl2(v), roqvideo(v), roqvideo(v), rpza(v), rscc(v), rv10(v), rv10(v), rv20(v), rv20(v), rv30(v), rv40(v), s302m(a), s302m(a), sanm(v), screenpresso(v), sdx2_dpcm(a), sgi(v), sgi(v), sgirle(v), sheervideo(v), smackvid(v), smc(v), smvjpeg(v), snow(v), snow(v), sp5x(v), sunrast(v), sunrast(v), svq1(v), svq1(v), svq3(v), targa(v), targa(v), targa_y216(v), tdsc(v), theora(v), thp(v), tiertexseqvideo(v), tiff(v), tiff(v), tmv(v), truemotion1(v), truemotion2(v), truemotion2rt(v), camtasia(v), tscc2(v), txd(v), ultimotion(v), utvideo(v), utvideo(v), v210(v), v210(v), v210x(v), v308(v), v308(v), v408(v), v408(v), v410(v), v410(v), vb(v), vble(v), vc1(v), vc1image(v), vc2(v), vcr1(v), vmdvideo(v), vmnc(v), vp3(v), vp5(v), vp6(v), vp6a(v), vp6f(v), vp7(v), vp8(v), vp9(v), vqavideo(v), webp(v), wrapped_avframe(v), wmv1(v), wmv1(v), wmv2(v), wmv2(v), wmv3(v), wmv3image(v), wnv1(v), xan_wc3(v), xan_wc4(v), xbm(v), xbm(v), xface(v), xface(v), xl(v), xwd(v), xwd(v), y41p(v), y41p(v), yop(v), yuv4(v), yuv4(v), 012v(v), zerocodec(v), zlib(v), zlib(v), zmbv(v), zmbv(v), aac(a), aac(a), aac_fixed(a), aac_latm(a), ac3(a), ac3(a), ac3_fixed(a), ac3_fixed(a), alac(a), alac(a), als(a), amrnb(a), amrwb(a), ape(a), atrac1(a), atrac3(a), atrac3plus(a), binkaudio_dct(a), binkaudio_rdft(a), bmv_audio(a), cook(a), dca(a), dca(a), dsd_lsbf(a), dsd_msbf(a), dsd_lsbf_planar(a), dsd_msbf_planar(a), dsicinaudio(a), dss_sp(a), dst(a), eac3(a), eac3(a), evrc(a), wavesynth(a), flac(a), flac(a), g723_1(a), g723_1(a), g729(a), gsm(a), gsm_ms(a), iac(a), imc(a), interplayacm(a), mace3(a), mace6(a), metasound(a), mlp(a), mp1(a), mp1float(a), mp2(a), mp2(a), mp2float(a), mp2fixed(a), mp3(a), mp3float(a), mp3adu(a), mp3adufloat(a), mp3on4(a), mp3on4float(a), mpc7(a), mpc8(a), nellymoser(a), nellymoser(a), on2avc(a), opus(a), paf_audio(a), qcelp(a), qdm2(a), real_144(a), real_144(a), real_288(a), ralf(a), shorten(a), sipr(a), smackaud(a), sonic(a), sonic(a), sonicls(a), tak(a), truehd(a), truespeech(a), tta(a), tta(a), twinvq(a), vmdaudio(a), vorbis(a), vorbis(a), wavpack(a), wavpack(a), wmalossless(a), wmapro(a), wmav1(a), wmav1(a), wmav2(a), wmav2(a), wmavoice(a), ws_snd1(a), xma1(a), xma2(a), pcm_alaw(a), pcm_alaw(a), pcm_bluray(a), pcm_dvd(a), pcm_f32be(a), pcm_f32be(a), pcm_f32le(a), pcm_f32le(a), pcm_f64be(a), pcm_f64be(a), pcm_f64le(a), pcm_f64le(a), pcm_lxf(a), pcm_mulaw(a), pcm_mulaw(a), pcm_s8(a), pcm_s8(a), pcm_s8_planar(a), pcm_s8_planar(a), pcm_s16be(a), pcm_s16be(a), pcm_s16be_planar(a), pcm_s16be_planar(a), pcm_s16le(a), pcm_s16le(a), pcm_s16le_planar(a), pcm_s16le_planar(a), pcm_s24be(a), pcm_s24be(a), pcm_s24daud(a), pcm_s24daud(a), pcm_s24le(a), pcm_s24le(a), pcm_s24le_planar(a), pcm_s24le_planar(a), pcm_s32be(a), pcm_s32be(a), pcm_s32le(a), pcm_s32le(a), pcm_s32le_planar(a), pcm_s32le_planar(a), pcm_u8(a), pcm_u8(a), pcm_u16be(a), pcm_u16be(a), pcm_u16le(a), pcm_u16le(a), pcm_u24be(a), pcm_u24be(a), pcm_u24le(a), pcm_u24le(a), pcm_u32be(a), pcm_u32be(a), pcm_u32le(a), pcm_u32le(a), pcm_zork(a), interplay_dpcm(a), roq_dpcm(a), roq_dpcm(a), sol_dpcm(a), xan_dpcm(a), adpcm_4xm(a), adpcm_adx(a), adpcm_adx(a), adpcm_afc(a), adpcm_aica(a), adpcm_ct(a), adpcm_dtk(a), adpcm_ea(a), adpcm_ea_maxis_xa(a), adpcm_ea_r1(a), adpcm_ea_r2(a), adpcm_ea_r3(a), adpcm_ea_xas(a), g722(a), g722(a), g726(a), g726(a), g726le(a), adpcm_ima_amv(a), adpcm_ima_apc(a), adpcm_ima_dat4(a), adpcm_ima_dk3(a), adpcm_ima_dk4(a), adpcm_ima_ea_eacs(a), adpcm_ima_ea_sead(a), adpcm_ima_iss(a), adpcm_ima_oki(a), adpcm_ima_qt(a), adpcm_ima_qt(a), adpcm_ima_rad(a), adpcm_ima_smjpeg(a), adpcm_ima_wav(a), adpcm_ima_wav(a), adpcm_ima_ws(a), adpcm_ms(a), adpcm_ms(a), adpcm_mtaf(a), adpcm_psx(a), adpcm_sbpro_2(a), adpcm_sbpro_3(a), adpcm_sbpro_4(a), adpcm_swf(a), adpcm_swf(a), adpcm_thp(a), adpcm_thp_le(a), adpcm_vima(a), adpcm_xa(a), adpcm_yamaha(a), adpcm_yamaha(a), ssa(s), ssa(s), ass(s), ass(s), cc_dec(s), dvbsub(s), dvbsub(s), dvdsub(s), dvdsub(s), jacosub(s), microdvd(s), mov_text(s), mov_text(s), mpl2(s), pgssub(s), pjs(s), realtext(s), sami(s), srt(s), srt(s), stl(s), subrip(s), subrip(s), subviewer(s), subviewer1(s), text(s), text(s), vplayer(s), webvtt(s), webvtt(s), xsub(s), xsub(s), libfdk_aac(a), libfdk_aac(a), libmp3lame(a), libopus(a), libopus(a), libvorbis(a), libvorbis(a), libvpx(v), libvpx(v), libvpx-vp9(v), libvpx-vp9(v), libx264(v), libx264rgb(v), libx265(v), bintext(v), xbin(v), idf(v),
    
    Directive => Local Value => Master Value
    ffmpeg.allow_persistent => 0 => 0
    ffmpeg.show_warnings => 0 => 0


    Code (Text):
    php -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    ereg
    exif
    ffmpeg
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    libxml
    mailparse
    mbstring
    mcrypt
    memcache
    memcached
    mhash
    mysql
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    redis
    Reflection
    session
    shmop
    SimpleXML
    snmp
    soap
    sockets
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    xsl
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache
     
  12. erfolgskompass

    erfolgskompass New Member

    13
    1
    3
    Jun 8, 2016
    Ratings:
    +10
    Local Time:
    3:06 AM
    It's too late now... I have reinstalled with Centos 6.
    To reproduce this, I have first installed stable about a week ago and then upgraded it to the beta because I wanted to try out the ffmpeg install.
     
  13. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    6:06 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    interesting could be that 123.08stable to 123.09beta01 interference ? as straight 123.09beta01 install works

    123.08stable's centmin.sh menu option 19 is a bit broken and not as up to date as 123.09beta01.
     
  14. VIP_Hawaii

    VIP_Hawaii Member

    56
    11
    8
    May 6, 2016
    Ratings:
    +12
    Local Time:
    11:06 PM
    1.11.3
    10.1.13 (?)

    > Actually that is untrue, your own latest beta of Centminmod DOES install FFMPEG-PHP correctly ... I mean REALLY correctly! : with full support of every media type ffmpeg can deal with. BRAVO! ... but how do I not only use PHP 5.2.x with Centminmod (or, okay, 5.3.29, which it WILL correctly install now, again, bravo for making the PHP version changer functionality work again!) and yet get FFMPEG-PHP to load properly as it does with Centminmod latest 109 beta, using PHP 5.6.x?? For whatever reason, Centminmod cannot seem (yet!) to combine even PHP version 5.3.x (which is what is REQUIRED ABSOLUTELY by the scripts I must run) with FFMPEG-PHP functionality?????

    TIA and keep up the good work,

    VIP Hawaii
     
  15. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    6:06 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  16. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    6:06 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    I do not recommend PHP <5.5.38 anymore. HTTPoxy security bug is a real concern and you'd be vulnerable to it with PHP <5.5.38 PHP-FPM Security Update HTTPoxy Vulnerability CVE-2016-5385 and many other security issues not patched or fixed in EOL PHP 5.2/5.3/5.4 branches
     
  17. VIP_Hawaii

    VIP_Hawaii Member

    56
    11
    8
    May 6, 2016
    Ratings:
    +12
    Local Time:
    11:06 PM
    1.11.3
    10.1.13 (?)
    Apparently the latest beta 1. Does not install FFMPEG-PHP correctly using its default 5.6.24 PHP version; 2. Does not install FFMPEG-PHP correctly into any other PHP version I have tried;

    I have tried re-installing the FFMPEG-PHP extension, re-installing FFMPEG and FFMPEG-PHP extension, updating (both up and down) PHP-FPM, restarting PHP-FPM and Nginx, etc. to no avail : I still keep getting the error message saying the ffmpeg so file is not found, despite the .so file being present!

    It seems each new commit of Centminmod is totally hit-and-miss as to whether or not it will be able to install FFMPEG-PHP correctly. Is FFMPEG-PHP functionality via Centminmod considered a less-important element of Centminmod? I have been frustrating with this for months ... by the way Eva2000, the fix I thought I saw had actually worked (Patrizio's), does not work for me, I spoke too soon ...


    VIP

     
  18. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    6:06 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    No I am at mercy of ffmpeg-php developer and it's lack of update and development for compatibility :(
     
  19. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    6:06 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Oh that's new if the so file exists and is not part of a previous working version
     
  20. VIP_Hawaii

    VIP_Hawaii Member

    56
    11
    8
    May 6, 2016
    Ratings:
    +12
    Local Time:
    11:06 PM
    1.11.3
    10.1.13 (?)
    You call this a reply?

    Please tell me what to do to FIX this ... short comments like that which talk about the problem but not the solution (!) do nothing to help.

    At the mercy? You had it all working just a few commits ago, when centminmod installed PHP 5.6.22 I believe ... I'm just asking can you get it working again? Or is there any particular version of PHP which will always work with the latest beta to install FFMPEG-PHP correctly?