2010年1月5日 星期二

安裝Gstreamer

using-moblin-live-image
Submitted by barky



Here's what you need to do...

Build gstreamer modules
-----------------------

get the gstreamer packages: from http://gstreamer.freedesktop.org/src/

from the gst-ffmpeg directory get gst-ffmpeg-0.10.9.tar.bz2 extract to Download directory
from the gst-plugins-bad directory get gst-plugins-bad-0.10.16.tar.bz2 extract to Download directory
from the gst-plugins-base directory get gst-plugins-base-0.10.25.tar.bz2 extract to Download directory
from the gst-plugins-good directory get gst-plugins-good-0.10.16.tar.bz2 extract to Download directory
from the gst-plugins-ugly directory get gst-plugins-ugly-0.10.13.tar.bz2 extract to Download directory
from the gstreamer directory get gstreamer-0.10.25.tar.bz2 extract to Download directory

Install build dependent packages:

yum install gcc bison flex *glib* *diff* liboil*dev*

Build the modules in this order:

cd ./gstreamer-0.10.25
./configure -prefix=/usr && make && sudo make install

cd ../gst-plugins-base-0.10.25
./configure -prefix=/usr && make && sudo make install

cd ../gst-plugins-good-0.10.17
./configure -prefix=/usr && make && sudo make install

cd ../gst-plugins-bad-0.10.17
./configure -prefix=/usr && make && sudo make install

cd ../gst-plugins-ugly-0.10.13
./configure -prefix=/usr && make && sudo make install

cd ../gst-ffmpeg-0.10.9
./configure -prefix=/usr && make && sudo make install

reboot just to be safe!

Enjoy!

沒有留言: