Compile Mplayer For Using With Video API

From ElphelWiki
Jump to: navigation, search

in English | [[{{{de}}}|deutsch]] | [[{{{fr}}}|français]] | по-русски | автоперевод | 中文版 | 机械翻译

You can take the MPlayer source code from the address:

Also it is necessary to download the source code of LiveMedia:

Compile the LiveMedia code:

$./genMakefiles linux

Next you must configure MPlayer before compilation, by telling it where the LiveMedia Code we just made is located. This command looks like:

$./configure --with-livelibdir=/home/*yourusername+/*path_to_where_you_placed_the_LiveMedia_Files/live --enable-live

Now compile:


If the compilation completes without errors, the executable files mplayer and mencoder will be created in the current directory. You can install MPlayer and all users will be able to use it (you must have root privileges for this operation):

#make install