WebFaction
Community site: login faq

how to install MENCODER and FFMPEG on webfaction server and what will be the path ?

asked 30 Nov '13, 07:41

sameer
111
accept rate: 0%


FFmpeg is already installed on the server:

$ which ffmpeg
    /usr/bin/ffmpeg

$ ffmpeg
ffmpeg version 0.10.6 Copyright (c) 2000-2012 the FFmpeg developers
    built on Feb  4 2013 12:45:33 with gcc 4.4.6 20120305 (Red Hat 4.4.6-4)
    configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
    libavutil      51. 35.100 / 51. 35.100
    libavcodec     53. 61.100 / 53. 61.100
    libavformat    53. 32.100 / 53. 32.100
    libavdevice    53.  4.100 / 53.  4.100
    libavfilter     2. 61.100 /  2. 61.100
    libswscale      2.  1.100 /  2.  1.100
    libswresample   0.  6.100 /  0.  6.100
    libpostproc    52.  0.100 / 52.  0.100

Mencoder is not installed and you would need to build from source in your account.

permanent link

answered 30 Nov '13, 08:38

timg ♦♦
1.3k4
accept rate: 30%

what is FFmpeg path. what should i need to put in my cms system

(03 Dec '13, 10:59) sameer

'/usr/bin/ffmpeg', as shown above

(03 Dec '13, 19:20) ryans ♦♦

about mencoder ? is there is any complete guide about this.

(04 Dec '13, 06:05) sameer

See my other answer on this page.

(04 Dec '13, 16:37) likebike

what is FFmpeg path. what should i need to put in my cms system

permanent link

answered 03 Dec '13, 10:58

sameer
111
accept rate: 0%

It is really easy to install mencoder at WebFaction. You just need to build it from source.

Here is a summary of the commands I ran to install it in my home directory:

Step 1: install YASM:

mkdir -p ~/mplayer/.src
cd ~/mplayer/.src
wget 'http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz'
tar xf yasm-1.2.0.tar.gz
cd yasm-1.2.0
./configure --prefix=$HOME/mplayer
make
make install

Step 2: Incorporate YASM into the environment:

echo 'export PATH="$HOME/mplayer/bin:$PATH"' >> ~/.bashrc
echo 'export CFLAGS="-I$HOME/mplayer/include:$CFLAGS"' >> ~/.bashrc
echo 'export LDFLAGS="-I$HOME/mplayer/lib:$LDFLAGS"' >> ~/.bashrc
echo 'export LD_LIBRARY_PATH="-I$HOME/mplayer/lib:$LD_LIBRARY_PATH"' >> ~/.bashrc
bash

Step 3: Install MPlayer/MEncoder:

cd ~/mplayer/.src
wget 'http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.1.1.tar.xz'
tar xf MPlayer-1.1.1.tar.xz
cd MPlayer-1.1.1
./configure --prefix=$HOME/mplayer
make
make install

After that, you'll be able to run mencoder.

Regards,

~Christopher S, WebFaction Support

permanent link

answered 04 Dec '13, 16:36

likebike
3366
accept rate: 28%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×16
×9
×5
×1

question asked: 30 Nov '13, 07:41

question was seen: 3,432 times

last updated: 04 Dec '13, 16:37

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM