1. Add RPMfusion repository:
Table of Contents
2. Install MPlayer and MEncoder
# dnf install mplayer mencoder
3. Get codecs
Most of the time, you will do not need to manually download codecs. If you find some files that can not be played by mplayer, you may try to download some codecs.
Download a codecs such as all-20100303.tar.bz2. Then you can extract the package and store the files to a location that mplayer/mencoder will search for.
# tar xf all-20100303.tar.bz2 # mkdir -p /usr/local/lib/codecs/ # mv all-20100303/* /usr/local/lib/codecs/
4. Enjoy it!
5. Play rmvb files
If there is no video or mplayer crashes when playing .rmvb files, you need to install libstdc++ libraries:
# yum install libstdc++ compat-libstdc++-33 compat-libstdc++-296
Then try using mplay to play rmvb files again. It should work now.
More usage of mplayer and mencoder, please check the mplayer/mencoder manual page.