<?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>Flexion.Org Blog &#187; MPEG</title>
	<atom:link href="http://blog.flexion.org/tag/mpeg/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexion.org</link>
	<description>Bad grammar and typos for total strangers</description>
	<lastBuildDate>Tue, 17 Jan 2012 17:01:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>IMDB Film Summary as a MPEG2 video, Part 2</title>
		<link>http://blog.flexion.org/2009/09/20/imdb-film-video-summary/</link>
		<comments>http://blog.flexion.org/2009/09/20/imdb-film-video-summary/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 08:48:36 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Audio & Video]]></category>
		<category><![CDATA[IMDB]]></category>
		<category><![CDATA[MPEG]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[summary]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.flexion.org/?p=270</guid>
		<description><![CDATA[Back in April I released a script to create a MPEG video summarising a movie using data from IMDB, you can find the original post in the URL below to learn why I created such a script in the first place. IMDB Film Summary as a MPEG2 video Today I&#8217;ve release v2.0 of that script, [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-vertical"><g:plusone size="tall" href="http://blog.flexion.org/2009/09/20/imdb-film-video-summary/"></g:plusone></div><div class="socialize-in-button socialize-in-button-vertical"><iframe src="http://www.facebook.com/plugins/like.php?href=http://blog.flexion.org/2009/09/20/imdb-film-video-summary/&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-vertical"><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://blog.flexion.org/2009/09/20/imdb-film-video-summary/" data-text="IMDB Film Summary as a MPEG2 video, Part 2" data-count="vertical" data-via="@flexiondotorg" data-related="@flexiondotorg"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-vertical"><script type="in/share" data-url="http://blog.flexion.org/2009/09/20/imdb-film-video-summary/" data-counter="top"></script></div></div><p>Back in April I released a script to create a MPEG video summarising a movie using data from IMDB, you can find the original post in the URL below to learn why I created such a script in the first place.</p>
<ul>
<li><a title="Permanent link to  IMDB Film Summary as a MPEG2 video" rel="bookmark" href="../index.php/2009/04/22/imdb-film-summary-mpeg2-video/">IMDB Film Summary as a MPEG2 video</a></li>
</ul>
<p>Today I&#8217;ve release v2.0 of that script, which is almost a complete re-write mostly thanks to Eric at <a title="yPass.net" href="http://yPass.net/" target="_blank">yPass.net</a> who contributed significantly. Thanks to Eric the script is much improved since version 1.0, here is a run down of what&#8217;s new.</p>
<p><strong>v2.0 2009, 19th September</strong></p>
<ul>
<li>Merged yet more contributions from Eric, http://www.ypass.net. Thanks Eric!</li>
<li>Added usage instructions.</li>
<li>Added categorisation by Certificate.</li>
<li>Added dynamic computation of video bitrate.</li>
<li>Added silent audio generation.</li>
<li>Added a shell script to reprocess an entire film store.</li>
<li>Re-added MPEG-2 video encoding.</li>
<li>Improved video encoding speed by removing pre-processing with &#8216;jpeg2yuv&#8217;.</li>
<li>Fixed spiffy animations when cover art is not available.</li>
<li>Fixed spiffy animations on platforms that may have incomplete GD.</li>
<li>Modified filename input so that an input filename is optional rather than mandatory.</li>
</ul>
<p><strong>v1.2 2009, 17th July.</strong></p>
<ul>
<li>Merged extensive contributions from Eric, http://www.ypass.net. Thanks Eric!</li>
<li>Updated the README to reflect Eric&#8217;s changes.</li>
<li>MPEG-4 video encoding replaced MPEG-2 video encoding.</li>
<li>Never released to the public.</li>
</ul>
<p>To download the script and find out how to make full use of it visit the release page below.</p>
<ul>
<li><a title="IMDB-to-MPEG" href="http://code.flexion.org/IMDB-to-MPEG.html" target="_self">IMDB-to-MPEG</a></li>
</ul>
<p>You&#8217;ll have seen reference to &#8220;spiffy animations&#8221; in the change log, take a look at the example video summary clip below to see for yourself.</p>
<ul>
<li><a href="http://blog-test.flexion.org/files/2009/09/About_The_Usual_Suspects.mp4">About The Usual Suspects</a> (~2Mb)</li>
</ul>
<p>As it stands the IMDB-to-MPEG script does what I require, so I will maintain it in it&#8217;s current form. However, Eric has been working on a new direction by adding support for NetFlix, creating a GUI with php-gtk and some other cool stuff. While Eric has shared the details with me, I simply don&#8217;t have the time to add all that good stuff to IMDB-to-MPEG, so if you like the sound of what Eric has been up to hop over to his site to find out more.</p>
<ul>
<li><a title="Netflix Has a Developer API" href="http://www.ypass.net/blog/2009/07/netflix-has-a-developer-api/" target="_blank">Netflix Has a Developer API</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.flexion.org/2009/09/20/imdb-film-video-summary/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
<enclosure url="http://blog-test.flexion.org/files/2009/09/About_The_Usual_Suspects.mp4" length="0" type="video/mp4" />
		</item>
		<item>
		<title>IMDB Film Summary as a MPEG2 video</title>
		<link>http://blog.flexion.org/2009/04/22/imdb-film-summary-mpeg2-video/</link>
		<comments>http://blog.flexion.org/2009/04/22/imdb-film-summary-mpeg2-video/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 18:00:07 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Audio & Video]]></category>
		<category><![CDATA[IMDB]]></category>
		<category><![CDATA[Mediatomb]]></category>
		<category><![CDATA[MPEG]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://blog.flexion.org/?p=230</guid>
		<description><![CDATA[If you&#8217;ve read my blog before you&#8217;ll know I run Mediatomb DLNA server with my PS3 as the client, You&#8217;ll also know I am working towards importing my entire DVD collection into my Mediatomb server. However, my wife wants to know something about each film in the library without having to dig out the DVD [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-vertical"><g:plusone size="tall" href="http://blog.flexion.org/2009/04/22/imdb-film-summary-mpeg2-video/"></g:plusone></div><div class="socialize-in-button socialize-in-button-vertical"><iframe src="http://www.facebook.com/plugins/like.php?href=http://blog.flexion.org/2009/04/22/imdb-film-summary-mpeg2-video/&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-vertical"><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://blog.flexion.org/2009/04/22/imdb-film-summary-mpeg2-video/" data-text="IMDB Film Summary as a MPEG2 video" data-count="vertical" data-via="@flexiondotorg" data-related="@flexiondotorg"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-vertical"><script type="in/share" data-url="http://blog.flexion.org/2009/04/22/imdb-film-summary-mpeg2-video/" data-counter="top"></script></div></div><p>If you&#8217;ve read my blog before you&#8217;ll know I run Mediatomb DLNA server with my PS3 as the client, You&#8217;ll also know I am working towards importing my entire DVD collection into my Mediatomb server. However, my wife wants to know something about each film in the library without having to dig out the DVD case from storage. My solution is to include a MPEG-2 video displaying the film summary in the Mediatomb library for each DVD I have imported so it can be easily viewed from the PS3.</p>
<p>My script is called IMDB-to-MPEG and I&#8217;ve finally got round to uploading it. See the <a href="http://code.flexion.org/" target="_self">Code</a> section of my site for the download.</p>
<p>The scripts takes one parameter as input, a film title. The plotline, year of release, genres, cast list and running time for that film are gathered from IMDB and formatted as text. Here is an example.</p>
<pre>The Usual Suspects (1995)

A boat has been destroyed, criminals are dead, and
the key to this mystery lies with the only
survivor and his twisted, convoluted story
beginning with five career crooks in a seemingly
random police lineup. (106 mins)

Starring Stephen Baldwin as Michael McManus,
Gabriel Byrne as Dean Keaton, Benicio Del Toro as
Fred Fenster, Kevin Pollak as Todd Hockney, and
Kevin Spacey as Roger 'Verbal' Kint.

Genres: Crime, Mystery, Thriller.

Rated 8.7 out of 10 from 227,964 votes.</pre>
<p>The text is converted into an image and then encoded into a MPEG-2 video using the lowest possible bitrate/resolution that is acceptable to read when viewing on a 42&#8243; plasma from my sofa.</p>
<p>Directories for each matching genre are created and also one for the IMDB rating (rounded down). The MPEG-2 is stored in the &#8216;All&#8217; folder and then symlinked to the genres and rating for that film. I then copy my video into the appropriate directory in &#8216;All&#8217;. For example.</p>
<pre>.
|-- All
|   `-- The_Usual_Suspects
|       `-- About_The_Usual_Suspects.mpg
|-- Genres
|   |-- Crime
|   |   `-- The_Usual_Suspects -&gt; ../../All/The_Usual_Suspects
|   |-- Mystery
|   |   `-- The_Usual_Suspects -&gt; ../../All/The_Usual_Suspects
|   `-- Thriller
|       `-- The_Usual_Suspects -&gt; ../../All/The_Usual_Suspects
|-- Ratings
`-- 8
`-- The_Usual_Suspects -&gt; ../../All/The_Usual_Suspects</pre>
<p>This code was lashed up in a few hours, it ain&#8217;t pretty but it works for me on my Ubuntu Linux systems, maybe it&#8217;ll work for you too <img src='http://blog.flexion.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.flexion.org/2009/04/22/imdb-film-summary-mpeg2-video/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

