<?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>Cyberborean Chronicles &#187; multimedia</title>
	<atom:link href="http://blog.cyberborean.org/tag/multimedia/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.cyberborean.org</link>
	<description>by Alex Alishevskikh</description>
	<lastBuildDate>Wed, 18 Jan 2012 07:52:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Home IT: Media</title>
		<link>http://blog.cyberborean.org/2011/04/15/home-it-media</link>
		<comments>http://blog.cyberborean.org/2011/04/15/home-it-media#comments</comments>
		<pubDate>Fri, 15 Apr 2011 05:35:51 +0000</pubDate>
		<dc:creator>Alex Alishevskikh</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[multimedia]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://blog.cyberborean.org/?p=736</guid>
		<description><![CDATA[One of the important tasks of our home server setup is about media. The server hosts our large and old collections of DVD rips, music and photos that lived on our desktop boxes before. The collections are accessible across the home network with Samba/NFS shares and it works great for devices which can understand it: [...]]]></description>
			<content:encoded><![CDATA[<p>One of the important tasks of our home server setup is about media. The server hosts our large and old collections of DVD rips, music and photos that lived on our desktop boxes before. The collections are accessible across the home network with Samba/NFS shares and it works great for devices which can understand it: I mean the computers.</p>
<p>The story would end here if we didn&#8217;t want to access the media collections also from TV. This brought me to learn about <a href="http://en.wikipedia.org/wiki/Digital_Living_Network_Alliance">DLNA</a> technology and to get a DLNA-compliant media player, as well as to install and configure special media server software.</p>
<p><span id="more-736"></span></p>
<h2>The media player</h2>
<p>The device is <a href="http://bluray-players.net/samsung/samsung-bd-c5500-review/">Samsung BD-C5500</a> Blu-ray player that serves a home theatre setup in the living room (40&#8243; LCD TV and 5+1 Dolby system). The player is compliant with UPnP/DLNA standards and it means that being connected to a network it looks for DLNA-compliant Media Server instances and automatically connects to them.</p>
<p><img class="size-full wp-image-743  alignright" title="Player UI" src="http://blog.cyberborean.org/wp-content/uploads/2011/04/samsung-ui.jpg" alt="" width="480" height="285" />In the time when I purchased it (summer 2010), my knowledge about this kind of hardware was close to nothing and I had no any specific requirements in my mind. All what I needed was something that should play as many formats as possible, have a digital output and an Ethernet port.</p>
<p>Though my choice was somewhat random, Samsung turned out to be ok: it&#8217;s true Full-HD with a nice crisp picture through HDMI, friendly to seemingly all common A/V formats and can browse and play media from DLNA servers, external USB and, um, the disks, of course.</p>
<p>As a bonus, the player connects to internet to show online content like YouTube videos, Google maps, Picasa albums, Twitter and Facebook pages and so on. Sadly enough, the Twitter widget still isn&#8217;t aware of OAuth authentication (and therefore, is broken) and the available set of apps lacks such essential thing as a simple web-browser, so there is no way to view the random webs on TV with it.</p>
<p>Another sad thing about the player was WLAN support I&#8217;ve rashly bought into. On the rear panel, you can find a USB slot for an external wireless adapter, but don&#8217;t expect that any WiFi dongle in the world would work — this is for special Samsung adapter of which I know nothing but that it&#8217;s an exotic beast. Out of curiousity, I tried one of DLink dongles and it was (predictably) ignored by the device. There is however, a <a href="http://bluray-players.net/samsung/samsung-bd-c6500-review/">newer model</a> of the player with a built-in WiFi adapter on board and all in all,  it was not a big problem to lay another Ethernet wire and plug it into the player.</p>
<h2>The media server</h2>
<p><a href="http://blog.cyberborean.org/wp-content/uploads/2011/04/mediatomb.png"><img class="alignright size-full wp-image-746" title="MediaTomb UI" src="http://blog.cyberborean.org/wp-content/uploads/2011/04/mediatomb.png" alt="" width="432" height="311" /></a>I considered two DLNA media servers: <a href="http://www.serviio.org">Serviio</a> and <a href="http://mediatomb.cc">MediaTomb</a> and finally have chosen the latter because it looked simpler, lighter, configurable and has a web-interface to manage media collections.</p>
<p>A gothic look of the user interface makes me sick but the way it works is simple and intuitive. You only need to select a directory in the server filesystem and MediaTomb will crawl it to find all supported media files and add them to the database. After a directory is added, it is monitored for updates to be synchronized with the MediaTomb DB. As soon as you upload new file to a monitored directory on the server, it appears in the MediaTomb collection and hence, in the player.</p>
<p>A good thing about MediaTomb is that it is scriptable — there is <a href="http://mediatomb.cc/pages/scripting">straightforward server-side JavaScript</a> one can edit to implement custom collection structures based on metadata extracted from media files. Note that MediaTomb from Ubuntu repositories recklessly lacks scripting capabilities: if you want to enable this feature, download the sourcecode and build it yourself with JavaScript support.</p>
<h3>Video</h3>
<p>The video collection has a loose ad-hoc structure in the server filesystem, created manually: movies/series/animations/whatsoever, occasionally subcategorized by genre or by a director, etc. I liked to preserve that structure in the MediaTomb database and the import script modified like in <a href="http://mediatomb.cc/dokuwiki/scripting:scripting#file_system_structured_import_script">this example</a> does that.</p>
<h3>Audio</h3>
<p>MediaTomb does a good job on categorizing music using common ID3 tags by default: author, album, year and genre. I am happy with that taxonomy (this is what I&#8217;m used to see in AmaroK) and have not changed anything there.</p>
<h3>Photos</h3>
<p>The photo collection is organized in MediaTomb with date-based subalbums. It can read EXIF tags from photos but it&#8217;s not too useful: maybe someone wants to see his shots sorted by camera model or by aperture value, but not me. I would better want MediaTomb to be able to read the keywords from XMP/IPTC metadata written by digiKam but I have no idea if it&#8217;s possible.</p>
<h2>Links</h2>
<p>Some manuals and articles that helped me a lot in MediaTomb configuration and customization:</p>
<ul>
<li><a href="http://http://mediatomb.cc/dokuwiki/scripting:scripting">http://mediatomb.cc/dokuwiki/scripting:scripting</a></li>
<li><a href="http://http://my.opera.com/maurice118/blog/how-to-use-the-import-js-with-mediatomb-upnp-server">http://my.opera.com/maurice118/blog/how-to-use-the-import-js-with-mediatomb-upnp-server</a></li>
<li><a href="htthttp://wiki.flexion.org/InstallingMediaTomb012.htmlp://">http://wiki.flexion.org/InstallingMediaTomb012.html</a></li>
<li><a href="http://http://en.gentoo-wiki.com/wiki/MediaTomb">http://en.gentoo-wiki.com/wiki/MediaTomb</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.cyberborean.org/2011/04/15/home-it-media/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Home media network</title>
		<link>http://blog.cyberborean.org/2007/12/28/home-media-network</link>
		<comments>http://blog.cyberborean.org/2007/12/28/home-media-network#comments</comments>
		<pubDate>Fri, 28 Dec 2007 15:26:16 +0000</pubDate>
		<dc:creator>Alex Alishevskikh</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[dvd]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[multimedia]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://cyberborean.wordpress.com/2007/12/28/home-media-network/</guid>
		<description><![CDATA[The holiday season is going on and it&#8217;s a time to have all sorts of fun. Watching movies and cartoons is not the last item in our family agenda, so I prepared to that with all power of my homebred IT infrastructure. I should say I hate disks. They are taking a lot of space, [...]]]></description>
			<content:encoded><![CDATA[<p>The holiday season is going on and it&#8217;s a time to have all sorts of fun. Watching movies and cartoons is not the last item in our family agenda, so I prepared to that with all power of my homebred IT infrastructure.</p>
<p>I should say I hate disks. They are taking a lot of space, cluttering all around, getting scratched and getting lost sometimes. I am too lazy to stand up and find a CD/DVD on a shelf just to get a movie or a song. I already got all my music collection in the computer as MP3 files and used to grab every new audio CD immediately. I&#8217;d like to do the same with DVD movies &#8211; rip them from the disks, convert them to something like MPEG4 and provide shared access to the media collection in our home network.</p>
<p><span id="more-195"></span></p>
<p>Our home LAN is small and simple &#8211; there are only two workstations connected by an Ethernet cable. There are my main work machine running Kubuntu Feisty Fawn and the children room computer owned by my daughters. The last box runs XP Home Edition, it is weaker and got a smaller harddrive than the Linux box &#8211; so server/client roles in the media network were obvious.</p>
<p>As the Linux box already runs Samba, the solution for sharing the media files over the network was ready. I only created a Windows network drive on the client machine and linked it to the Samba share on a server filesystem. I&#8217;d like to have more sophisticated solution for media organizing &#8211; something like a specialized media server with advanced metadata/annotation/categorization features but found no one so far. All in all, simply movie titles and preview thumbnails are good enough, and my children have no problems to navigate over the movie collection.</p>
<p>Well, my only task was to rip the movies from DVD&#8217;s. My first try of ripping DVD using the familiar tools was unsuccessful. Strangely, <a href="http://www.k3b.org">K3b</a> &#8211; a swissknife for all CD/DVD tasks in KDE &#8211; could not rip video DVD&#8217;s in Feisty. As it was <a href="https://bugs.launchpad.net/ubuntu/+source/k3b/+bug/99448">turned out</a>, it is Kubuntu-only limitation and I have no idea is it a result of that copyrights paranoia (though grabbing the audio CD&#8217;s works fine), or just a miss of packagers in Canonical. The people <a href="https://bugs.launchpad.net/ubuntu/+source/k3b/+bug/99448/comments/6">said</a> it is still unworkable in 7.10 Gutsy. Of course, I might recompile K3b from sources but I decided to look for another ripping tool first.</p>
<p>There is a nifty command line utility: <a href="http://www.transcoding.org"><code>transcode</code></a>. It can convert video from one format to another using lots of import and export codecs &#8211; and directly from a DVD too. In fact, you need to install it if you want to rip DVD&#8217;s with K3b, though it had no help in my case. Using <code>transcode</code> has only problem &#8211; you should be a video engineering guru to understand its manpage with lots of all transcoding options. I didn&#8217;t want to learn all that stuff &#8211; I only needed to convert videos from DVD into AVI/MPEG4 files with the same frame size and without visible loss of quality.</p>
<p>I finally chose <a href="http://exit1.org/dvdrip/"><code>dvd::rip</code></a> &#8211; a GUI frontend to <code>transcode</code> written in Perl and GTK+. In Kubuntu, you can found it in <code>multiverse/graphics</code> repository section. If you want to get compressed MPEG-4 files, you will also need <a href="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/xvid.html">XVid</a> codec (<code>multiverse/libs/libxvidcore4</code>) or another DivX/XVid library for <code>transcode</code>.</p>
<p><a title="rip" href="http://cyberborean.org/blog/wp-content/uploads/2007/12/dvdrip.jpg"><img class="right" src="http://cyberborean.files.wordpress.com/2007/12/dvdrip.thumbnail.jpg" alt="rip" width="128" height="126" align="right" /></a>Ripping DVD with <code>dvd:rip</code> is an easy two-step process: at first stage it copies the selected titles from DVD to the harddisk and lets you clip and scale the resulting movie. The program allows to choose from few presets of movie format and quality with previewing the results. Video gurus can also get into all codec&#8217;s fine-tuning options, while others can just go to the next stage by clicking on &#8220;Transcode&#8221; button letting the program to do its job with defaults. The second stage is quite long and finishes with a MPEG4 file in a container of a selected type (AVI, OGG or MPEG).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cyberborean.org/2007/12/28/home-media-network/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

