Ffmpeg for Gallery2

 Why want to install Ffmpeg?In fact is because I packed gallery2 for wanting an ability in the gallery2 to play the vedio and movies and sounds files.

In order to let the ffmpeg support more file formats, we must install the other encodings packages first before installing ffmpeg. I am to use a lazy person installing method, RPM -Uvh.

All of these set packages are supported Fedora Core 6 and can be got in the nether download.

1. support mp3 --Explain

#rpm -Uvh lame-3.97-1.fc6.i386.rpm

2. support ogg vorbis--Explain

# rpm -Uvh libogg-1.1.3-2.fc6.i386.rpm

#rpm -Uvh libvorbis-1.1.2-1.2.1.i386.rpm

4. support xvid--Explain

#rpm -Uvh xvidcore-1.1.0-4.lvn6.i386.rpm

5. support x264--Explain

#rpm -Uvh x264-0.0.0-0.3.20061023.fc6.i386.rpm

6. support mpeg4 (Explain) & aac (Explain)

#rpm -Uvh libfaad2-2.0rc1-51736cl.i386.rpm

#rpm -Uvh faac-1.24-3.fc6.i386.rpm

7. support 3gp--Explain

#rpm -Uvh 3gpwiz-1.3-0.pm.1.noarch.rpm

8. another packages related to ffmpeg

#libid3tag-0.15.1b-3.fc6.i386.rpm

#a52dec-0.7.4-8.fc6.i386.rpm

#gsm-1.0.10-6.fc6.i386.rpm

#imlib2-1.3.0-3.fc6.i386.rpm

9. install ffmpeg

#ffmpeg-0.4.9-0.7.20060918.fc6.i386.rpm

Finally, administer your gallery2's modules and type ffmpeg path(maybe

/usr/bin/ffmpeg) and enable it to work.

Steps be down.^^

Reference website:

http://blog.5ilinux.com/archives/2006/08/ffmpeg.html


為何要安裝Ffmpeg呢?其實是因為我裝了gallery2,為了要能在gallery2上播放影片及影音檔案,如此而已。

為了要讓ffmpeg支援更多的檔案格式,在安裝ffmpeg之前先安裝其他encoding的套件。對了我是用懶人安裝法,RPM。

這些套件全部都是support Fedora Core 6 and 可以在下面的download下載到。

1. 支援 mp3 --說明

#rpm -Uvh lame-3.97-1.fc6.i386.rpm

2. 支援 ogg vorbis--說明

# rpm -Uvh libogg-1.1.3-2.fc6.i386.rpm

#rpm -Uvh libvorbis-1.1.2-1.2.1.i386.rpm

4. 支援 xvid--說明

#rpm -Uvh xvidcore-1.1.0-4.lvn6.i386.rpm

5. 支援 x264--說明

#rpm -Uvh x264-0.0.0-0.3.20061023.fc6.i386.rpm

6. 支援 mpeg4 (說明) & aac (說明)

#rpm -Uvh libfaad2-2.0rc1-51736cl.i386.rpm

#rpm -Uvh faac-1.24-3.fc6.i386.rpm

7. 支援 3gp--說明

#rpm -Uvh 3gpwiz-1.3-0.pm.1.noarch.rpm

8. 其他Ffmpeg的相依性套件

#libid3tag-0.15.1b-3.fc6.i386.rpm

#a52dec-0.7.4-8.fc6.i386.rpm

#gsm-1.0.10-6.fc6.i386.rpm

#imlib2-1.3.0-3.fc6.i386.rpm

9.安裝 ffmpeg

#ffmpeg-0.4.9-0.7.20060918.fc6.i386.rpm

最後進入gallery2的網站管理去設定ffmpeg的路徑(也許是/usr/bin/ffmpeg),然後啟動它。^^

參考網站

http://blog.5ilinux.com/archives/2006/08/ffmpeg.html

0 Responses