Re: Qui sait à quoi ça sert ? (cf lien)
Bulot Grégory a écrit :
http://ffmpeg-php.sourceforge.net/
On me demande d'installer cela, mais je sais pas à quoi ça sert (c'est
mal !!).
C'est expliqué sur la page que tu donnes:
ffmpeg-php is an extension for PHP that adds an easy to use, object-oriented API
for accessing and retrieving information from video and audio files. It has
methods for returning frames from movie files as images that can be manipulated
using PHP's image functions. This works well for automatically creating
thumbnail images from movies. ffmpeg-php is also useful for reporting the
duration and bitrate of audio files (mp3, wma...). ffmpeg-php can access many of
the video formats supported by ffmpeg (mov, avi, mpg, wmv...)
A priori cela utilise ffmpeg.so, j'ai donc installé les avifile (apt-get
install libavifile-0.7c102) j'ai copié /usr/lib/avifile-0.7/ffmpeg.so
-> /usr/lib/php4/20020429/.
apt-get install ffmpeg est pas plus approprié ?
Tout est expliqué sur la page
Requirements
* ffmpeg-0.4.9_pre1 or higher.
* php-4.3.0 or higher
* gd-2.0 or higher (the version of GD bundled with PHP works too)
Installation
Building as a Shared Library
etc...
Daniel
Reply to: