doutang0335 2015-07-24 08:36
浏览 139

在我的wamp apache中安装和使用ffmpeg-php

enter image description herehey there i am developing a video sharing site and i need to change the video format and get its thumbnail etc i know this can be done by ffmpeg-php library.

but i have never used any php lib before . i have successfully installed ffmpeg to my system (laptop) i can check it by typing library ffmpeg -version to my comand prompt it says something like this

  Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

   C:\Windows\system32>ffmpeg -version
  ffmpeg version N-73818-g9ebe041 Copyright (c) 2000-2015 the FFmpeg developers
    built with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --      enable-avis
  ynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable
   -iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --en
 able-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-lib
     ilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable
 -libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enab
    le-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enabl
   e-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc -
     -enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
    libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enabl
   e-decklink --enable-zlib
  libavutil      54. 28.100 / 54. 28.100
  libavcodec     56. 49.101 / 56. 49.101
  libavformat    56. 40.101 / 56. 40.101
 libavdevice    56.  4.100 / 56.  4.100
 libavfilter     5. 25.100 /  5. 25.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100

but i am having problem with accessing the library by my php code i think i have't installed it to my php module

here is what my wamp shows me

  Server Configuration
  Apache Version :
  2.4.9   - Documentation
  PHP Version :
   5.5.12   - Documentation
   Server Software:
    Apache/2.4.9 (Win64) PHP/5.5.12
       Loaded Extensions :
            apache2handlerbcmathbz2calendarcom_dotnetCorectypecurlda
     tedomeregexiffileinfofil[![enter image description here][1]][1]terftpgdgettextgmphashiconvimapjsonlib
      xmlmbstringmcryptmhashmysqlmysqlimysqlndod
      bcopensslpcrePDOpdo_mysqlpdo_sqlitePharReflectio
     nsessionshmopSimpleXMLsoapsocket    sSPLsqlite3standardtokenizerwddxxdebugxmlxmlreaderxmlrpcxmlwriterxslzipzlib
       MySQL Version :
       5.6.17  -  Documentation

if possible please tell me the next step so that i can access the ffmpeg lib from my php code . a little help is also appreciated. 1.please tell me any link availabe to get the ffmpeg-php module and how to installl it 2.how to access the module/lib from my code justa small code example.

THANK YOU.

  • 写回答

0条回答

    报告相同问题?

    悬赏问题

    • ¥60 版本过低apk如何修改可以兼容新的安卓系统
    • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
    • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
    • ¥50 有数据,怎么用matlab求全要素生产率
    • ¥15 TI的insta-spin例程
    • ¥15 完成下列问题完成下列问题
    • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
    • ¥15 YoloV5 第三方库的版本对照问题
    • ¥15 请完成下列相关问题!
    • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?