Get the most out of your Centmin Mod LEMP stack
Become a Member

[Solved] Unable to install FFMPEG PHP extension

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

  1. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    5:33 PM
    Mainline
    10.2
    Can you pass the video file that didn't convert? I would love to try it on my own installation.

     
  2. eva2000

    eva2000 Administrator Staff Member

    55,796
    12,271
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,857
    Local Time:
    7:33 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    If you read through the pages of this thread you'll see what I tried and the conclusion I made. Basically, the problem is:
    • The FFMPEG php extension is only properly compiling against ATrpm.net's provided FFMPEG yum packages and dependencies.
    • Other YUM repos have FFMPEG older or newer versions, but they have their libraries all over the place so FFMPEG php extension cannot compile against those.
    • I can successfully compile FFMPEG itself (binary) and dependencies via source compile, but again FFMPEG php extension will not properly compile against that version of FFMPEG, so you end up with no difference from just using the officially provided FFMPEG static binaries without FFMPEG php extension support
    • IIRC, FFMPEG php extension isn't being maintained much so that adds to the problem. I guess if FFMPEG php extension was maintained to support other FFMPEG yum repo versions or source compiled FFMPEG, it would be the best solution. FYI, last update for FFMPEG php extension was Oct 2014 tony2001/ffmpeg-php · GitHub and my bug report back in Sept 2015 ffmpeg_movie.c:918:41: error: ‘CODEC_ID_MPEG2TS’ undeclared · Issue #14 · tony2001/ffmpeg-php · GitHub
    • One more thing I can try is FFMPEG source compile again but instead of using FFMPEG 2.6.x use older 2.2.x branch FFmpeg/FFmpeg at release/2.2 · GitHub as that is what ATrpm's FFMPEG version was with 2.2.1 and see if FFMPEG php extension compiles against it. FYI, FFMPEG source compile takes ages to do !
    FYI, just did test FFMPEG source compile of binary itself not php extension, took approximately 20 minutes to compile. Will test FFMPEG PHP extension compile again to see if it works on FFMPEG source compiled

    Full source compile logged output at ffmpeg source compile 30/11/15 for centminmod centos 7.1 · GitHub

    Code:
    Installed FFMPEG at /opt/ffmpeg
    
    ffmpeg version git-2015-11-29-15206ff Copyright (c) 2000-2015 the FFmpeg developers
    built with gcc 4.8.3 (GCC) 20140911 (Red Hat 4.8.3-9)
    configuration: --prefix=/opt/ffmpeg --extra-cflags=-I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib --bindir=/opt/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-swscale --enable-shared
    libavutil      55.  9.100 / 55.  9.100
    libavcodec     57. 16.101 / 57. 16.101
    libavformat    57. 19.100 / 57. 19.100
    libavdevice    57.  0.100 / 57.  0.100
    libavfilter     6. 17.100 /  6. 17.100
    libswscale      4.  0.100 /  4.  0.100
    libswresample   2.  0.101 /  2.  0.101
    libpostproc    54.  0.100 / 54.  0.100
    
    Code:
    ffmpeg version git-2015-11-29-15206ff Copyright (c) 2000-2015 the FFmpeg developers
      built with gcc 4.8.3 (GCC) 20140911 (Red Hat 4.8.3-9)
      configuration: --prefix=/opt/ffmpeg --extra-cflags=-I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib --bindir=/opt/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-swscale --enable-shared
      libavutil      55.  9.100 / 55.  9.100
      libavcodec     57. 16.101 / 57. 16.101
      libavformat    57. 19.100 / 57. 19.100
      libavdevice    57.  0.100 / 57.  0.100
      libavfilter     6. 17.100 /  6. 17.100
      libswscale      4.  0.100 /  4.  0.100
      libswresample   2.  0.101 /  2.  0.101
      libpostproc    54.  0.100 / 54.  0.100
    File formats:
    D. = Demuxing supported
    .E = Muxing supported
    --
    D  3dostr          3DO STR
      E 3g2             3GP2 (3GPP2 file format)
      E 3gp             3GP (3GPP file format)
    D  4xm             4X Technologies
      E a64             a64 - video for Commodore 64
    D  aa              Audible AA format files
    D  aac             raw ADTS AAC (Advanced Audio Coding)
    DE ac3             raw AC-3
    D  acm             Interplay ACM
    D  act             ACT Voice file format
    D  adf             Artworx Data Format
    D  adp             ADP
    D  ads             Sony PS2 ADS
      E adts            ADTS AAC (Advanced Audio Coding)
    DE adx             CRI ADX
    D  aea             MD STUDIO audio
    D  afc             AFC
    DE aiff            Audio IFF
    DE alaw            PCM A-law
    D  alias_pix       Alias/Wavefront PIX image
    DE amr             3GPP AMR
    D  anm             Deluxe Paint Animation
    D  apc             CRYO APC
    D  ape             Monkey's Audio
    DE apng            Animated Portable Network Graphics
    D  aqtitle         AQTitle subtitles
    DE asf             ASF (Advanced / Active Streaming Format)
    D  asf_o           ASF (Advanced / Active Streaming Format)
      E asf_stream      ASF (Advanced / Active Streaming Format)
    DE ass             SSA (SubStation Alpha) subtitle
    DE ast             AST (Audio Stream)
    DE au              Sun AU
    DE avi             AVI (Audio Video Interleaved)
      E avm2            SWF (ShockWave Flash) (AVM2)
    D  avr             AVR (Audio Visual Research)
    D  avs             AVS
    D  bethsoftvid     Bethesda Softworks VID
    D  bfi             Brute Force & Ignorance
    D  bfstm           BFSTM (Binary Cafe Stream)
    D  bin             Binary text
    D  bink            Bink
    DE bit             G.729 BIT file format
    D  bmp_pipe        piped bmp sequence
    D  bmv             Discworld II BMV
    D  boa             Black Ops Audio
    D  brender_pix     BRender PIX image
    D  brstm           BRSTM (Binary Revolution Stream)
    D  c93             Interplay C93
    DE caf             Apple CAF (Core Audio Format)
    DE cavsvideo       raw Chinese AVS (Audio Video Standard) video
    D  cdg             CD Graphics
    D  cdxl            Commodore CDXL video
    D  cine            Phantom Cine
    D  concat          Virtual concatenation script
      E crc             CRC testing
      E dash            DASH Muxer
    DE data            raw data
    DE daud            D-Cinema audio
    D  dcstr           Sega DC STR
    D  dds_pipe        piped dds sequence
    D  dfa             Chronomaster DFA
    DE dirac           raw Dirac
    DE dnxhd           raw DNxHD (SMPTE VC-3)
    D  dpx_pipe        piped dpx sequence
    D  dsf             DSD Stream File (DSF)
    D  dsicin          Delphine Software International CIN
    D  dss             Digital Speech Standard (DSS)
    DE dts             raw DTS
    D  dtshd           raw DTS-HD
    DE dv              DV (Digital Video)
    D  dv1394          DV1394 A/V grab
    D  dvbsub          raw dvbsub
      E dvd             MPEG-2 PS (DVD VOB)
    D  dxa             DXA
    D  ea              Electronic Arts Multimedia
    D  ea_cdata        Electronic Arts cdata
    DE eac3            raw E-AC-3
    D  epaf            Ensoniq Paris Audio File
    D  exr_pipe        piped exr sequence
    DE f32be           PCM 32-bit floating-point big-endian
    DE f32le           PCM 32-bit floating-point little-endian
      E f4v             F4V Adobe Flash Video
    DE f64be           PCM 64-bit floating-point big-endian
    DE f64le           PCM 64-bit floating-point little-endian
    DE fbdev           Linux framebuffer
    DE ffm             FFM (FFserver live feed)
    DE ffmetadata      FFmpeg metadata in text
    D  film_cpk        Sega FILM / CPK
    DE filmstrip       Adobe Filmstrip
    DE flac            raw FLAC
    D  flic            FLI/FLC/FLX animation
    DE flv             FLV (Flash Video)
      E framecrc        framecrc testing
      E framemd5        Per-frame MD5 testing
    D  frm             Megalux Frame
    D  fsb             FMOD Sample Bank
    DE g722            raw G.722
    DE g723_1          raw G.723.1
    D  g729            G.729 raw format demuxer
    D  genh            GENeric Header
    DE gif             GIF Animation
    D  gsm             raw GSM
    DE gxf             GXF (General eXchange Format)
    DE h261            raw H.261
    DE h263            raw H.263
    DE h264            raw H.264 video
      E hds             HDS Muxer
    DE hevc            raw HEVC video
      E hls             Apple HTTP Live Streaming
    D  hls,applehttp   Apple HTTP Live Streaming
    D  hnm             Cryo HNM v4
    DE ico             Microsoft Windows ICO
    D  idcin           id Cinematic
    D  idf             iCE Draw File
    D  iff             IFF (Interchange File Format)
    DE ilbc            iLBC storage
    DE image2          image2 sequence
    DE image2pipe      piped image2 sequence
    D  ingenient       raw Ingenient MJPEG
    D  ipmovie         Interplay MVE
      E ipod            iPod H.264 MP4 (MPEG-4 Part 14)
    DE ircam           Berkeley/IRCAM/CARL Sound Format
      E ismv            ISMV/ISMA (Smooth Streaming)
    D  iss             Funcom ISS
    D  iv8             IndigoVision 8000 video
    DE ivf             On2 IVF
    D  ivr             IVR (Internet Video Recording)
    D  j2k_pipe        piped j2k sequence
    DE jacosub         JACOsub subtitle format
    D  jpeg_pipe       piped jpeg sequence
    D  jpegls_pipe     piped jpegls sequence
    D  jv              Bitmap Brothers JV
      E latm            LOAS/LATM
    D  lavfi           Libavfilter virtual input device
    D  live_flv        live RTMP FLV (Flash Video)
    D  lmlm4           raw lmlm4
    D  loas            LOAS AudioSyncStream
    DE lrc             LRC lyrics
    D  lvf             LVF
    D  lxf             VR native stream (LXF)
    DE m4v             raw MPEG-4 video
      E matroska        Matroska
    D  matroska,webm   Matroska / WebM
      E md5             MD5 testing
    D  mgsts           Metal Gear Solid: The Twin Snakes
    DE microdvd        MicroDVD subtitle format
    DE mjpeg           raw MJPEG video
      E mkvtimestamp_v2 extract pts as timecode v2 format, as defined by mkvtoolnix
    DE mlp             raw MLP
    D  mlv             Magic Lantern Video (MLV)
    D  mm              American Laser Games MM
    DE mmf             Yamaha SMAF
      E mov             QuickTime / MOV
    D  mov,mp4,m4a,3gp,3g2,mj2 QuickTime / MOV
      E mp2             MP2 (MPEG audio layer 2)
    DE mp3             MP3 (MPEG audio layer 3)
      E mp4             MP4 (MPEG-4 Part 14)
    D  mpc             Musepack
    D  mpc8            Musepack SV8
    DE mpeg            MPEG-1 Systems / MPEG program stream
      E mpeg1video      raw MPEG-1 video
      E mpeg2video      raw MPEG-2 video
    DE mpegts          MPEG-TS (MPEG-2 Transport Stream)
    D  mpegtsraw       raw MPEG-TS (MPEG-2 Transport Stream)
    D  mpegvideo       raw MPEG video
    DE mpjpeg          MIME multipart JPEG
    D  mpl2            MPL2 subtitles
    D  mpsub           MPlayer subtitles
    D  msf             Sony PS3 MSF
    D  msnwctcp        MSN TCP Webcam stream
    D  mtv             MTV
    DE mulaw           PCM mu-law
    D  mv              Silicon Graphics Movie
    D  mvi             Motion Pixels MVI
    DE mxf             MXF (Material eXchange Format)
      E mxf_d10         MXF (Material eXchange Format) D-10 Mapping
      E mxf_opatom      MXF (Material eXchange Format) Operational Pattern Atom
    D  mxg             MxPEG clip
    D  nc              NC camera feed
    D  nistsphere      NIST SPeech HEader REsources
    D  nsv             Nullsoft Streaming Video
      E null            raw null video
    DE nut             NUT
    D  nuv             NuppelVideo
      E oga             Ogg Audio
    DE ogg             Ogg
    DE oma             Sony OpenMG audio
      E opus            Ogg Opus
    DE oss             OSS (Open Sound System) playback
    D  paf             Amazing Studio Packed Animation File
    D  pictor_pipe     piped pictor sequence
    D  pjs             PJS (Phoenix Japanimation Society) subtitles
    D  pmp             Playstation Portable PMP
    D  png_pipe        piped png sequence
      E psp             PSP MP4 (MPEG-4 Part 14)
    D  psxstr          Sony Playstation STR
    D  pva             TechnoTrend PVA
    D  pvf             PVF (Portable Voice Format)
    D  qcp             QCP
    D  qdraw_pipe      piped qdraw sequence
    D  r3d             REDCODE R3D
    DE rawvideo        raw video
    D  realtext        RealText subtitle format
    D  redspark        RedSpark
    D  rl2             RL2
    DE rm              RealMedia
    DE roq             raw id RoQ
    D  rpl             RPL / ARMovie
    D  rsd             GameCube RSD
    DE rso             Lego Mindstorms RSO
    DE rtp             RTP output
      E rtp_mpegts      RTP/mpegts output format
    DE rtsp            RTSP output
    DE s16be           PCM signed 16-bit big-endian
    DE s16le           PCM signed 16-bit little-endian
    DE s24be           PCM signed 24-bit big-endian
    DE s24le           PCM signed 24-bit little-endian
    DE s32be           PCM signed 32-bit big-endian
    DE s32le           PCM signed 32-bit little-endian
    DE s8              PCM signed 8-bit
    D  sami            SAMI subtitle format
    DE sap             SAP output
    D  sbg             SBaGen binaural beats script
    D  sdp             SDP
    D  sdr2            SDR2
      E segment         segment
    D  sgi_pipe        piped sgi sequence
    D  shn             raw Shorten
    D  siff            Beam Software SIFF
      E singlejpeg      JPEG single image
    D  sln             Asterisk raw pcm
    DE smjpeg          Loki SDL MJPEG
    D  smk             Smacker
      E smoothstreaming Smooth Streaming Muxer
    D  smush           LucasArts Smush
    D  sol             Sierra SOL
    DE sox             SoX native
    DE spdif           IEC 61937 (used on S/PDIF - IEC958)
      E spx             Ogg Speex
    DE srt             SubRip subtitle
    D  stl             Spruce subtitle format
      E stream_segment,ssegment streaming segment muxer
    D  subviewer       SubViewer subtitle format
    D  subviewer1      SubViewer v1 subtitle format
    D  sunrast_pipe    piped sunrast sequence
    D  sup             raw HDMV Presentation Graphic Stream subtitles
    D  svag            Konami PS2 SVAG
      E svcd            MPEG-2 PS (SVCD)
    DE swf             SWF (ShockWave Flash)
    D  tak             raw TAK
    D  tedcaptions     TED Talks captions
      E tee             Multiple muxer tee
    D  thp             THP
    D  tiertexseq      Tiertex Limited SEQ
    D  tiff_pipe       piped tiff sequence
    D  tmv             8088flex TMV
    DE truehd          raw TrueHD
    D  tta             TTA (True Audio)
    D  tty             Tele-typewriter
    D  txd             Renderware TeXture Dictionary
    DE u16be           PCM unsigned 16-bit big-endian
    DE u16le           PCM unsigned 16-bit little-endian
    DE u24be           PCM unsigned 24-bit big-endian
    DE u24le           PCM unsigned 24-bit little-endian
    DE u32be           PCM unsigned 32-bit big-endian
    DE u32le           PCM unsigned 32-bit little-endian
    DE u8              PCM unsigned 8-bit
      E uncodedframecrc uncoded framecrc testing
    D  v210            Uncompressed 4:2:2 10-bit
    D  v210x           Uncompressed 4:2:2 10-bit
      E v4l2            Video4Linux2 output device
    D  vag             Sony PS2 VAG
    DE vc1             raw VC-1 video
    DE vc1test         VC-1 test bitstream
      E vcd             MPEG-1 Systems / MPEG program stream (VCD)
    D  video4linux2,v4l2 Video4Linux2 device grab
    D  vivo            Vivo
    D  vmd             Sierra VMD
      E vob             MPEG-2 PS (VOB)
    D  vobsub          VobSub subtitle format
    DE voc             Creative Voice
    D  vpk             Sony PS2 VPK
    D  vplayer         VPlayer subtitles
    D  vqf             Nippon Telegraph and Telephone Corporation (NTT) TwinVQ
    DE w64             Sony Wave64
    DE wav             WAV / WAVE (Waveform Audio)
    D  wc3movie        Wing Commander III movie
      E webm            WebM
      E webm_chunk      WebM Chunk Muxer
    DE webm_dash_manifest WebM DASH Manifest
      E webp            WebP
    D  webp_pipe       piped webp sequence
    DE webvtt          WebVTT subtitle
    D  wsaud           Westwood Studios audio
    D  wsvqa           Westwood Studios VQA
    DE wtv             Windows Television (WTV)
    DE wv              raw WavPack
    D  wve             Psion 3 audio
    D  x11grab         X11 screen capture, using XCB
    D  xa              Maxis XA
    D  xbin            eXtended BINary text (XBIN)
    D  xmv             Microsoft XMV
    D  xvag            Sony PS3 XVAG
    D  xwma            Microsoft xWMA
    D  yop             Psygnosis YOP
    DE yuv4mpegpipe    YUV4MPEG pipe
    
    real    20m14.999s
    user    37m37.513s
    sys     2m36.998s
    FFMPEG php extension compile is still broken for latest FFMPEG source compile version (yet to set older FFMPEG 2.2. branch) see errors at ffmpeg source compile 30/11/15 for centminmod centos 7.1 · GitHub

    still same problem
    Code:
    make: *** [ffmpeg_movie.lo] Error 1
    /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/include/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/ffmpeg_movie.c -o ffmpeg_movie.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/include/php/ext/date/lib -I/opt/ffmpeg/include -DHAVE_CONFIG_H -g -O2 -c /svr-setup/ffmpeg-php-git/ffmpeg_movie.c  -fPIC -DPIC -o .libs/ffmpeg_movie.o
    /svr-setup/ffmpeg-php-git/ffmpeg_movie.c: In function ‘_php_get_codec_name’:
    /svr-setup/ffmpeg-php-git/ffmpeg_movie.c:918:41: error: ‘CODEC_ID_MPEG2TS’ undeclared (first use in this function)
         } else if (decoder_ctx->codec_id == CODEC_ID_MPEG2TS) {
    error on line 918 of /svr-setup/ffmpeg-php-git/ffmpeg_movie.c
    Code:
        } else if (decoder_ctx->codec_id == CODEC_ID_MPEG2TS) {
    in context
    Code:
    /* {{{ _php_get_codec_name()
       Returns the name of a video or audio codec from a movie
    */
    static const char* _php_get_codec_name(ff_movie_context *ffmovie_ctx, int type)
    {
        AVCodecContext *decoder_ctx = NULL;
        AVCodec *p = NULL;
        const char *codec_name;
        char buf1[32];
    
        decoder_ctx = _php_get_decoder_context(ffmovie_ctx, type);
        if (!decoder_ctx) {
            return NULL;
        }
    
        p = avcodec_find_decoder(decoder_ctx->codec_id);
    
        /* Copied from libavcodec/utils.c::avcodec_string */
        if (p) {
            codec_name = p->name;
    #ifdef FF_API_SUB_ID
            if (decoder_ctx->codec_id == CODEC_ID_MP3) {
                if (decoder_ctx->sub_id == 2)
                    codec_name = "mp2";
                else if (decoder_ctx->sub_id == 1)
                    codec_name = "mp1";
            }
    #endif
        } else if (decoder_ctx->codec_id == CODEC_ID_MPEG2TS) {
            /* fake mpeg2 transport stream codec (currently not registered) */
            codec_name = "mpeg2ts";
        } else if (decoder_ctx->codec_name[0] != '\0') {
            codec_name = decoder_ctx->codec_name;
        } else {
            /* output avi tags */
            if (decoder_ctx->codec_type == AVMEDIA_TYPE_VIDEO) {
                snprintf(buf1, sizeof(buf1), "%c%c%c%c",
                        decoder_ctx->codec_tag & 0xff,
                        (decoder_ctx->codec_tag >> 8) & 0xff,
                        (decoder_ctx->codec_tag >> 16) & 0xff,
                        (decoder_ctx->codec_tag >> 24) & 0xff);
            } else {
                snprintf(buf1, sizeof(buf1), "0x%04x", decoder_ctx->codec_tag);
            }
            codec_name = buf1;
        }
    
        return codec_name;
    }
    /* }}} */

    ATrpms YUM Mirror Test



    Try the ATrpms.net mirror instead now

    Code (Text):
    yum list ffmpeg ffmpeg-devel mplayer mencoder flvtool2 re2c yasm nasm libvpx libvpx-devel amrnb-devel amrwb-devel libid3tag libvorbis-devel lame libogg libwmf xvidcore xvidcore-devel facc faad2 a52decoder *vorbis* ruby ruby-libs ruby-devel --enablerepo=atrpms -q
    Installed Packages
    libvpx.x86_64                                                                                                            1.3.0-5.el7_0                                                                                                           @base
    libvpx-devel.x86_64                                                                                                      1.3.0-5.el7_0                                                                                                           @base
    re2c.x86_64                                                                                                              0.14.3-1                                                                                                                installed
    Available Packages
    faad2.x86_64                                                                                                             1:2.7-18.el7                                                                                                            atrpms
    ffmpeg.x86_64                                                                                                            2.2.1-65.el7                                                                                                            atrpms
    ffmpeg-devel.x86_64                                                                                                      2.2.1-65.el7                                                                                                            atrpms
    lame.x86_64                                                                                                              3.99.3-23.el7                                                                                                           atrpms
    libid3tag.x86_64                                                                                                         0.15.1b-17.el7                                                                                                          base
    libogg.x86_64                                                                                                            2:1.3.0-7.el7                                                                                                           base
    libvorbis.x86_64                                                                                                         1:1.3.3-8.el7                                                                                                           base
    libvorbis-devel.x86_64                                                                                                   1:1.3.3-8.el7                                                                                                           base
    libvorbis-devel-docs.noarch                                                                                              1:1.3.3-8.el7                                                                                                           base
    libwmf.x86_64                                                                                                            0.2.8.4-41.el7_1                                                                                                        updates
    mingw32-libvorbis.noarch                                                                                                 1.3.4-1.el7                                                                                                             epel
    mingw64-libvorbis.noarch                                                                                                 1.3.4-1.el7                                                                                                             epel
    mplayer.x86_64                                                                                                           4:1.2-93_snap20140413.el7                                                                                               atrpms
    nasm.x86_64                                                                                                              2.10.07-7.el7                                                                                                           base
    ruby.x86_64                                                                                                              2.0.0.598-25.el7_1                                                                                                      updates
    ruby-devel.x86_64                                                                                                        2.0.0.598-25.el7_1                                                                                                      updates
    ruby-libs.x86_64                                                                                                         2.0.0.598-25.el7_1                                                                                                      updates
    vorbis-tools.x86_64                                                                                                      1:1.4.0-12.el7                                                                                                          base
    xvidcore.x86_64                                                                                                          1.3.2-15.el7                                                                                                            atrpms
    xvidcore-devel.x86_64                                                                                                    1.3.2-15.el7                                                                                                            atrpms
    yasm.x86_64                                                                                                              1.2.0-4.el7                                                                                                             epel     


    Code:
    Dependencies Resolved
    
    ================================================================================
    Package                    Arch    Version                     Repository
                                                                               Size
    ================================================================================
    Installing:
    faad2                      x86_64  1:2.7-18.el7                atrpms     35 k
    ffmpeg                     x86_64  2.2.1-65.el7                atrpms    1.6 M
    ffmpeg-devel               x86_64  2.2.1-65.el7                atrpms    5.4 M
    lame                       x86_64  3.99.3-23.el7               atrpms    345 k
    libid3tag                  x86_64  0.15.1b-17.el7              base       48 k
    libogg                     x86_64  2:1.3.0-7.el7               base       24 k
    libvorbis                  x86_64  1:1.3.3-8.el7               base      204 k
    libvorbis-devel            x86_64  1:1.3.3-8.el7               base       21 k
    libvorbis-devel-docs       noarch  1:1.3.3-8.el7               base      162 k
    libwmf                     x86_64  0.2.8.4-41.el7_1            updates   134 k
    mingw32-libvorbis          noarch  1.3.4-1.el7                 epel      187 k
    mingw64-libvorbis          noarch  1.3.4-1.el7                 epel      194 k
    mplayer                    x86_64  4:1.2-93_snap20140413.el7   atrpms     14 M
    nasm                       x86_64  2.10.07-7.el7               base      402 k
    ruby                       x86_64  2.0.0.598-25.el7_1          updates    67 k
    ruby-devel                 x86_64  2.0.0.598-25.el7_1          updates   127 k
    ruby-libs                  x86_64  2.0.0.598-25.el7_1          updates   2.8 M
    vorbis-tools               x86_64  1:1.4.0-12.el7              base      214 k
    xvidcore                   x86_64  1.3.2-15.el7                atrpms    169 k
    xvidcore-devel             x86_64  1.3.2-15.el7                atrpms    203 k
    yasm                       x86_64  1.2.0-4.el7                 epel      398 k
    Installing for dependencies:
    SDL                        x86_64  1.2.15-11.el7               base      204 k
    a52dec-devel               x86_64  0.7.4-7.0.1.el7             atrpms     31 k
    aalib-libs                 x86_64  1.4.0-0.22.rc5.el7          epel       65 k
    arts                       x86_64  8:1.5.10-26.el7             epel      969 k
    audiofile                  x86_64  1:0.3.6-4.el7               base      153 k
    cdparanoia-libs            x86_64  10.2-17.el7                 base       56 k
    dirac-libs                 x86_64  1.0.2-14.el7                epel      256 k
    enca                       x86_64  1.16-1.el7                  epel      106 k
    esound-libs                x86_64  1:0.2.41-12.el7             epel       78 k
    faad2-devel                x86_64  1:2.7-18.el7                atrpms    219 k
    flac-libs                  x86_64  1.3.0-5.el7_1               updates   169 k
    freeglut                   x86_64  2.8.1-3.el7                 base      182 k
    giflib                     x86_64  4.1.6-9.el7                 base       40 k
    glib                       x86_64  1:1.2.10-41.el7             epel      137 k
    glibmm24                   x86_64  2.36.2-4.el7                base      433 k
    gpm-libs                   x86_64  1.20.7-5.el7                base       32 k
    gsm                        x86_64  1.0.13-11.el7               base       30 k
    gsm-devel                  x86_64  1.0.13-11.el7               base       14 k
    gtk+                       x86_64  1:1.2.10-77.el7             epel      841 k
    jack-audio-connection-kit  x86_64  1.9.9.5-4.el7               epel      522 k
    lame-devel                 x86_64  3.99.3-23.el7               atrpms     24 k
    libXScrnSaver              x86_64  1.2.2-6.1.el7               base       24 k
    libXtst                    x86_64  1.2.2-2.1.el7               base       20 k
    libXv                      x86_64  1.0.9-2.1.el7               base       18 k
    libXvMC                    x86_64  1.0.8-2.1.el7               base       22 k
    libXxf86dga                x86_64  1.1.4-2.1.el7               base       19 k
    liba52_0                   x86_64  0.7.4-7.0.1.el7             atrpms     27 k
    libao                      x86_64  1.1.0-8.el7                 base       72 k
    libasyncns                 x86_64  0.8-7.el7                   base       26 k
    libavcodec55               x86_64  2.2.1-65.el7                atrpms    3.3 M
    libavdevice55              x86_64  2.2.1-65.el7                atrpms     38 k
    libavfilter4               x86_64  2.2.1-65.el7                atrpms    346 k
    libavformat55              x86_64  2.2.1-65.el7                atrpms    677 k
    libavutil52                x86_64  2.2.1-65.el7                atrpms    118 k
    libcaca                    x86_64  0.99-0.17.beta17.el7        epel      216 k
    libconfig                  x86_64  1.4.9-5.el7                 base       59 k
    libdc1394                  x86_64  2.2.2-3.el7                 epel      121 k
    libdc1394-devel            x86_64  2.2.2-3.el7                 epel       53 k
    libdca0                    x86_64  0.0.5-4.el7                 atrpms     91 k
    libdirect-1.7_4            x86_64  1.7.4-17.el7                atrpms     62 k
    libdirectfb-1.7_4          x86_64  1.7.4-17.el7                atrpms    399 k
    libdv                      x86_64  1.0.0-17.el7                base       78 k
    libfaac0                   x86_64  1.28-6.el7                  atrpms     36 k
    libfaad2                   x86_64  1:2.7-18.el7                atrpms    142 k
    libffado                   x86_64  2.1.0-4.el7                 epel      650 k
    libfusion-1.7_4            x86_64  1.7.4-17.el7                atrpms     27 k
    libiec61883                x86_64  1.2.0-10.el7                base       37 k
    libldb                     x86_64  1.1.17-2.el7                base      122 k
    libmad0                    x86_64  0.15.1b-4.el7               atrpms     54 k
    libmikmod                  x86_64  3.2.0-21.el7                epel      138 k
    libmng                     x86_64  1.0.10-14.el7               base      171 k
    libmp3lame0                x86_64  3.99.3-23.el7               atrpms    131 k
    libmpeg2_0                 x86_64  0.5.1-5.el7                 atrpms     38 k
    libogg-devel               x86_64  2:1.3.0-7.el7               base       13 k
    libopencore-amrnb0         x86_64  0.1.3-1.el7                 atrpms     93 k
    libopencore-amrwb0         x86_64  0.1.3-1.el7                 atrpms     46 k
    libpostproc52              x86_64  2.2.1-65.el7                atrpms     44 k
    libraw1394                 x86_64  2.1.0-2.el7                 base       63 k
    libraw1394-devel           x86_64  2.1.0-2.el7                 base       39 k
    librtmp0                   x86_64  2.3-1.el7                   atrpms     42 k
    libsamplerate              x86_64  0.1.8-6.el7                 base      1.0 M
    libsigc++20                x86_64  2.3.1-4.el7                 base       59 k
    libsmbclient               x86_64  4.1.12-24.el7_1             updates   120 k
    libsndfile                 x86_64  1.0.25-9.el7                base      149 k
    libswresample0             x86_64  2.2.1-65.el7                atrpms     41 k
    libswscale2                x86_64  2.2.1-65.el7                atrpms    114 k
    libtalloc                  x86_64  2.1.1-1.el7                 base       30 k
    libtdb                     x86_64  1.3.0-1.el7                 base       44 k
    libtevent                  x86_64  0.9.21-3.el7                base       31 k
    libtheora                  x86_64  1:1.1.1-8.el7               base      136 k
    libtheora-devel            x86_64  1:1.1.1-8.el7               base       33 k
    libusbx                    x86_64  1.0.15-4.el7                base       50 k
    libva1                     x86_64  1.3.1-11.el7                atrpms     37 k
    libvdpau                   x86_64  0.9-1.el7                   epel       32 k
    libwbclient                x86_64  4.1.12-24.el7_1             updates    90 k
    libx264_142                x86_64  0.142-20_20140406.2245.el7  atrpms    372 k
    libxavs1                   x86_64  0.1.51-2.el7                atrpms    131 k
    libxml++                   x86_64  2.37.1-1.el7                epel       99 k
    libxvidcore4               x86_64  1.3.2-15.el7                atrpms    178 k
    libyaml                    x86_64  0.1.4-11.el7_0              base       55 k
    lirc-libs                  x86_64  0.9.1a-4.el7                epel       39 k
    live                       x86_64  2012.02.04-1.el7            atrpms    292 k
    mingw-filesystem-base      noarch  100-1.el7                   epel       34 k
    mingw32-crt                noarch  4.0.4-1.el7                 epel      1.4 M
    mingw32-filesystem         noarch  100-1.el7                   epel      150 k
    mingw32-libogg             noarch  1.3.0-4.el7                 epel       27 k
    mingw32-pkg-config         x86_64  0.28-2.el7                  epel       47 k
    mingw64-crt                noarch  4.0.4-1.el7                 epel      2.4 M
    mingw64-filesystem         noarch  100-1.el7                   epel      174 k
    mingw64-libogg             noarch  1.3.0-4.el7                 epel       28 k
    mingw64-pkg-config         x86_64  0.28-2.el7                  epel       47 k
    mpg123                     x86_64  1.18.1-1.el7                atrpms    260 k
    mplayer-fonts              noarch  4:1.0-7.at                  atrpms    1.0 M
    mplayer-skins              noarch  4:1.0-16                    atrpms     14 M
    openal-soft                x86_64  1.16.0-2.el7                epel      282 k
    openjpeg-libs              x86_64  1.5.1-10.el7                base       85 k
    opus                       x86_64  1.0.2-6.el7                 base      630 k
    orc                        x86_64  0.4.17-5.el7                base      164 k
    portaudio                  x86_64  19-16.el7                   epel       88 k
    pulseaudio-libs            x86_64  3.0-30.el7                  base      556 k
    pytalloc                   x86_64  2.1.1-1.el7                 base       13 k
    qt3                        x86_64  3.3.8b-51.el7               base      3.5 M
    ruby-irb                   noarch  2.0.0.598-25.el7_1          updates    88 k
    rubygem-bigdecimal         x86_64  1.2.0-25.el7_1              updates    79 k
    rubygem-io-console         x86_64  0.4.2-25.el7_1              updates    50 k
    rubygem-json               x86_64  1.7.7-25.el7_1              updates    75 k
    rubygem-psych              x86_64  2.0.0-25.el7_1              updates    77 k
    rubygem-rdoc               noarch  4.0.0-25.el7_1              updates   318 k
    rubygems                   noarch  2.0.14-25.el7_1             updates   212 k
    samba-common               x86_64  4.1.12-24.el7_1             updates   709 k
    samba-libs                 x86_64  4.1.12-24.el7_1             updates   4.3 M
    schroedinger               x86_64  1.0.11-4.el7                epel      291 k
    speex                      x86_64  1.2-0.19.rc1.el7            base       98 k
    twolame                    x86_64  0.3.13-1.el7.rf             rpmforge  134 k
    x264-devel                 x86_64  0.142-20_20140406.2245.el7  atrpms     19 k
    xmms-libs                  x86_64  1:1.2.11-40.el7             atrpms    271 k
    
    Transaction Summary
    ================================================================================
    Install  21 Packages (+116 Dependent packages)
    
    Total download size: 74 M
    Installed size: 299 M
    missing public key !

    Code:
    Downloading packages:
    warning: /var/cache/yum/x86_64/7/atrpms/packages/a52dec-devel-0.7.4-7.0.1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 66534c2b: NOKEY
    Public key for a52dec-devel-0.7.4-7.0.1.el7.x86_64.rpm is not installed
    --------------------------------------------------------------------------------
    Total                                              320 kB/s |  74 MB  03:55 
    Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms
    
    
    GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms"
    so disabled gpgcheck in atrpms.repo
    Code:
    gpgcheck=0
    End result centmin.sh menu option 19 for FFMPEG php extension compiled ok
    Code:
    ffmpeg
    
    ffmpeg-php version => 0.7.0
    ffmpeg-php built on => Nov 29 2015 18:06:31
    ffmpeg-php gd support  => disabled
    ffmpeg libavcodec version => Lavc55.52.102
    ffmpeg libavcodec license => GPL version 3 or later
    ffmpeg libavformat version => Lavf55.33.100
    ffmpeg libavformat license => GPL version 3 or later
    ffmpeg swscaler version => SwS2.5.102
    ffmpeg swscaler license => GPL version 3 or later
    ffmpeg codec_list => a64multi(v), a64multi5(v), aasc(v), aic(v), amv(v), amv(v), anm(v), ansi(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), cinepak(v), cinepak(v), cljr(v), cljr(v), cllc(v), comfortnoise(a), comfortnoise(a), cpia(v), camstudio(v), cyuv(v), dfa(v), dirac(v), dnxhd(v), dnxhd(v), dpx(v), dpx(v), dsicinvideo(v), dvvideo(v), dvvideo(v), dxa(v), dxtory(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), h264_vdpau(v), hevc(v), hnm4video(v), huffyuv(v), huffyuv(v), idcinvideo(v), iff(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), 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), mpeg4_vdpau(v), mpegvideo(v), mpegvideo_vdpau(v), mpeg1video_vdpau(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), rv10(v), rv10(v), rv20(v), rv20(v), rv30(v), rv40(v), s302m(a), s302m(a), sanm(v), sgi(v), sgi(v), sgirle(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), theora(v), thp(v), tiertexseqvideo(v), tiff(v), tiff(v), tmv(v), truemotion1(v), truemotion2(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), vc1_vdpau(v), vc1image(v), vcr1(v), vmdvideo(v), vmnc(v), vp3(v), vp5(v), vp6(v), vp6a(v), vp6f(v), vp8(v), vp9(v), vqavideo(v), webp(v), wmv1(v), wmv1(v), wmv2(v), wmv2(v), wmv3(v), wmv3_vdpau(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_latm(a), ac3(a), ac3(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), dsicinaudio(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), 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), 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), 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_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_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_sbpro_2(a), adpcm_sbpro_3(a), adpcm_sbpro_4(a), adpcm_swf(a), adpcm_swf(a), adpcm_thp(a), adpcm_xa(a), adpcm_yamaha(a), adpcm_yamaha(a), vima(a), ssa(s), ssa(s), ass(s), ass(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), subrip(s), subrip(s), subviewer(s), subviewer1(s), text(s), vplayer(s), webvtt(s), xsub(s), xsub(s), libgsm(a), libgsm(a), libgsm_ms(a), libgsm_ms(a), libmp3lame(a), libopencore_amrnb(a), libopencore_amrnb(a), libopencore_amrwb(a), libopenjpeg(v), libopenjpeg(v), libspeex(a), libspeex(a), libtheora(v), libvorbis(a), libvorbis(a), libvpx(v), libvpx(v), libx264(v), libx264rgb(v), libxavs(v), libxvid(v), bintext(v), xbin(v), idf(v),
    
    Directive => Local Value => Master Value
    ffmpeg.allow_persistent => 0 => 0
    ffmpeg.show_warnings => 0 => 0
    
    Code:
    check FFMPEG
    
    ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
      built on Jun 17 2014 01:25:46 with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-16)
      configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libdc1394 --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC' --disable-stripping
      libavutil      52. 66.100 / 52. 66.100
      libavcodec     55. 52.102 / 55. 52.102
      libavformat    55. 33.100 / 55. 33.100
      libavdevice    55. 10.100 / 55. 10.100
      libavfilter     4.  2.100 /  4.  2.100
      libswscale      2.  5.102 /  2.  5.102
      libswresample   0. 18.100 /  0. 18.100
      libpostproc    52.  3.100 / 52.  3.100
    Hyper fast Audio and Video encoder
    For now updated Centmin Mod 123.09beta01 branch with atrpms mirror so you can use centmin.sh menu option 19 update inc/ffmpeginstall.inc for 123.09beta01 · centminmod/centminmod@a1c7272 · GitHub
     
    Last edited: Nov 30, 2015
  3. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    5:33 PM
    Mainline
    10.2
    I just tested this video on my XMG installation and just using static build, and it works fine.
     

    Attached Files:

  4. eva2000

    eva2000 Administrator Staff Member

    55,796
    12,271
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,857
    Local Time:
    7:33 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  5. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    4:33 AM
    1.21.6
    MariaDB 10.3.36
    Hey, if so, blame @TJA! We installed the static and he said it won't convert.
     
  6. eva2000

    eva2000 Administrator Staff Member

    55,796
    12,271
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,857
    Local Time:
    7:33 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    Background



    FFMPEG install including FFMPEG php extension is done via centmin.sh menu option 19. The routine involved using ATrpm YUM repo's version of FFMPEG and FFMPEG php extension from github repository which source compiled perfectly with ATrpm's provided FFMPEG version.

    Problem



    However, months ago ATrpm YUM repo disappeared on us and is no longer available. I tried numerous other YUM repos from 3rd parties which had various newer FFMPEG build versions but they all have their libraries installed all over the place and as such FFMPEG php extension would fail to compile successfully with these FFMPEG versions.

    Also tried source compiling from scratch FFMPEG latest version and that was successful. However, the FFMPEG php extension would fail to compile against the newer FFMPEG versions. FYI, last update for FFMPEG php extension was Oct 2014 tony2001/ffmpeg-php · GitHub and my bug report back in Sept 2015ffmpeg_movie.c:918:41: error: ‘CODEC_ID_MPEG2TS’ undeclared · Issue #14 · tony2001/ffmpeg-php · GitHub. FFMPEG php extension developer also no longer activately updates the code so that is also problematic.

    You can see all my attempts in the thread at Unable to install FFMPEG PHP extension | Centmin Mod Community and including the last summary in that thread in this specific post.

    Xenforo + FFMPEG Requirements



    If you only need FFMPEG for Xenforo XMG usage, then using FFMPEG static binaries without FFMPEG php extension compiled is okay. See Xenforo - Xenforo Media Gallery & FFMPEG Binary | Centmin Mod Community

    ATrpm YUM mirror



    Thanks to Lakshanz on Github posted that there was a ATrpm YUM mirror repo that exists FFMPEG/ FFMPEG-PHP install no longer works · Issue #44 · centminmod/centminmod · GitHub and the working ATrpm FFMPEG version that compiles against FFMPEG php extension still exists for now. However, this mirror isn't being updated other than to be available. For now, i updated centmin mod 123.09beta01 branch with the mirror for now https://community.centminmod.com/posts/21046/. Actual commit update inc/ffmpeginstall.inc for 123.09beta01 · centminmod/centminmod@a1c7272 · GitHub So for now you Centmin Mod 123.09beta01 branch users can use centmin.sh menu option 19 for FFMPEG and use this ATrpm YUM mirror while it's still available :)

    If folks do come across better alternative FFMPEG php extension sources which work with newer FFMPEG versions, please let me know :D
     
  7. eva2000

    eva2000 Administrator Staff Member

    55,796
    12,271
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,857
    Local Time:
    7:33 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  8. eva2000

    eva2000 Administrator Staff Member

    55,796
    12,271
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,857
    Local Time:
    7:33 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    @Patrizio works beautifully on fresh source compiled FFMPEG + fixed FFMPEG PHP extension - at least it now compiles and installs. I don't use FFMPEG myself so can't confirm much beyond that it installs and compiles and registers fine with PHP :)

    FFMPEG binary
    Code:
    ls -lah /opt/bin/ffmpeg
    -rwxr-xr-x 1 root root 215K Jan 13 10:47 /opt/bin/ffmpeg
    FFMPEG PHP extension on Centmin Mod LEMP stack on CentOS 6.7 64bit
    Code:
    php --ri ffmpeg
    
    ffmpeg
    
    ffmpeg-php version => 0.7.0
    ffmpeg-php built on => Jan 13 2016 10:53:53
    ffmpeg-php gd support  => disabled
    ffmpeg libavcodec version => Lavc57.22.100
    ffmpeg libavcodec license => nonfree and unredistributable
    ffmpeg libavformat version => Lavf57.21.101
    ffmpeg libavformat license => nonfree and unredistributable
    ffmpeg swscaler version => SwS4.0.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), 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), 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), 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), 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), 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), 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), 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_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_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
    
    FFMPEG source installed on Centmin Mod LEMP stack on CentOS 6.7 64bit
    Code:
    ffmpeg version git-2016-01-13-d3fe2e0 Copyright (c) 2000-2016 the FFmpeg developers
      built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
      configuration: --prefix=/opt/ffmpeg --extra-cflags=-I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib --bindir=/opt/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-swscale --enable-shared
      libavutil      55. 13.100 / 55. 13.100
      libavcodec     57. 22.100 / 57. 22.100
      libavformat    57. 21.101 / 57. 21.101
      libavdevice    57.  0.100 / 57.  0.100
      libavfilter     6. 23.100 /  6. 23.100
      libswscale      4.  0.100 /  4.  0.100
      libswresample   2.  0.101 /  2.  0.101
      libpostproc    54.  0.100 / 54.  0.100
    File formats:
    D. = Demuxing supported
    .E = Muxing supported
    --
    D  3dostr          3DO STR
      E 3g2             3GP2 (3GPP2 file format)
      E 3gp             3GP (3GPP file format)
    D  4xm             4X Technologies
      E a64             a64 - video for Commodore 64
    D  aa              Audible AA format files
    D  aac             raw ADTS AAC (Advanced Audio Coding)
    DE ac3             raw AC-3
    D  acm             Interplay ACM
    D  act             ACT Voice file format
    D  adf             Artworx Data Format
    D  adp             ADP
    D  ads             Sony PS2 ADS
      E adts            ADTS AAC (Advanced Audio Coding)
    DE adx             CRI ADX
    D  aea             MD STUDIO audio
    D  afc             AFC
    DE aiff            Audio IFF
    DE alaw            PCM A-law
    D  alias_pix       Alias/Wavefront PIX image
    DE amr             3GPP AMR
    D  anm             Deluxe Paint Animation
    D  apc             CRYO APC
    D  ape             Monkey's Audio
    DE apng            Animated Portable Network Graphics
    D  aqtitle         AQTitle subtitles
    DE asf             ASF (Advanced / Active Streaming Format)
    D  asf_o           ASF (Advanced / Active Streaming Format)
      E asf_stream      ASF (Advanced / Active Streaming Format)
    DE ass             SSA (SubStation Alpha) subtitle
    DE ast             AST (Audio Stream)
    DE au              Sun AU
    DE avi             AVI (Audio Video Interleaved)
      E avm2            SWF (ShockWave Flash) (AVM2)
    D  avr             AVR (Audio Visual Research)
    D  avs             AVS
    D  bethsoftvid     Bethesda Softworks VID
    D  bfi             Brute Force & Ignorance
    D  bfstm           BFSTM (Binary Cafe Stream)
    D  bin             Binary text
    D  bink            Bink
    DE bit             G.729 BIT file format
    D  bmp_pipe        piped bmp sequence
    D  bmv             Discworld II BMV
    D  boa             Black Ops Audio
    D  brender_pix     BRender PIX image
    D  brstm           BRSTM (Binary Revolution Stream)
    D  c93             Interplay C93
    DE caf             Apple CAF (Core Audio Format)
    DE cavsvideo       raw Chinese AVS (Audio Video Standard) video
    D  cdg             CD Graphics
    D  cdxl            Commodore CDXL video
    D  cine            Phantom Cine
    D  concat          Virtual concatenation script
      E crc             CRC testing
      E dash            DASH Muxer
    DE data            raw data
    DE daud            D-Cinema audio
    D  dcstr           Sega DC STR
    D  dds_pipe        piped dds sequence
    D  dfa             Chronomaster DFA
    DE dirac           raw Dirac
    DE dnxhd           raw DNxHD (SMPTE VC-3)
    D  dpx_pipe        piped dpx sequence
    D  dsf             DSD Stream File (DSF)
    D  dsicin          Delphine Software International CIN
    D  dss             Digital Speech Standard (DSS)
    DE dts             raw DTS
    D  dtshd           raw DTS-HD
    DE dv              DV (Digital Video)
    D  dv1394          DV1394 A/V grab
    D  dvbsub          raw dvbsub
      E dvd             MPEG-2 PS (DVD VOB)
    D  dxa             DXA
    D  ea              Electronic Arts Multimedia
    D  ea_cdata        Electronic Arts cdata
    DE eac3            raw E-AC-3
    D  epaf            Ensoniq Paris Audio File
    D  exr_pipe        piped exr sequence
    DE f32be           PCM 32-bit floating-point big-endian
    DE f32le           PCM 32-bit floating-point little-endian
      E f4v             F4V Adobe Flash Video
    DE f64be           PCM 64-bit floating-point big-endian
    DE f64le           PCM 64-bit floating-point little-endian
    DE fbdev           Linux framebuffer
    DE ffm             FFM (FFserver live feed)
    DE ffmetadata      FFmpeg metadata in text
    D  film_cpk        Sega FILM / CPK
    DE filmstrip       Adobe Filmstrip
    DE flac            raw FLAC
    D  flic            FLI/FLC/FLX animation
    DE flv             FLV (Flash Video)
      E framecrc        framecrc testing
      E framemd5        Per-frame MD5 testing
    D  frm             Megalux Frame
    D  fsb             FMOD Sample Bank
    DE g722            raw G.722
    DE g723_1          raw G.723.1
    D  g729            G.729 raw format demuxer
    D  genh            GENeric Header
    DE gif             GIF Animation
    D  gsm             raw GSM
    DE gxf             GXF (General eXchange Format)
    DE h261            raw H.261
    DE h263            raw H.263
    DE h264            raw H.264 video
      E hds             HDS Muxer
    DE hevc            raw HEVC video
      E hls             Apple HTTP Live Streaming
    D  hls,applehttp   Apple HTTP Live Streaming
    D  hnm             Cryo HNM v4
    DE ico             Microsoft Windows ICO
    D  idcin           id Cinematic
    D  idf             iCE Draw File
    D  iff             IFF (Interchange File Format)
    DE ilbc            iLBC storage
    DE image2          image2 sequence
    DE image2pipe      piped image2 sequence
    D  ingenient       raw Ingenient MJPEG
    D  ipmovie         Interplay MVE
      E ipod            iPod H.264 MP4 (MPEG-4 Part 14)
    DE ircam           Berkeley/IRCAM/CARL Sound Format
      E ismv            ISMV/ISMA (Smooth Streaming)
    D  iss             Funcom ISS
    D  iv8             IndigoVision 8000 video
    DE ivf             On2 IVF
    D  ivr             IVR (Internet Video Recording)
    D  j2k_pipe        piped j2k sequence
    DE jacosub         JACOsub subtitle format
    D  jpeg_pipe       piped jpeg sequence
    D  jpegls_pipe     piped jpegls sequence
    D  jv              Bitmap Brothers JV
      E latm            LOAS/LATM
    D  lavfi           Libavfilter virtual input device
    D  live_flv        live RTMP FLV (Flash Video)
    D  lmlm4           raw lmlm4
    D  loas            LOAS AudioSyncStream
    DE lrc             LRC lyrics
    D  lvf             LVF
    D  lxf             VR native stream (LXF)
    DE m4v             raw MPEG-4 video
      E matroska        Matroska
    D  matroska,webm   Matroska / WebM
      E md5             MD5 testing
    D  mgsts           Metal Gear Solid: The Twin Snakes
    DE microdvd        MicroDVD subtitle format
    DE mjpeg           raw MJPEG video
      E mkvtimestamp_v2 extract pts as timecode v2 format, as defined by mkvtoolnix
    DE mlp             raw MLP
    D  mlv             Magic Lantern Video (MLV)
    D  mm              American Laser Games MM
    DE mmf             Yamaha SMAF
      E mov             QuickTime / MOV
    D  mov,mp4,m4a,3gp,3g2,mj2 QuickTime / MOV
      E mp2             MP2 (MPEG audio layer 2)
    DE mp3             MP3 (MPEG audio layer 3)
      E mp4             MP4 (MPEG-4 Part 14)
    D  mpc             Musepack
    D  mpc8            Musepack SV8
    DE mpeg            MPEG-1 Systems / MPEG program stream
      E mpeg1video      raw MPEG-1 video
      E mpeg2video      raw MPEG-2 video
    DE mpegts          MPEG-TS (MPEG-2 Transport Stream)
    D  mpegtsraw       raw MPEG-TS (MPEG-2 Transport Stream)
    D  mpegvideo       raw MPEG video
    DE mpjpeg          MIME multipart JPEG
    D  mpl2            MPL2 subtitles
    D  mpsub           MPlayer subtitles
    D  msf             Sony PS3 MSF
    D  msnwctcp        MSN TCP Webcam stream
    D  mtv             MTV
    DE mulaw           PCM mu-law
    D  mv              Silicon Graphics Movie
    D  mvi             Motion Pixels MVI
    DE mxf             MXF (Material eXchange Format)
      E mxf_d10         MXF (Material eXchange Format) D-10 Mapping
      E mxf_opatom      MXF (Material eXchange Format) Operational Pattern Atom
    D  mxg             MxPEG clip
    D  nc              NC camera feed
    D  nistsphere      NIST SPeech HEader REsources
    D  nsv             Nullsoft Streaming Video
      E null            raw null video
    DE nut             NUT
    D  nuv             NuppelVideo
      E oga             Ogg Audio
    DE ogg             Ogg
    DE oma             Sony OpenMG audio
      E opus            Ogg Opus
    DE oss             OSS (Open Sound System) playback
    D  paf             Amazing Studio Packed Animation File
    D  pictor_pipe     piped pictor sequence
    D  pjs             PJS (Phoenix Japanimation Society) subtitles
    D  pmp             Playstation Portable PMP
    D  png_pipe        piped png sequence
      E psp             PSP MP4 (MPEG-4 Part 14)
    D  psxstr          Sony Playstation STR
    D  pva             TechnoTrend PVA
    D  pvf             PVF (Portable Voice Format)
    D  qcp             QCP
    D  qdraw_pipe      piped qdraw sequence
    D  r3d             REDCODE R3D
    DE rawvideo        raw video
    D  realtext        RealText subtitle format
    D  redspark        RedSpark
    D  rl2             RL2
    DE rm              RealMedia
    DE roq             raw id RoQ
    D  rpl             RPL / ARMovie
    D  rsd             GameCube RSD
    DE rso             Lego Mindstorms RSO
    DE rtp             RTP output
      E rtp_mpegts      RTP/mpegts output format
    DE rtsp            RTSP output
    DE s16be           PCM signed 16-bit big-endian
    DE s16le           PCM signed 16-bit little-endian
    DE s24be           PCM signed 24-bit big-endian
    DE s24le           PCM signed 24-bit little-endian
    DE s32be           PCM signed 32-bit big-endian
    DE s32le           PCM signed 32-bit little-endian
    DE s8              PCM signed 8-bit
    D  sami            SAMI subtitle format
    DE sap             SAP output
    D  sbg             SBaGen binaural beats script
    D  sdp             SDP
    D  sdr2            SDR2
      E segment         segment
    D  sgi_pipe        piped sgi sequence
    D  shn             raw Shorten
    D  siff            Beam Software SIFF
      E singlejpeg      JPEG single image
    D  sln             Asterisk raw pcm
    DE smjpeg          Loki SDL MJPEG
    D  smk             Smacker
      E smoothstreaming Smooth Streaming Muxer
    D  smush           LucasArts Smush
    D  sol             Sierra SOL
    DE sox             SoX native
    DE spdif           IEC 61937 (used on S/PDIF - IEC958)
      E spx             Ogg Speex
    DE srt             SubRip subtitle
    D  stl             Spruce subtitle format
      E stream_segment,ssegment streaming segment muxer
    D  subviewer       SubViewer subtitle format
    D  subviewer1      SubViewer v1 subtitle format
    D  sunrast_pipe    piped sunrast sequence
    D  sup             raw HDMV Presentation Graphic Stream subtitles
    D  svag            Konami PS2 SVAG
      E svcd            MPEG-2 PS (SVCD)
    DE swf             SWF (ShockWave Flash)
    D  tak             raw TAK
    D  tedcaptions     TED Talks captions
      E tee             Multiple muxer tee
    D  thp             THP
    D  tiertexseq      Tiertex Limited SEQ
    D  tiff_pipe       piped tiff sequence
    D  tmv             8088flex TMV
    DE truehd          raw TrueHD
    D  tta             TTA (True Audio)
    D  tty             Tele-typewriter
    D  txd             Renderware TeXture Dictionary
    DE u16be           PCM unsigned 16-bit big-endian
    DE u16le           PCM unsigned 16-bit little-endian
    DE u24be           PCM unsigned 24-bit big-endian
    DE u24le           PCM unsigned 24-bit little-endian
    DE u32be           PCM unsigned 32-bit big-endian
    DE u32le           PCM unsigned 32-bit little-endian
    DE u8              PCM unsigned 8-bit
      E uncodedframecrc uncoded framecrc testing
    D  v210            Uncompressed 4:2:2 10-bit
    D  v210x           Uncompressed 4:2:2 10-bit
      E v4l2            Video4Linux2 output device
    D  vag             Sony PS2 VAG
    DE vc1             raw VC-1 video
    DE vc1test         VC-1 test bitstream
      E vcd             MPEG-1 Systems / MPEG program stream (VCD)
    D  video4linux2,v4l2 Video4Linux2 device grab
    D  vivo            Vivo
    D  vmd             Sierra VMD
      E vob             MPEG-2 PS (VOB)
    D  vobsub          VobSub subtitle format
    DE voc             Creative Voice
    D  vpk             Sony PS2 VPK
    D  vplayer         VPlayer subtitles
    D  vqf             Nippon Telegraph and Telephone Corporation (NTT) TwinVQ
    DE w64             Sony Wave64
    DE wav             WAV / WAVE (Waveform Audio)
    D  wc3movie        Wing Commander III movie
      E webm            WebM
      E webm_chunk      WebM Chunk Muxer
    DE webm_dash_manifest WebM DASH Manifest
      E webp            WebP
    D  webp_pipe       piped webp sequence
    DE webvtt          WebVTT subtitle
    D  wsaud           Westwood Studios audio
    D  wsvqa           Westwood Studios VQA
    DE wtv             Windows Television (WTV)
    DE wv              raw WavPack
    D  wve             Psion 3 audio
    D  x11grab         X11 screen capture, using XCB
    D  xa              Maxis XA
    D  xbin            eXtended BINary text (XBIN)
    D  xmv             Microsoft XMV
    D  xvag            Sony PS3 XVAG
    D  xwma            Microsoft xWMA
    D  yop             Psygnosis YOP
    DE yuv4mpegpipe    YUV4MPEG pipe
    
    source compile logs
    Code:
    ls -lAhrt /root/centminlogs/ | grep ffmpeg
    -rw-r--r-- 1 root root 465K Jan 13 10:47 centminmod_ffmpeg_install_130116-103641.log
    -rw-r--r-- 1 root root  25K Jan 13 10:53 centminmod_ffmpeg_phpext_install_130116-105351.log
    source compile times so approximately 645+4 = <650 seconds all up :)
    Code:
    tail -1 /root/centminlogs/centminmod_ffmpeg_install_130116-103641.log
    Total FFMPEG Source Compile Install Time: 645.147995824 seconds
    
    tail -1 /root/centminlogs/centminmod_ffmpeg_phpext_install_130116-105351.log
    Total FFMPEG PHP Extension Install Time: 4.022608958 seconds
    Occupied disk space
    Code:
    du -sh /opt/ffmpeg /opt/ffmpeg_sources/
    288M    /opt/ffmpeg
    240M    /opt/ffmpeg_sources/
    Have added the ffmpeg.sh standalone addon installer to Centmin Mod 123.09beta01 branch at addons/ffmpeg.sh add addons/ffmpeg.sh · centminmod/centminmod@4e53947 · GitHub

    Looking to rework centmin.sh menu option 19 so it has submenu support for installing and updating FFMPEG binary and FFMPEG php extension :)

    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.09 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu                  
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2/5.5 & 10.x Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + WP Super Cache
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ]     
     
    Last edited: Jan 13, 2016
  9. eva2000

    eva2000 Administrator Staff Member

    55,796
    12,271
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,857
    Local Time:
    7:33 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    centmin.sh menu option 19 submenus



    Updated Centmin Mod 123.09beta01 and reworked centmin.sh menu option 19 has now been extended with submenu options using addons/ffmpeg.sh addon as basis for the submenu routines :) Thanks goes to @Patrizio for the FFMPEG PHP extension bug fix allowing it to compile against latest FFMPEG versions !

    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and thread below:

    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.09 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu              
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2/5.5 & 10.x Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + WP Super Cache
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 19
    --------------------------------------------------------
    
    Code:
    --------------------------------------------------------
                 FFMPEG Sub-Menu         
    --------------------------------------------------------
    1). Install FFMPEG Binary + FFMPEG PHP extension
    2). Update FFMPEG Binary + FFMPEG PHP extension
    3). Reinstall FFMPEG PHP extension
    4). Back to Main menu
    --------------------------------------------------------
    Enter option [ 1 - 4 ] 
     
    Last edited: Jan 13, 2016
  10. eva2000

    eva2000 Administrator Staff Member

    55,796
    12,271
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,857
    Local Time:
    7:33 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Just as well latest centmin.sh menu option 19 in centmin mod 123.09beta01 compiles FFMPEG from github latest source instead of stable Zero-Day FFmpeg Vulnerability Lets Anyone Steal Files from Remote Machines

    FS#47738 : [ffmpeg] rebuild without network support until the vulnerability is fixed
    Опасное видео: как я нашёл уязвимость в видеохостингах и не умер через 7 дней / Блог компании Mail.Ru Group / Хабрахабр translated
    But not entirely sure if FFMPEG master has the fixes Commits · FFmpeg/FFmpeg · GitHub ?
     
    Last edited: Jan 14, 2016
  11. eva2000

    eva2000 Administrator Staff Member

    55,796
    12,271
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,857
    Local Time:
    7:33 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Just updated Centmin Mod 123.09beta01 to install ffmpeg with --disable-network out of the box update addons/ffmpeg.sh and centmin.sh menu option 19 · centminmod/centminmod@71282f2 · GitHub. Work around security vulnerability in FFMPEG https://community.centminmod.com/posts/24071/

    Compile ffmpeg binary with --disable-network by default when DISABLE_NETWORKFFMPEG='y' variable is set in ffmpeg.sh. If set to n it will re-enable network support in ffmpeg

     
  12. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    5:33 PM
    Mainline
    10.2
  13. eva2000

    eva2000 Administrator Staff Member

    55,796
    12,271
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,857
    Local Time:
    7:33 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    You'd have to wait for FFmpeg authors to release a patched/fixed update i believe. Guess it's times like this that source compiles are more flexible :)

    static 2.8.4 version configured flags - network is enabled by default
     
  14. eva2000

    eva2000 Administrator Staff Member

    55,796
    12,271
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,857
    Local Time:
    7:33 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    FYI @RoldanLT if you installed Centmin Mod 123.09beta01 latest and use centmin.sh menu option 19 submenu option 1 to install FFMPEG via source it won't interfere with FFMPEG yum packages or static FFMPEG usage as source compile installs ffmpeg binary to /opt/bin/ffmpeg so all you need to do is update your web app settings to point to ffmpeg binary path at /opt/bin/ffmpeg AFAIK.
     
  15. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    5:33 PM
    Mainline
    10.2
    No I don't :D
    I'm still using the single static build.
     
  16. eva2000

    eva2000 Administrator Staff Member

    55,796
    12,271
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,857
    Local Time:
    7:33 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    i mean even if you use static build, you can run ffmpeg install via centmin.sh menu option 19 for 123.09beta01 and for non 123.09beta01 users, just grab the 123.09beta01 addon/ffmpeg.sh file and run it standalone :)
     
  17. Patrizio

    Patrizio New Member

    6
    4
    3
    Jan 13, 2016
    Ratings:
    +6
    Local Time:
    11:33 AM
  18. eva2000

    eva2000 Administrator Staff Member

    55,796
    12,271
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,857
    Local Time:
    7:33 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    indeed and perfect timing with the recent FFMPEG security vulnerability and the need to compile FFMPEG php extension against latest FFMPEG source :D
     
  19. Patrizio

    Patrizio New Member

    6
    4
    3
    Jan 13, 2016
    Ratings:
    +6
    Local Time:
    11:33 AM
    makes me even more happy :)
    ...because I'm about to discover that I didn't really need ffmpeg-php for what I was working on :D the documentation was just deprecated :)
     
  20. eva2000

    eva2000 Administrator Staff Member

    55,796
    12,271
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,857
    Local Time:
    7:33 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    haha so you only needed FFMPEG static build ? either way glad you worked your magic on ffmpeg-php - who knows how long that long overdue bug would of stood for :)