Mplayer How To Install From Yum.
FedoraForum.org - Fedora Support Forums and Community
Page 1 of 7 1 2 3 ... LastLast
Results 1 to 15 of 97
  1. #1
    Join Date
    Feb 2004
    Age
    50
    Posts
    8,255

    Mplayer How To Install From Yum.

    I suggest to read the entire thread so you can understand the process. I will be using atrpms repo to install all the components for mplayer. Do NOT mix with Livna's and freshrpm's. UPDATE: YOU MAY NEED TO INSTALL THE libdc1394_control.so.13 DEPENDENCY FOR FC 4.If you dont have atrpms repo just added to you list.

    UPDATED for fedora core 5

    TIP 1: Disable all the other repos for faster installation and only enable atrmps.

    TIP 2: If you are getting this: Error opening/initializing the selected video_out (-vo)device error when you run mplayer for the first time, open terminal and run this command:
    Code:
     gmplayer -vo x11 -ao oss
    and play your file. REMEMBER this only applies after installing mplayer and codecs.
    Open terminal, become root and run:
    Code:
    gedit /etc/yum.repos.d/atrpms.repo
    and add these lines:
    [atrpms]
    name=Fedora Core $releasever - $basearch - ATrpms
    baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/stable
    enabled=1
    gpgcheck=1
    and click on SAVE.

    Import the key: IF, for any reason you dont want to use atrpms repositories you can also use freshrpms for the installation. For fedora core 5 users just run:
    Code:
    rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/5/freshrpms-
    release/freshrpms-release-1.1-1.fc.noarch.rpm

    Run these commands to install all mplayer components including the browser's plug-in via yum:
    Code:
    yum install mplayer mplayer-skins mplayer-fonts mplayerplug-in mplayer-gui


    You can also get mplayer plugin from mplayer site. Just donwload it.

    Transaction Listing:
    Install: mplayer.i386 4:1.0-44_pre7.rhfc3.at - atrpms-stable

    Performing the following to resolve dependencies:
    Install: ffmpeg.i386 0:0.4.9-7_cvs20050418.rhfc3.at - atrpms-stable
    Install: imlib2.i386 0:1.2.0-7.fc3 - extras
    Install: libdc1394.i386 0:1.0.0-3.rhfc3.at - atrpms-stable
    Install: libdvdread.i386 0:0.9.4-3_1.rhfc3.at - atrpms-stable
    Install: libraw1394_8.i386 0:1.2.0-0_5.rhfc3.at - atrpms-stable
    Install: lzo.i386 0:1.08-2_1.rhfc3.at - atrpms-stable
    Install: mplayer-fonts.noarch 4:1.0-6.at - atrpms-stable
    Install: nvidia-graphics4496-libs.i386 1:1.0_4496-65.1.rhfc3.at - atrpms-stable
    Install: xvidcore.i386 0:1.0.3-0.lvn.1.3 - livna-stable
    Update: xorg-x11.i386 0:6.8.2-1.FC3.13_2.rhfc3.at - atrpms-stable
    Update: xorg-x11-deprecated-libs.i386 0:6.8.2-1.FC3.13_2.rhfc3.at - atrpms-stable
    Update: xorg-x11-deprecated-libs-devel.i386 0:6.8.2-1.FC3.13_2.rhfc3.at - atrpms-stable
    Update: xorg-x11-devel.i386 0:6.8.2-1.FC3.13_2.rhfc3.at - atrpms-stable
    Update: xorg-x11-libs.i386 0:6.8.2-1.FC3.13_2.rhfc3.at - atrpms-stable
    Update: xorg-x11-xfs.i386 0:6.8.2-1.FC3.13_2.rhfc3.at - atrpms-stable
    Total download size: 38 M
    Is this ok [y/N]:
    accept the packages to install by typing "y"
    Make sure everything is installed correlty run:
    Code:
     rpm -qa | grep mplayer
    and this will be your result:

    [imdeemvp@myfc3 ~]$ rpm -qa | grep mplayer
    mplayer-skins-1.0-pre3_12.at
    mplayer-fonts-1.0-6.at
    mplayer-codecs-essential-20040704-1
    mplayerplug-in-2.75-0.FC3
    mplayer-1.0-44_pre7.rhfc3.at
    [imdeemvp@myfc3 ~]$


    If you need the codecs do the following from terminal
    Code:
    $ wget ftp://ftp1.mplayerhq.hu/MPlayer/releases/codecs/essential-20050412.tar.bz2
    $ tar jxvf essential-20050412.tar.bz2
    $ mkdir /usr/lib/win32
    $ cp essential-20050412/* /usr/lib/win32
    You can log out and login again but if you prefer you can reboot (and I know this is not windoz) but sometimes is needed.

    UPDATE to FC 4:
    you will need to edit the /etc/mplayer/mplayer.conf and add this lines so that mplayerplug-in and mplayer can operate properly:
    # Default video output is xvidix, then xv, then try others
    vo=xvidix,xv,
    # Default audio output is alsa, then try others
    ao=alsa,alsa1x,
    [imdeemvp@FC4Laptop ~]$ cat /etc/mplayer/mplayer.conf
    # Default video output is xvidix, then xv, then try others
    vo=xvidix,xv,
    # Default audio output is alsa, then try others
    ao=alsa,alsa1x,
    Please note I am only use freshrpms, livna-stable, and atrmps repos. Freshrpm is down for the moment (5.1.05) so I need to disable livna-stable to only use atrmps and this is the command:
    Code:
    yum --disablerepo=linva-stable install package_name_here
    Maybe I have to make something very clear I dont use repos to keep my system up-to-date JUST to install extra software that we ALL know does not come with fedora. YUM is only to install third party applications not to keep my box updated. That is why my box is trouble free since I installed fc3. Need help with rythmbox, totem, xmms, go HERE.

    See screenshots and the entire terminal procedure attached
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	mplayer.png 
Views:	1905 
Size:	477.9 KB 
ID:	4881   Click image for larger version. 

Name:	mplayer001.png 
Views:	1301 
Size:	372.8 KB 
ID:	4882   Click image for larger version. 

Name:	mplayer002.png 
Views:	1240 
Size:	371.8 KB 
ID:	4883   Click image for larger version. 

Name:	mplayer003.png 
Views:	1189 
Size:	506.5 KB 
ID:	4884  
    Attached Files Attached Files
    Last edited by imdeemvp; 4th April 2006 at 07:31 AM.

  2. #2
    PeTzZz is offline Retired Community Manager
    Join Date
    Mar 2004
    Location
    Tartu
    Posts
    1,550
    You should add that there are two compatible groups of repositories and mixing them may lead to conflicts. Those compatible groups are Livna and Fedora Extras (previously named as Fedora.us) as one group and FreshRPMS, DAG, Newrpms, Dries and ATrpms as the other group.

    You may say that you mix them and don't have any problems, but the fact is that they are not compatible and I have seen quite many situations in this forum where mixing not compatible repositories have led to conflicts.


  3. #3
    Join Date
    Feb 2004
    Age
    50
    Posts
    8,255
    Please note I am only use freshrpms, livna-stable, and atrmps repos. Freshrpm is down for the moment (5.1.05) so I need to disable livna-stable to only use atrmps and this is the command:
    Code:

    yum --disablerepo=linva-stable install package_name_here
    did you miss this?

  4. #4
    jim's Avatar
    jim is offline Retired Community Manager & Avid Drinker Of Suds
    Join Date
    Feb 2005
    Location
    Rochester NY
    Age
    44
    Posts
    4,175
    Quote Originally Posted by PeTzZz
    You should add that there are two compatible groups of repositories and mixing them may lead to conflicts. Those compatible groups are Livna and Fedora Extras (previously named as Fedora.us) as one group and FreshRPMS, DAG, Newrpms, Dries and ATrpms as the other group.

    You may say that you mix them and don't have any problems, but the fact is that they are not compatible and I have seen quite many situations in this forum where mixing not compatible repositories have led to conflicts.

    That is a point that I have tried to stress to everyone who has been told to use the yum.conf from fedorafaq.ordg
    I did send a message to the mail provided to make light of the situation. Lets hope that something will be done
    Registered Linux User: #376813
    Western NY
    My linux site
    Smolt Profile

    please remember to say if you problem was solved

    Did you get your id10t award today?

  5. #5
    AndyGreen Guest
    Hum, but what is the right "something" to be done :-( Delete the Dag/Fresh/etc and just have "Official" Extras? That is certainly a reasonable technical solution but it doesn't seem to do the right thing by Dag and the others.

    Maybe you can make an empty yum.conf and then two alternate .repo files, one with all the Dag/Fresh/etc in the one .repo and one with Extras/Livna in the one .repo, and explain to download one file or the other. But while karmically immaculate this is not very "user friendly".

  6. #6
    PeTzZz is offline Retired Community Manager
    Join Date
    Mar 2004
    Location
    Tartu
    Posts
    1,550
    Quote Originally Posted by imdeemvp
    did you miss this?
    No I didn't, but it says nothing about the mixing repository thing to the reader. You say that you use freshrpms, livna-stable and atrmps and then you temporary disable livna to install a package. If you temporary disable a conflicting repository from compatible ones then it does not mean that you may not get compatible problems later. It would be good if methods with both group is explained.


    Quote Originally Posted by fedorajim
    That is a point that I have tried to stress to everyone who has been told to use the yum.conf from fedorafaq.ordg
    I did send a message to the mail provided to make light of the situation. Lets hope that something will be done
    Haven't you read through that yum.conf? It has only extras and livna enabled, others are disabled. After not compatible repositories there is an entry enabled=0. It means that yum does not use that repository.

    Didn't you notice for example this text in that yum.conf:
    Code:
    ############################
    ## Alternate Repositories ##
    ############################
    
    # To use these repos, either use the --enablerepo 
    # command-line argument to yum, or change "enabled=0"
    # to "enabled=1". Note: Some packagesfrom these repositories
    # may conflict with the fedora.us packages. If you use these
    # repositories, you may wish to disable the fedora.us and 
    # livna.org repositories.

    Quote Originally Posted by AndyGreen
    But while karmically immaculate this is not very "user friendly".
    Unfortunately there is no other way at the moment. Actually one reason why fedorafaq uses the yum.conf method is user friendlyness as I have heard.

    ----------------------

    The how-to should be built up so (my view):
    1. Set up yum to use compatible extra repositories, fix any compatible issues.
    2. Use the command yum install mplayer mplayer-gui to install mplayer with it's gui.

    And that's it.

    The first step should actually be another how-to: "How to set up yum repositories the right way" or something similar. So it is good to link to it if you see someone mixing repositories or want to suggest to add extra repositories beside the default one.

    I think I will do that how-to at the end of this week.
    Quote Originally Posted by AndyGreen
    Maybe you can make an empty yum.conf and then two alternate .repo files, one with all the Dag/Fresh/etc in the one .repo and one with Extras/Livna in the one .repo, and explain to download one file or the other.
    I will include something similar in that how-to.


  7. #7
    Join Date
    Feb 2004
    Age
    50
    Posts
    8,255
    Maybe I have to make something very clear I dont use repos to keep my system up-to-date JUST to install extra software that we ALL know does not come with fedora. YUM is only to install third party applications not to keep my box updated.

  8. #8
    AndyGreen Guest
    So how do you keep your box updated, imdeemvp? yum seems the obvious candidate for that job too?

  9. #9
    Join Date
    Feb 2004
    Age
    50
    Posts
    8,255
    Quote Originally Posted by AndyGreen
    So how do you keep your box updated, imdeemvp? yum seems the obvious candidate for that job too?
    Simple, I use up2date. Since I knew about the conflict in fedora core 2 I stopped using yum and started to use up2date (you know the little red icon in the taskbar). It does all the job for me.

  10. #10
    radu.b Guest
    Hello, I tryed the mplayer yum install but I get an missing dependency. why?

    Error: missing dep: libdc1394_control.so.11 for pkg ffmpeg

  11. #11
    jim's Avatar
    jim is offline Retired Community Manager & Avid Drinker Of Suds
    Join Date
    Feb 2005
    Location
    Rochester NY
    Age
    44
    Posts
    4,175
    Quote Originally Posted by radu.b
    Hello, I tryed the mplayer yum install but I get an missing dependency. why?

    Error: missing dep: libdc1394_control.so.11 for pkg ffmpeg

    have you updated the system yet ?


    try
    Code:
    yum install mplayer mplayer-fonts mplayer-skins
    all on one line no sense in installing the packages one at a time when you can install all of them at once
    Registered Linux User: #376813
    Western NY
    My linux site
    Smolt Profile

    please remember to say if you problem was solved

    Did you get your id10t award today?

  12. #12
    Sarnix Guest
    Thanks for the howto, but now i have a problem. Before this howto i could listen to mp3's in xmms, but know i can play them but there is no sound. Do you know what might have caused this and/or how to solve this?

  13. #13
    jim's Avatar
    jim is offline Retired Community Manager & Avid Drinker Of Suds
    Join Date
    Feb 2005
    Location
    Rochester NY
    Age
    44
    Posts
    4,175
    you getting a error message ?
    run xmms from the command line and see if any text is outputted to the terminal

    then copy & paste that to a post here

    make sure in xmms's preferences that the libpm123 (close to that) is still enabled & that all the volume controls didn't get reset
    Registered Linux User: #376813
    Western NY
    My linux site
    Smolt Profile

    please remember to say if you problem was solved

    Did you get your id10t award today?

  14. #14
    Sarnix Guest
    argh, yes all the volume controls did get reset. all muted. i had set them back, but it wasnt saved or something, so i had to do it again. Thanks for your help.

  15. #15
    ah.heng Guest
    --> Finished Dependency Resolution
    Error: missing dep: /boot/vmlinuz-2.6.11-1.14_FC3 for pkg kernel-module-nvidia-2.6.11-1.14_FC3

    i'm getting this error when i do yum install mplayer.

    [root@localhost ~]# rpm -qa | grep mplayer
    mplayerplug-in-2.70-0.lvn.1.3
    mplayer-skins-1.0-pre3_12.at
    mplayer-fonts-1.0-6.at



    i tried earlier and managed to get mplayer installed, but no matter what file it played there was no sound, and there was no GUI either. so i figured i'd uninstall and reinstall everything again following the same steps, and now it seems like mplayer can't even be installed.

Page 1 of 7 1 2 3 ... LastLast

Similar Threads

  1. mplayer (How do i install?)
    By acadaca1 in forum Using Fedora
    Replies: 4
    Last Post: 19th August 2007, 05:12 AM
  2. install Mplayer
    By kruger in forum Fedora Core 5 - Dev
    Replies: 16
    Last Post: 13th June 2007, 05:44 PM
  3. how to install mplayer in FC5
    By Jeremiah.R in forum Using Fedora
    Replies: 1
    Last Post: 24th March 2006, 11:42 AM
  4. Mplayer Install..
    By buckweat420 in forum Using Fedora
    Replies: 5
    Last Post: 30th January 2006, 12:01 AM
  5. Yum install mplayer?
    By s10237 in forum Using Fedora
    Replies: 13
    Last Post: 9th July 2005, 07:20 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •