Apache2.2.3を実行しているCentOS5サーバーでphp5.1.6を実行しています。
私はffmpegライブラリをインストールしました。私の目的は、画像の交換ごとにフェードイン/フェードアウト効果を使用して、一連の画像をスライドショーに変換することです。
コマンドffmpegは言う:
`FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
built on Sep 12 2011 03:37:39 with gcc 4.1.2 20080704 (Red Hat 4.1.2-50)
configuration:
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
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'
およびコマンドffmpeg-filtersは次のように出力します。
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
built on Sep 12 2011 03:37:39 with gcc 4.1.2 20080704 (Red Hat 4.1.2-50)
configuration:
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
Filters:
anull Pass the source unchanged to the output.
anullsrc Null audio source, never return audio frames.
anullsink Do absolutely nothing with the input audio.
copy Copy the input video unchanged to the output.
crop Crop the input video to width:height:x:y.
drawbox Draw a colored box on the input video.
fifo Buffer input images and send them when they are requested.
format Convert the input video to one of the specified pixel formats.
gradfun Debands video quickly using gradients.
hflip Horizontally flip the input video.
noformat Force libavfilter not to use any of the specified pixel formats for the input to the next filter.
null Pass the source unchanged to the output.
overlay Overlay a video source on top of the input.
pad Pad input image to width:height[:x:y[:color]] (default x and y: 0, default color: black).
pixdesctest Test pixel format definitions.
scale Scale the input video to width:height size and/or convert the image format.
setdar Set the frame display aspect ratio.
setpts Set PTS for the output video frame.
setsar Set the pixel sample aspect ratio.
settb Set timebase for the output link.
slicify Pass the images of input video on to next video filter as multiple slices.
transpose Transpose input video.
unsharp Sharpen or blur the input video.
vflip Flip the input video vertically.
buffer Buffer video frames, and make them accessible to the filterchain.
color Provide an uniformly colored input, syntax is: [color[:size[:rate]]]
nullsrc Null video source, never return images.
nullsink Do absolutely nothing with the input video.`
まず、エラーが発生したため、ffmpegにフェードフィルターがありませんでした
fade: filter not found
そこで、vf_fade.cを作成したパッチをインストールし、ffmpegのディレクトリlibavfiltersのMakefileとallfilters.cファイルに対応する変更を加えました。再度構成してから、コマンド「make」および「makeinstall」も実行しました。サーバーを再起動しましたが、同じエラーが表示されます。
fade: filter not found
次に何をすべきですか?さらに詳細が必要な場合は、お問い合わせください。すべてのヘルプ、アイデア、リンクをいただければ幸いです。