���� ���ö����ͧ

ffmpeg + mplayer + mencoder + flvtool2

ffmpeg + mplayer + mencoder + flvtool2

1. Install FFmpeg
http://ffmpeg.sourceforge.net/

# svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpegsvn checkout
# cd ffmpeg
# ./configure –enable-gpl –enable-mp3lame –enable-shared –prefix=/usr
# make
# make install

2. install mplayer + mencoder
http://www.mplayerhq.hu/design7/dload.html

หรือ #svn://svn.mplayerhq.hu/mplayer/trunk mplayer
# tar -xfz MPlayer-1.0rc1.tar.bz2
#cd MPlayer-1.0rc1
# ./configure
# make
# make install

3. install flvtool2

http://www.inlet-media.de/flvtool2

#tar xfz flvtool2-1.0.6.tgz
#cd flvtool2-1.0.6
# ruby setup.rb config
# ruby setup.rb setup
# sudo ruby setup.rb install

แล้วก็ whereis ดูครับว่าแต่ล่ะตัวมันอยู่พาทไหนก็ก๊อบไปวางครับ เช่น

$config['ffmpeg']?= ‘/usr/bin/ffmpeg’;
$config['mplayer'] = ‘/usr/local/bin/mplayer’;
$config['mencoder'] = ‘/usr/local/bin/mencoder’;
$config['metainject'] = ‘/usr/bin/flvtool2′;

ผมล่ะนั่งปวดหัวก่ะมันมาสามวัน (ลงครั้งแรก) ส่วนครั้งที่สองประมาณครึ่งวัน ถ้าจะมีครั้งที่สามอีกคง ครึ่งชม. อิอิ ไปดูวิธีลงที่เครื่อง Centos ได้ที่นี่ครับ Centos

Bookmark and Share

Related Posts

You can leave a response, or trackback from your own site.

5 Responses to “ffmpeg + mplayer + mencoder + flvtool2”

  1. gooogolf says:

    wow ขอบคุณครับ
    เดี๋ยวเอาไว้ลองมั่งดีกว่า ผมก็ไม่เคยทำ คำสั่ง linux รู้แต่ ls, cd แค่นั้นแหละ 555
    ขอบคุณมากค้าบบ

  2. goo viphard says:

    ทำไม่ได้หวะ

  3. # svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpegsvn checkout

    i think it should be #svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg

  4. sapparod says:

    mencoder กับ ffmpeg ต่างกันอย่างไงจำเป็นไหมต้องลงทั้งสองตัว

Leave a Reply