<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.bakabt.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Janisozaur</id>
	<title>BakaBT Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.bakabt.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Janisozaur"/>
	<link rel="alternate" type="text/html" href="http://wiki.bakabt.me/index.php?title=Special:Contributions/Janisozaur"/>
	<updated>2026-04-22T05:35:59Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>http://wiki.bakabt.me/index.php?title=Linux_Video_Playback&amp;diff=1895</id>
		<title>Linux Video Playback</title>
		<link rel="alternate" type="text/html" href="http://wiki.bakabt.me/index.php?title=Linux_Video_Playback&amp;diff=1895"/>
		<updated>2009-10-04T10:37:07Z</updated>

		<summary type="html">&lt;p&gt;Janisozaur: added info about gpu accelerated decoding&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the best video playback options for Linux and provides installation instructions.&lt;br /&gt;
&lt;br /&gt;
==List of recommended players==&lt;br /&gt;
;* [http://www.mplayerhq.hu/ MPlayer]&lt;br /&gt;
;* [http://smplayer.sourceforge.net/ SMPlayer]&lt;br /&gt;
==MPlayer==&lt;br /&gt;
===Installing MPlayer===&lt;br /&gt;
Perform the one of the following commands as root, depending on your distribution.&lt;br /&gt;
====Debian based distributions (Includes Ubuntu)====&lt;br /&gt;
 aptitude install mplayer&lt;br /&gt;
=====Ubuntu PPA=====&lt;br /&gt;
Usually the version in ubuntu default repos is pretty old, you might want to check [https://launchpad.net/ubuntu/+ppas PPA] for updated versions.&lt;br /&gt;
====OpenSuse====&lt;br /&gt;
 zypper in mplayer&lt;br /&gt;
&lt;br /&gt;
====Fedora/Red Hat based distributions====&lt;br /&gt;
 yum install mplayer&lt;br /&gt;
====Arch Linux====&lt;br /&gt;
 pacman -S mplayer&lt;br /&gt;
====Gentoo====&lt;br /&gt;
 emerge -ptva mplayer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===MPlayer codecs===&lt;br /&gt;
Not all distributions include the full set of mplayer codecs in their repositories. To install the full set follow these easy steps.&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Download: http://www4.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Extract with: tar xvf all-20071007.tar.bz2&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Copy the codecs (but not the directory) to the MPlayer codec directory. Default is /usr/lib/win32&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Debian/Ubuntu users:&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Visit http://debian-multimedia.org/ and add it as a package repository using the instructions in the red boxes.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. sudo aptitude update &amp;amp;&amp;amp; sudo aptitude install mplayer w32codecs&lt;br /&gt;
====NVidia vdpau====&lt;br /&gt;
If you use nvidia GPU, be sure to install their latest binary drivers, as they offer offloading video decoding from CPU to GPU which provides far smoother playback, especially for h264 video, while keeping CPU usage at vero low level. Check your mplayer configuration to use both vdpau video codec (-vc) and video output (-vo). Type &amp;quot;mplayer -vo help&amp;quot; to list available outputs.&lt;br /&gt;
====ATI====&lt;br /&gt;
The upcoming (as of 2009.10.04) open source driver should provide hardware accelerated video decoding for R600+ based GPUs. This will happen probably sometime around linux 2.6.32 release.&lt;br /&gt;
&lt;br /&gt;
===MPlayer tweaks===&lt;br /&gt;
These are some sample configuration files tailored for specific preferences. The MPlayer configuration file can be found at: (&amp;lt;tt&amp;gt;~/.mplayer/config&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For English audio preference, then Spanish&amp;lt;!--(?? Correct if wrong, delete this part otherwise.)--&amp;gt;, with 4 audio channels for surround sound files. &lt;br /&gt;
 vo=xv&lt;br /&gt;
 ao=alsa&lt;br /&gt;
 channels=4&lt;br /&gt;
 alang=en,es&lt;br /&gt;
&lt;br /&gt;
For Japanese audio preference, subtitles on. SDL A/V output for performence.&lt;br /&gt;
 ao=sdl&lt;br /&gt;
 vo=sdl &lt;br /&gt;
 #Note: SDL video output does not work well with xinerama. Those wishing to watch video on a TV or other display should use &amp;quot;vo=xv&amp;quot;&lt;br /&gt;
 alang=jpn,Japanese &lt;br /&gt;
 #Not all files use the correct tags, so sometimes it will be necessary to switch audio streams manually or from the command line with &amp;quot;-aid x&amp;quot;, where &amp;quot;x&amp;quot;   is the number of the audio stream.&lt;br /&gt;
 sid=0&lt;br /&gt;
 subfont-autoscale=1&lt;br /&gt;
 ass=1&lt;br /&gt;
&lt;br /&gt;
====MPlayer Tricks====&lt;br /&gt;
MPLayer has a huge collection of filters included. Some of them are magical.&lt;br /&gt;
&lt;br /&gt;
* View styled subs, even if you only have plain subs:&lt;br /&gt;
** mplayer -ass -embeddedfonts myvideo.ext&lt;br /&gt;
* View external subs:&lt;br /&gt;
** mplayer -ass -sub mysubs.srt myvideo.ext&lt;br /&gt;
* Play interlaced video without combing:&lt;br /&gt;
** mplayer -vf pullup myvideo.ext&lt;br /&gt;
* Increase saturation and contrast:&lt;br /&gt;
** mplayer -vf eq2=0.8 myvideo.ext&lt;br /&gt;
* Remove &amp;quot;mosquito&amp;quot; noise:&lt;br /&gt;
** mplayer -vf hqdn3d myvideo.ext&lt;br /&gt;
* Make crappy video look good:&lt;br /&gt;
** mplayer -vf pp7 myvideo.ext&lt;br /&gt;
* Combine:&lt;br /&gt;
** mplayer -ass -embeddedfonts -vf pullup,eq2=0.8,unsharp=l3x3:0.2,hqdn3d myvideo.ext&lt;br /&gt;
&lt;br /&gt;
==SMPlayer==&lt;br /&gt;
MPlayer by itself is fine but SMPlayer provides an easy to use interface to MPlayer so it is a better choice for most. It contains a couple of nice features, including autosaving the playback position so you can continue watching your anime the next time you start it (this feature can be disabled of course). SMPlayer is not a player per se, it is just a GUI (QT) frontend for MPlayer, hence you still need MPlayer to actually play video.&lt;br /&gt;
&lt;br /&gt;
===Installing SMPlayer===&lt;br /&gt;
====Debian/Ubuntu====&lt;br /&gt;
If you are using Debian Lenny/Sid or Ubuntu Intrepid Ibex (8.10), then you can simply&lt;br /&gt;
 sudo apt-get install smplayer&lt;br /&gt;
Otherwise, you have 2 options:&lt;br /&gt;
* Download the .deb file from [http://smplayer.sourceforge.net/downloads.php the SMPlayer website] or&lt;br /&gt;
* Add the SMPlayer repository to your /etc/apt/sources.list.&lt;br /&gt;
8.04 (hardy):&lt;br /&gt;
 deb http://ppa.launchpad.net/rvm/ubuntu hardy main&lt;br /&gt;
8.10 (intrepid):&lt;br /&gt;
 deb http://ppa.launchpad.net/rvm/ubuntu intrepid main&lt;br /&gt;
&lt;br /&gt;
====OpenSUSE====&lt;br /&gt;
&amp;lt;!-- I know absolutely nothing about SuSE, so it would be cool if someone who did could fill this in --&amp;gt;&lt;br /&gt;
You can find .rpm&#039;s via [http://software.opensuse.org/search the search page].&lt;br /&gt;
&lt;br /&gt;
====Fedora/RedHat====&lt;br /&gt;
&amp;lt;!-- I didn&#039;t see it in the package search: https://admin.fedoraproject.org/pkgdb/ --&amp;gt;&lt;br /&gt;
Build from source.  See below.&lt;br /&gt;
&lt;br /&gt;
====Arch Linux====&lt;br /&gt;
 pacman -S smplayer&lt;br /&gt;
&lt;br /&gt;
====Gentoo====&lt;br /&gt;
 emerge -ptva smplayer&lt;br /&gt;
&lt;br /&gt;
====Building from Source (Compiling)====&lt;br /&gt;
&amp;lt;!-- can someone check this?  Also, perhaps we should go through the steps a little more, for beginners?  --&amp;gt;&lt;br /&gt;
Grab the tarball from [http://smplayer.sourceforge.net/downloads.php the SMPlayer download page].  Decompress it, cd into the directory, and run&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
 sudo make install&lt;br /&gt;
If you don&#039;t have sudo installed/configured, then the last step will be instead&lt;br /&gt;
 su&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
===SMPlayer tweaks===&lt;br /&gt;
After installation you&#039;ll need to configure it a little:&lt;br /&gt;
Start SMPlayer, open the options (Ctrl + P), go to the subtitles section, within the section go to the SSA/ASS library tab and check the check box for using SSA/ASS library. With this you can see the subtitle&#039;s colors and fonts (Note: the used fonts must be installed on the system for this).&lt;br /&gt;
&lt;br /&gt;
If you see a black screen at playing, or the colors doesn&#039;t seems to be right, or the playing is too slow or wrong you may need to change the video rendering mode. To do this go to the options, general section, general tab, output drivers, Video, and set it to &amp;lt;tt&amp;gt;x11&amp;lt;/tt&amp;gt; -  this will use software rendering. Alternatively you can use &amp;lt;tt&amp;gt;xv&amp;lt;/tt&amp;gt; for XVideo rendering or either &amp;lt;tt&amp;gt;gl&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;gl2&amp;lt;/tt&amp;gt; for OpenGL rendering. In general you should try these options in the following order for best quality and performance: &amp;lt;tt&amp;gt;xv&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;gl2&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;gl&amp;lt;/tt&amp;gt; and finally &amp;lt;tt&amp;gt;x11&amp;lt;/tt&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Janisozaur</name></author>
	</entry>
	<entry>
		<id>http://wiki.bakabt.me/index.php?title=Linux_Video_Playback&amp;diff=1894</id>
		<title>Linux Video Playback</title>
		<link rel="alternate" type="text/html" href="http://wiki.bakabt.me/index.php?title=Linux_Video_Playback&amp;diff=1894"/>
		<updated>2009-10-04T10:26:08Z</updated>

		<summary type="html">&lt;p&gt;Janisozaur: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains the best video playback options for Linux and provides installation instructions.&lt;br /&gt;
&lt;br /&gt;
==List of recommended players==&lt;br /&gt;
;* [http://www.mplayerhq.hu/ MPlayer]&lt;br /&gt;
;* [http://smplayer.sourceforge.net/ SMPlayer]&lt;br /&gt;
==MPlayer==&lt;br /&gt;
===Installing MPlayer===&lt;br /&gt;
Perform the one of the following commands as root, depending on your distribution.&lt;br /&gt;
====Debian based distributions (Includes Ubuntu)====&lt;br /&gt;
 aptitude install mplayer&lt;br /&gt;
====OpenSuse====&lt;br /&gt;
 zypper in mplayer&lt;br /&gt;
&lt;br /&gt;
====Fedora/Red Hat based distributions====&lt;br /&gt;
 yum install mplayer&lt;br /&gt;
====Arch Linux====&lt;br /&gt;
 pacman -S mplayer&lt;br /&gt;
====Gentoo====&lt;br /&gt;
 emerge -ptva mplayer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===MPlayer codecs===&lt;br /&gt;
Not all distributions include the full set of mplayer codecs in their repositories. To install the full set follow these easy steps.&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Download: http://www4.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Extract with: tar xvf all-20071007.tar.bz2&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Copy the codecs (but not the directory) to the MPlayer codec directory. Default is /usr/lib/win32&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Debian/Ubuntu users:&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Visit http://debian-multimedia.org/ and add it as a package repository using the instructions in the red boxes.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. sudo aptitude update &amp;amp;&amp;amp; sudo aptitude install mplayer w32codecs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===MPlayer tweaks===&lt;br /&gt;
These are some sample configuration files tailored for specific preferences. The MPlayer configuration file can be found at: (&amp;lt;tt&amp;gt;~/.mplayer/config&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For English audio preference, then Spanish&amp;lt;!--(?? Correct if wrong, delete this part otherwise.)--&amp;gt;, with 4 audio channels for surround sound files. &lt;br /&gt;
 vo=xv&lt;br /&gt;
 ao=alsa&lt;br /&gt;
 channels=4&lt;br /&gt;
 alang=en,es&lt;br /&gt;
&lt;br /&gt;
For Japanese audio preference, subtitles on. SDL A/V output for performence.&lt;br /&gt;
 ao=sdl&lt;br /&gt;
 vo=sdl &lt;br /&gt;
 #Note: SDL video output does not work well with xinerama. Those wishing to watch video on a TV or other display should use &amp;quot;vo=xv&amp;quot;&lt;br /&gt;
 alang=jpn,Japanese &lt;br /&gt;
 #Not all files use the correct tags, so sometimes it will be necessary to switch audio streams manually or from the command line with &amp;quot;-aid x&amp;quot;, where &amp;quot;x&amp;quot;   is the number of the audio stream.&lt;br /&gt;
 sid=0&lt;br /&gt;
 subfont-autoscale=1&lt;br /&gt;
 ass=1&lt;br /&gt;
&lt;br /&gt;
====MPlayer Tricks====&lt;br /&gt;
MPLayer has a huge collection of filters included. Some of them are magical.&lt;br /&gt;
&lt;br /&gt;
* View styled subs, even if you only have plain subs:&lt;br /&gt;
** mplayer -ass -embeddedfonts myvideo.ext&lt;br /&gt;
* View external subs:&lt;br /&gt;
** mplayer -ass -sub mysubs.srt myvideo.ext&lt;br /&gt;
* Play interlaced video without combing:&lt;br /&gt;
** mplayer -vf pullup myvideo.ext&lt;br /&gt;
* Increase saturation and contrast:&lt;br /&gt;
** mplayer -vf eq2=0.8 myvideo.ext&lt;br /&gt;
* Remove &amp;quot;mosquito&amp;quot; noise:&lt;br /&gt;
** mplayer -vf hqdn3d myvideo.ext&lt;br /&gt;
* Make crappy video look good:&lt;br /&gt;
** mplayer -vf pp7 myvideo.ext&lt;br /&gt;
* Combine:&lt;br /&gt;
** mplayer -ass -embeddedfonts -vf pullup,eq2=0.8,unsharp=l3x3:0.2,hqdn3d myvideo.ext&lt;br /&gt;
&lt;br /&gt;
==SMPlayer==&lt;br /&gt;
MPlayer by itself is fine but SMPlayer provides an easy to use interface to MPlayer so it is a better choice for most. It contains a couple of nice features, including autosaving the playback position so you can continue watching your anime the next time you start it (this feature can be disabled of course). SMPlayer is not a player per se, it is just a GUI (QT) frontend for MPlayer, hence you still need MPlayer to actually play video.&lt;br /&gt;
&lt;br /&gt;
===Installing SMPlayer===&lt;br /&gt;
====Debian/Ubuntu====&lt;br /&gt;
If you are using Debian Lenny/Sid or Ubuntu Intrepid Ibex (8.10), then you can simply&lt;br /&gt;
 sudo apt-get install smplayer&lt;br /&gt;
Otherwise, you have 2 options:&lt;br /&gt;
* Download the .deb file from [http://smplayer.sourceforge.net/downloads.php the SMPlayer website] or&lt;br /&gt;
* Add the SMPlayer repository to your /etc/apt/sources.list.&lt;br /&gt;
8.04 (hardy):&lt;br /&gt;
 deb http://ppa.launchpad.net/rvm/ubuntu hardy main&lt;br /&gt;
8.10 (intrepid):&lt;br /&gt;
 deb http://ppa.launchpad.net/rvm/ubuntu intrepid main&lt;br /&gt;
&lt;br /&gt;
====OpenSUSE====&lt;br /&gt;
&amp;lt;!-- I know absolutely nothing about SuSE, so it would be cool if someone who did could fill this in --&amp;gt;&lt;br /&gt;
You can find .rpm&#039;s via [http://software.opensuse.org/search the search page].&lt;br /&gt;
&lt;br /&gt;
====Fedora/RedHat====&lt;br /&gt;
&amp;lt;!-- I didn&#039;t see it in the package search: https://admin.fedoraproject.org/pkgdb/ --&amp;gt;&lt;br /&gt;
Build from source.  See below.&lt;br /&gt;
&lt;br /&gt;
====Arch Linux====&lt;br /&gt;
 pacman -S smplayer&lt;br /&gt;
&lt;br /&gt;
====Gentoo====&lt;br /&gt;
 emerge -ptva smplayer&lt;br /&gt;
&lt;br /&gt;
====Building from Source (Compiling)====&lt;br /&gt;
&amp;lt;!-- can someone check this?  Also, perhaps we should go through the steps a little more, for beginners?  --&amp;gt;&lt;br /&gt;
Grab the tarball from [http://smplayer.sourceforge.net/downloads.php the SMPlayer download page].  Decompress it, cd into the directory, and run&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
 sudo make install&lt;br /&gt;
If you don&#039;t have sudo installed/configured, then the last step will be instead&lt;br /&gt;
 su&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
===SMPlayer tweaks===&lt;br /&gt;
After installation you&#039;ll need to configure it a little:&lt;br /&gt;
Start SMPlayer, open the options (Ctrl + P), go to the subtitles section, within the section go to the SSA/ASS library tab and check the check box for using SSA/ASS library. With this you can see the subtitle&#039;s colors and fonts (Note: the used fonts must be installed on the system for this).&lt;br /&gt;
&lt;br /&gt;
If you see a black screen at playing, or the colors doesn&#039;t seems to be right, or the playing is too slow or wrong you may need to change the video rendering mode. To do this go to the options, general section, general tab, output drivers, Video, and set it to &amp;lt;tt&amp;gt;x11&amp;lt;/tt&amp;gt; -  this will use software rendering. Alternatively you can use &amp;lt;tt&amp;gt;xv&amp;lt;/tt&amp;gt; for XVideo rendering or either &amp;lt;tt&amp;gt;gl&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;gl2&amp;lt;/tt&amp;gt; for OpenGL rendering. In general you should try these options in the following order for best quality and performance: &amp;lt;tt&amp;gt;xv&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;gl2&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;gl&amp;lt;/tt&amp;gt; and finally &amp;lt;tt&amp;gt;x11&amp;lt;/tt&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Janisozaur</name></author>
	</entry>
</feed>