Most of this software is potentially patent encumbered and therefore will not be included in the default official Fedora repositories. Please read this wiki page for more information: fedoraproject.org/wiki...dden_items
You can either purchase the codecs from Fluendo, or install them from RPMFusion. Note that using patented software even from RPMFusion may be illegal in locations where software patents apply. (The order in which these two solutions are given does not imply preference)
Option I - Using RPM Fusion (Free & Non-Free) repositories:
- Set up the repositories (using method A or B described below)
A.) Click on the links below:
Fedora 23 - RPMFusion Free
Fedora 23 - RPMFusion Non-free
Fedora 24 - RPMFusion Free
Fedora 24 - RPMFusion Non-free
Fedora rawhide RPMFusion Free
Fedora rawhide RPMFusion Non-free
Fedora 25 an above -> see comment note in section 2 - Install the required packages
Or B), use the following terminal commands (valid for any of the above Fedora releases):
free:
1. su
2. dnf install download1.rpmfusion.or...ease-$(rpm -E %fedora).noarch.rpm
nonfree:
1. su
2. dnf install download1.rpmfusion.or...ease-$(rpm -E %fedora).noarch.rpm
free and non-free:
1. su -c 'dnf install download1.rpmfusion.or...ease-$(rpm -E %fedora).noarch.rpm download1.rpmfusion.or...ease-$(rpm -E %fedora).noarch.rpm'
2. Install the required packages
After you have the repositories set up, gnome-software/packagekit should pop up a dialogue asking you to install the required plugins when you try to run your video/audio for the first time.
Or, you can just use the terminal and install everything at once as given below - not all of these packages will be needed by all applications, but it's good to just install them all at once: If you are using GNOME:
1. su
2. dnf install gstreamer{1,}-{ffmpeg,libav,plugins-{good,ugly,bad{,-free,-nonfree}}} --setopt=strict=0
If you are using KDE, you might prefer xine instead of Gstreamer:
1. su
2. dnf install xine-lib* k3b-extras-freeworld
If you also plan to listen to internet radio streams via rhythmbox for example, you need a few more packages:
1. su
2. dnf install gstreamer{1,}-{plugin-crystalhd,ffmpeg,plugins-{good,ugly,bad{,-free,-nonfree,-freeworld,-extras}{,-extras}}} libmpg123 lame-libs --setopt=strict=0
Fedora 25 and beyond
NOTE : MP3 SUPPORT NOW COMING TO FEDORA WORKSTATION 25, see more mp3-support-now-coming-to-fedora-workstation-25 and full-mp3-support-coming-soon-to-fedora.
Who wants to put in place the packets of RPMFusion prefer to Fedora's support for MP3, the conversion in a simple way.
First, the package can be uninstalled RPMFusion must gstreamer1-plugins-ugly, if this is installed:
su -c 'dnf remove gstreamer1-plugins-ugly '
Next, you need to install only the packages gstreamer1-plugin-mpg123 and mpg123-libs. Once the packages have ended up in the official Fedora repositories, this is possible with the following command:
su -c 'dnf install gstreamer1-plugin-mpg123 mpg123-libs'
VLC player is the swiss army that plays most formats and is a nice application to have installed:
1. su
2. dnf install vlc ...
(more)
link Comments
You also need to install the gstreamer1-* packages now. Totem and most of gnome has moved to gstreamer1.
FranciscoD_ (Apr 6 '13)
1
Thanx much for this tip.
hawkfeather (Apr 23 '13)
Instead of installing GStreamer, you can also install a player which does not need GStreamer like MPlayer or VLC.
lkiesow (Jul 21 '13)
Just a note - there is no package called xine-lib-extras-freeworld. At least I wasn't able to find it.
hawkfeather (Oct 8 '14)
1
These instructions worked for me! I am now able to play DVD movies using my DVD drive under Fedora 20. I am using vlc. Be certain to pick the appropriate source directory for your movie disk location (e.g., /dev/dvd. /dev/sr0, etc.) after launching vlc, then selecting "Open Disk" to define the source path.
swizzletik (Oct 16 '14)
_________________ 上一次由三叔于2046-12-26 9:18am修改,总共修改了11次
|
|
|