<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; video playback</title> <atom:link href="http://www.ghacks.net/tag/video-playback/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 09:52:46 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Xbox Media Center on Linux</title><link>http://www.ghacks.net/2009/10/28/xbox-media-center-on-linux/</link> <comments>http://www.ghacks.net/2009/10/28/xbox-media-center-on-linux/#comments</comments> <pubDate>Wed, 28 Oct 2009 16:04:09 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Hardware]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Music and Video]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[media center]]></category> <category><![CDATA[multimedia]]></category> <category><![CDATA[video playback]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=17827</guid> <description><![CDATA[The Xbox Media Center arrived in 2004 and became popular so quickly that it became clear more ports would be needed. So the XBMC team allowed this tool to evolve into a cross platform media center that would run on just about anything you can think of.  But, of course, the purpose of this article [...]]]></description> <content:encoded><![CDATA[<p>The <a
title="XBMC" href="http://xbmc.org/" target="_blank">Xbox Media Center</a> arrived in 2004 and became popular so quickly that it became clear more ports would be needed. So the XBMC team allowed this tool to evolve into a cross platform media center that would run on just about anything you can think of.  But, of course, the purpose of this article is to install XBMC on Linux. Although XBMC can be installed on most Linux distributions, the Ubuntu installation is the least painful. I&#8217;ll first illustrate the installation on Ubuntu and then on Fedora. Once installed, you will find XBMC meets many (if not all) of your media center needs similar to that of Windows Media Center.</p><p>Of course, ideally, you will want to install XBMC on a machine intended for multi-media use. It will work on lower-end video cards, but the interface will be somewhat slower. For a complete listing of supported hardware check out the <a
title="XBMC supported hardware" href="http://xbmc.org/wiki/?title=Supported_hardware" target="_blank">XBMC hardware page</a>. Now, let&#8217;s get on with the installation.</p><p><span
id="more-17827"></span><strong>Ubuntu</strong></p><p>I will give you a warning here: The most recently supported Ubuntu is 8.10. That does not, however, mean it will not install on anything later. I have XBMC installed and working fine on Ubuntu 9.04. With that in mind here are the installation steps for Ubuntu.</p><p>Open up your <strong>/etc/apt/sources.list</strong> file and add the following to the end:<br
/> <code>deb http://ppa.launchpad.net/team-xbmc-hardy/ubuntu hardy main<br
/> deb-src http://ppa.launchpad.net/team-xbmc-hardy/ubuntu hardy main</code></p><p>Save that file and then issue the command:</p><p><em>sudo apt-get update</em></p><p>Once the update is complete issue the following command:<br
/> <em> </em></p><p><em>sudo apt-get install xbmc</em></p><p>If you want to install extra skins, issue this command:</p><p><em>sudo apt-get install xbmc-skin-*</em></p><div
id="attachment_17833" class="wp-caption alignleft" style="width: 190px"><a
rel="attachment wp-att-17833" href="http://www.ghacks.net/2009/10/28/xbox-media-center-on-linux/xbmc/"><img
class="size-thumbnail wp-image-17833" src="http://www.ghacks.net/wp-content/uploads/2009/10/xbmc-300x300.png" alt="Figure 1" width="180" height="180" /></a><p
class="wp-caption-text">Figure 1</p></div><p>You will find the XBMC menu entry in the Sound And Video sub-menu of the Applications menu. When XBMC opens you will see a very user-friendly interface (see Figure 1).</p><p>Now it&#8217;s time for a less than user-friendly installation. Because there have been no rpm files created for Fedora, the installation requires a number of steps which will lead you to compiling XBMC. These steps will work for Fedora 8, 9, and 10 as well as CentOS 5.2. Here we go. NOTE: You will need to be the root user for this installation.</p><p>If you don&#8217;t already have Subversion install, do so now with the command:</p><p><em>yum install subversion</em></p><p>Once Subversion is installed, check out XBMC from subversion with the command:</p><p><em>svn co https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk</em></p><p>Now install the rpmfusion repository with one of the following commands:</p><p>Fedora:</p><p><em>rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm</em></p><p>and</p><p><em>rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rmpfusion-nonfree-release-stable.noarch.r</em>pm</p><p>CentOS 5 (32 bit):<br
/> <em>rpm -Uvh http://apt.sw.be/redhat/e15/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.e15.rf.i386.rpm</em></p><p>CentOS 5 (64 bit):</p><p><em>rpm -Uvh http://apt.sw.be/redhat/e15/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.e15.rf.x86_64.rpm</em></p><p>Now the fun begins. This installation command is all one line:<br
/> <code>yum install SDL* glew glew-devel libmad-devel tre tre-devel libogg libogg-devel libvorbis libvorbis-devel boost boost-devel bzip2-devel bzip2-libs fribidi* lzo lzo-devel mysql-libs mysql-devel jasper jasper-devel faac faac-devel enca enca-devel hal hal-devel hal-libs cmake gperf nasm libXmu-devel fontconfig-devel freetype-devel libXinerama-devel pcre-devel gcc-c++ sqlite-devel curl-devel mysql-devel libcdio-devel libmms-devel faad2-devel flac-devel libsmbclient-devel libXtst-devel</code></p><p>The next step creates a symbolic link for the libmysqlclient.so file. The command is one of these two (depending upon your architecture):</p><p>For i386:</p><p><em>sudo ln -s /usr/lib/mysql/libmysqlclient.so.15.0.0 /usr/lib/libmysqlclient.so </em></p><p>For x64:<br
/> <em>sudo ln -s /usr/lib64/mysql/libmysqlclient.so.15.0.0 /usr/lib64/libmysqlclient.so</em></p><p>Now cd into the XBMC directory (should be in the directory you are currently working in) and issue the following commands:</p><p><em>./bootstrap</em></p><p>and</p><p><em>./configure</em></p><p>and</p><p><em>make</em></p><p>If you see an error related to jpegint.h, then you might have to issue the following command:</p><p><em>cp XBMC/xbmx/lib/cximage-6.0/jpeg/jpegint.h /usr/include</em></p><p>If you have to issue the above command, then issue the <em>make </em>command again.</p><p>Finally issue the command:</p><p><em>make install</em></p><p>And XBMC will install.</p><p>On Fedora distributions you might have an issue with SELinux. If so you will need to issue the following commands:<br
/> <code>chcon -t textrel_shlib_t '/usr/local/share/xbmc/system/players/dvdplayer/avutil-50-i486-linux.so'<br
/> chcon -t textrel_shlib_t '/usr/local/share/xbmc/system/players/dvdplayer/avcodec-52-i486-linux.so'<br
/> chcon -t textrel_shlib_t '/usr/local/share/xbmc/system/players/dvdplayer/avformat-52-i486-linux.so'<br
/> chcon -t textrel_shlib_t '/usr/local/share/xbmc/system/players/dvdplayer/swscale-0.6.1-i486-linux.so'</code></p><p>That&#8217;s it for the Fedora/CentOS installation. You should find XBMC in your Video menu. If you can&#8217;t seem to find a menu entry you can always enter <em>xbmc </em>in either a terminal window or the run dialog.</p><p><strong>Final thoughts</strong></p><p>XBMC is an outstanding media center software. It will play your CDs and DVDs flawlessly. If you have the hardware for this software, it is a much better solution than most other Linux video solutions.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/10/28/xbox-media-center-on-linux/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> </channel> </rss>
