我怎么知道安装了ffmpeg-php?

时间:2014-07-18 16:40:17

标签: php ffmpeg ffmpeg-php

我只是按照此链接中的说明,了解如何在我的专用服务器上安装ffmpeg-php:http://www.ndchost.com/wiki/server-administration/install-ffmpeg

在底部,它表示运行命令php -i|grep ffmpeg,如果它输出以下行,则安装它:

ffmpegffmpeg support (ffmpeg-php) => enabled
ffmpeg-php version => 0.6.0
ffmpeg.allow_persistent => 0 => 0

当我运行它时,它给了我这个:

ffmpeg
ffmpeg-php version => 0.6.0-svn
ffmpeg-php built on => Jul 18 2014 08:46:12
ffmpeg-php gd support  => enabled
ffmpeg libavcodec version => Lavc52.108.0
ffmpeg libavformat version => Lavf52.93.0
ffmpeg swscaler version => SwS0.12.0
ffmpeg.allow_persistent => 0 => 0
ffmpeg.show_warnings => 0 => 0
PWD => /usr/local/src/ffmpeg-php-0.6.0
_SERVER["PWD"] => /usr/local/src/ffmpeg-php-0.6.0
_ENV["PWD"] => /usr/local/src/ffmpeg-php-0.6.0

我有2/3行,但是那个字符不是同一个字符。

在此上下文中,ffmpegffmpeg support (ffmpeg-php) => enabledffmpegffmpeg support (ffmpeg-php) => enabled相同吗?

编辑: 运行此命令ffmpeg -version可以得到以下结果:

FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 18 2014 08:41:45 with gcc 4.4.7 20120313 (Red Hat 4.4.7-3)
  configuration: --enable-libmp3lame --disable-mmx --enable-shared
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 1 /  0.16. 1
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.93. 0 / 52.93. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.74. 0 /  1.74. 0
  libswscale     0.12. 0 /  0.12. 0
FFmpeg SVN-r26402
libavutil     50.36. 0 / 50.36. 0
libavcore      0.16. 1 /  0.16. 1
libavcodec    52.108. 0 / 52.108. 0
libavformat   52.93. 0 / 52.93. 0
libavdevice   52. 2. 3 / 52. 2. 3
libavfilter    1.74. 0 /  1.74. 0
libswscale     0.12. 0 /  0.12. 0

1 个答案:

答案 0 :(得分:0)

尝试此命令

% ffmpeg -version