Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , ,

Sponsored Links


How to Install mplayer on Fedora Core 12

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 26-12-2010
Member
 
Join Date: Oct 2010
Posts: 54
How to Install mplayer on Fedora Core 12

Sponsored Links
I have just installed the Fedora Core 2 on my new desktop computer system and I have successfully installed many softwares but I am unable to install the mplayer. Though it would be much easier to install it but I don't believe it that it is not working on my fedora after installing. Can you guys tell me that what is the proper way to install mplayer on this operating system.

Reply With Quote
  #2  
Old 26-12-2010
Member
 
Join Date: Jun 2009
Posts: 1,518
Re: How to Install mplayer on Fedora Core 12

Installing MPlayer from source

I will detail the installation from source, because it is one that ensures the best adaptation to the processor and is more generic. That said, there are more and more binary packages (. Rpm. Deb) which require some additional handling, refer to sites that talk about it for more information. To install MPlayer simply type the following lines in a terminal (the small black tv bottom left):

Code:
 $ Tar-xjvf / o_est/mplayer-xxx.tar.bz2 $ cd mplayer-xxxx / $. / Configure - prefix = / usr - datadir = / usr / share / mplayer - confdir = / etc / mplayer - enable-gui - enable-largefiles - enable-menu - enable-shared-pp - enable-dynamic-plugins - enable-real - enable-freetype - language = en - with-codecsdir = / usr / lib / codecs - with-xvidlibdir = / path / to / libxvidcore.a - with-xvidincdir = / path / to / xvid.h
If you have a Matrox card, add: - enable-mga If you have a 3dfx card, add: - enable-3dfx - enable-tdfxfb If you have a RedHat 7.x or 8.x Mandriva, add: - -disable-gcc-ckecking If you use devfs, add: - enable-linux-devfs If you use KDE, add: - enable-arts At the end of sets you'll need something like:
Code:
Successfully generated by config files. / Configure!  Install prefix: / usr Data directory: / usr / share / mplayer Config direct. / Etc / mplayer Byte order: Little Endian Optimizing for: athlon-tbird mmx 3dnow mmx2 3dnowex mtrr Enabled optional drivers: Input: streaming tv edl cdda vcd mpdvdkit2 Codecs: xvid libdv libavcodec qtx real dshow / dmo win32 libvorbis libmad gif Audio output: esd oss sdl alsa9 mpegpes (file) Video output: sdl vesa xvidix gif89a jpeg png mpegpes (file) fbdev svga aa opengl dga xv xmga mga x11 Disabled optional drivers : Input: tv-v4l tv-dvdnav dvdread bsdbt848 dvdcss Codecs: OpenDivX xanim liblzo Audio output: sgi sun Arts dxr2 nas win32 Video output: bl zr dxr3 dxr2 directx ggi directfb tdfxfb 3dfx
As you read, the executable (mplayer) will be in / usr / bin / pay and codecs: qtx, xvid libdv, libavcodec, real, dshow / dmo, win32, libvorbis, libmad, gif. Mplayer support for a codec, you must install it before, note that the essential are win32 and libavcodec. Also take a look at the video output for use mplayer comfortably in graphical mode, you need at least one of the 2 fat (xv and sdl), but the 2 is good too. Compile it with:
Code:
  $ Make all
If you have a Matrox, type also:
Code:
  Drivers $ cd / $ make all $ cd ..
For all, install it with:
Code:
 $ Su # make install # cd etc / # cp codecs.conf example.conf input.conf menu.conf / etc / mplayer / # chmod 644 / etc / mplayer / * # cd ..  # Cp Gui / mplayer / pixmaps / logo.xpm / usr / share / pixmaps / mplayer.xpm
If you have a Matrox, type also:
Code:
 # Cp drivers / mga_vid.o / lib / modules / uname-r / kernel / drivers / char / # depmod-a &> / dev / null
If you have at least a 2.4.19 kernel (uname-r to know), you can type:

Code:
# Echo "1024"> / proc / sys / dev / rtc / max-user-freq
Always if you have at least a 2.4.19 kernel, add this line in your / etc / rc.d / rc.local. That is installed, it remains only to configure the set for each user. Finally, for some reason, mplayer no longer installs the file / usr / lib / libpostproc.so. If your version of mplayer, install this file, you can skip the following lines. Otherwise type:
Code:
 # Cd libavcodec / libpostproc # make prefix = / usr SHARED_PP = "yes" install
Reply With Quote
  #3  
Old 26-12-2010
sergioKomic's Avatar
Member
 
Join Date: May 2008
Posts: 916
Re: How to Install mplayer on Fedora Core 12

Install mplayer using subversion

Here is the procedure if you want to install the development sources for mplayer. Since their new server, the protocol has been replaced by the cvs protocol subversion. First make sure you have svn installed the tool on your distribution.
Code:
  $ Whereis svn / usr / bin / svn
If the command whereis remains unanswered, use your package manager to install it.

For users of Fedora:
Code:
  # Yum install subversion
Once subversion is installed, go back to your console, but using this time and do this command:
Code:
  $ Svn checkout svn: / / svn.mplayerhq.hu / mplayer / trunk mplayer
A directory named mplayer will be created. It contains the latest sources from the mplayer and the various files Libava * ffmpeg project for compiling. You can then continue the installation by following the procedure of compiling the source stable. If you wish to update your sources, move mplayer folder and run this command:
Code:
  $ Svn update
Reply With Quote
  #4  
Old 26-12-2010
Member
 
Join Date: Nov 2008
Posts: 1,027
Re: How to Install mplayer on Fedora Core 12

Use:
To start mplayer you can type in a terminal: mplayer, or add it to your menus.
To play a video file with the options set in your configuration files, simply type:
Code:
  mplayer / path / file.mpg
If you can not read your files with xv, sdl use, it generally provides better quality but is more resource-intensive:
Code:
 mplayer-vo sdl: x11-nogui / path / file.mpg
To play a realplayer file:
Code:
  mplayer-forceidx / path / file.rm
To play a DVD, you must locate the title with the movie here (5):
Code:
 mplayer-dvd 5-dvd-device / dev / hdc alang = en
To play a DVD with subtitles in French, it must locate the title with the movie, here is the FIML in 5:
Code:
mplayer-dvd 5-dvd-device / dev / hdc slang = en
Some gadgets:
Code:
To switch to full screen press [f] Thus to know the available codecs: mplayer-vc help to test the codec on a file: mplayer-vc nom_codec / path / file.avi Know The video outputs arranged: mplayer - And vo help for test: mplayer-vo nom_sortie_vieo / path / file.avi Knowing the audio outputs arranged: mplayer-ao help and testing: mplayer-ao sortie_audio / path / to / file.avi
Reply With Quote
Reply

  TechArena Community > Software > Windows Software


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to Install mplayer on Fedora Core 12"
Thread Thread Starter Forum Replies Last Post
Install JAVA on Fedora Core Rajnikant-Deva Operating Systems 2 27-12-2010 06:29 AM
Fedora 12 mplayer problem Triple-X Windows Software 5 16-12-2009 09:55 AM
how to install fedora core 11 alpha after windows vista aanchal8 Operating Systems 8 19-07-2009 04:35 PM
installing mplayer in fedora 10 sayanmaji Operating Systems 5 28-05-2009 08:21 AM
Fedora Core 6 or Ubuntu Natalie Operating Systems 3 31-03-2009 11:31 PM


All times are GMT +5.5. The time now is 10:04 AM.