<?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"
	>

<channel>
	<title>rulesPlayer</title>
	<atom:link href="http://rulesplayer.890m.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://rulesplayer.890m.com/blog</link>
	<description>a player done right</description>
	<pubDate>Sat, 16 Aug 2008 11:39:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Roadmap. Part 2: interface</title>
		<link>http://rulesplayer.890m.com/blog/?p=6</link>
		<comments>http://rulesplayer.890m.com/blog/?p=6#comments</comments>
		<pubDate>Fri, 09 May 2008 10:13:48 +0000</pubDate>
		<dc:creator>bobef</dc:creator>
		
		<category><![CDATA[Technical]]></category>

		<category><![CDATA[rulesPlayer.next]]></category>

		<guid isPermaLink="false">http://rulesplayer.890m.com/blog/?p=6</guid>
		<description><![CDATA[I have some time to waste (or in other words to rest few hours), so I will ping this blog a little bit.
The seconds part of the roadmap is tricky. Basically this is the main reason why I have to write a new version of the player, instead of continuing the original one. What this [...]]]></description>
			<content:encoded><![CDATA[<p>I have some time to waste (or in other words to rest few hours), so I will ping this blog a little bit.</p>
<p>The seconds part of the roadmap is tricky. Basically this is the main reason why I have to write a new version of the player, instead of continuing the original one. What this point is? This was the intention for the original version:</p>
<blockquote><p>Simple, non-bloated interface. The interface must be intuitive to navigate and provide fast access to everything one needs.</p></blockquote>
<blockquote><p>Customizable. One must be able to customize the player. The current player is very customizable, but it is not done the right way. The console approach is not too user friendly.</p></blockquote>
<p>And what I wanted for the new version:</p>
<blockquote><p>Eye candy. I am not a big lover of skins but they could be nice if done right. Also there is always the possibility of making Windows like skin.</p></blockquote>
<p>My first consideration is about the first point and the eye candy. I decided to use HTMLayout as interface library because it is very fast and allows for visually appealing interface. But it seems that most people like the old school interface. In fact I like it too. In my opinion it does all what it should do. Provide fast access to all functions. So I have second thoughts about HTMLayout. Maybe I should just use DWT, as in the original version? Now there is new version of DWT that is also available on Linux. The downside of this is that it is a bit slower than the old DWT and than HTMLayout.  So the options are:</p>
<p><strong>DWT:</strong></p>
<p>Pros</p>
<ol>
<li>Will not require full rewrite as some of the old code could be reused</li>
<li>Available for both Linux and Windows</li>
<li>Keeps the old-school looks</li>
</ol>
<p>Cons</p>
<ol>
<li>Is a bit slower</li>
<li>Some OS specific things may need to be implemented in a hacky way, i.e. unclean code</li>
<li><span style="text-decoration: line-through;">Keeps the old-school looks</span> - nobody complains<span style="text-decoration: line-through;"><br />
</span></li>
<li><span style="text-decoration: line-through;">Less customizable (including from plugin&#8217;s point of view)</span> - solved<span style="text-decoration: line-through;"><br />
</span></li>
</ol>
<p><strong>HTMLayout:</strong></p>
<p>Pros</p>
<ol>
<li>Very fast</li>
<li>Allows web-style interface, skinning, innovative stuff</li>
<li>More customizable (including from plugin&#8217;s point of view)</li>
</ol>
<p>Cons</p>
<ol>
<li>Requires a full rewrite</li>
<li>It is harder to integrate MPlayer inside it</li>
<li><span style="text-decoration: line-through;">Windows only at the moment</span> - will change in near future<span style="text-decoration: line-through;"><br />
</span></li>
</ol>
<p>Tough choice. Now the second point is how to make the player customizable without bloated interface and preferably without dialog boxes. It seems that the console is not too good approach. Eventually it became not very useful even for me, because I forgot how to use it. If using HTMLayout some innovative way of configuration could be introduced. But DWT is pretty limited - endless menus or dialog boxes. I don&#8217;t like both. Love to hear other opinions.</p>
<p><strong>Update:</strong></p>
<p>I failed to integrate MPlayer in HTMLayout in an efficient manner so I am back to DWT. I&#8217;ve been working on it for some days and I have some fresh ideas how to make it more flexible.</p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=rulesPlayer&amp;siteurl=http%3A%2F%2Frulesplayer.890m.com%2Fblog%2F&amp;linkname=Roadmap.%20Part%202%3A%20interface&amp;linkurl=http%3A%2F%2Frulesplayer.890m.com%2Fblog%2F%3Fp%3D6"><img src="http://rulesplayer.890m.com/blog/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">a2a_linkname="Roadmap. Part 2: interface";a2a_linkurl="http://rulesplayer.890m.com/blog/?p=6";</script>
    <script type="text/javascript" src="http://www.addtoany.com/menu/page.js"></script>

	</p>]]></content:encoded>
			<wfw:commentRss>http://rulesplayer.890m.com/blog/?feed=rss2&amp;p=6</wfw:commentRss>
		</item>
		<item>
		<title>Roadmap. Part 1: performance</title>
		<link>http://rulesplayer.890m.com/blog/?p=5</link>
		<comments>http://rulesplayer.890m.com/blog/?p=5#comments</comments>
		<pubDate>Sat, 19 Apr 2008 09:53:40 +0000</pubDate>
		<dc:creator>bobef</dc:creator>
		
		<category><![CDATA[MPlayer]]></category>

		<category><![CDATA[Technical]]></category>

		<category><![CDATA[rulesPlayer.next]]></category>

		<guid isPermaLink="false">http://rulesplayer.890m.com/blog/?p=5</guid>
		<description><![CDATA[Having defined the goals for the next version of the free multimedia player (lol lets put some keywords around :) now lets see what needs to be done to accomplish these goals.
Blazing performance. Both startup and playing the movie (this means fast rewinding). The next version must be even faster.
This one seems easy. MPlayer is [...]]]></description>
			<content:encoded><![CDATA[<p>Having defined the goals for the next version of the free multimedia player (lol lets put some keywords around :) now lets see what needs to be done to accomplish these goals.</p>
<blockquote><p>Blazing performance. Both startup and playing the movie (this means fast rewinding). The next version must be even faster.</p></blockquote>
<p>This one seems easy. MPlayer is already very fast and HTMLayout is blazing fast on startup and redrawing the interface so we have part of the work done already. But still there is one thing. Drawing the movie on the screen. I.e. the video output driver. Which one to use? MPlayer comes with severals Windows compatible drivers - DirectX, OpenGL and OpenGL 2 (this is probably just the name, not referring to OpenGL 2.0).</p>
<p><strong>DirectX</strong> - should work pretty fast everywhere, supports hardware acceleration and works on Vista (I guess). Does not support pan-scan and resizes the OSD the wrong way. I.e. the subtitles are drawn on the movie with it&#8217;s original size and then the whole thing is resized (to fullscreen for example). This results uglier subtitles for movies with small resolution. Also uses hardware overlays for better performance, which has some side effects, not such a big problem though.</p>
<p><strong>OpenGL</strong> - generally fast but is limited by the hardware. The video card needs to support some features. In this version of the driver, the maximum video resolution is limited by the maximum supported texture size. And 1280 pixels is pretty common video size, and not so common texture size&#8230; Supports only texture sizes that are power of two. Otherwise they are not hardware accelerated. And software OpenGL is much slower than software non-OpenGL. Have you tried playing Half-Life with OpenGL on S3 1MB video card :) ? Try software OpenGL even on a modern video card&#8230; It is very slow; This is the only driver that resizes the movie and <em>then</em> renders the OSD. This results very crisp subtitles. Really nice! Also supports pan-scan.</p>
<p><strong>OpenGL 2</strong> - doesn&#8217;t have the above limitations but the OSD is rendered the ugly way. What a pity. As far as I know Microsoft crippled OpenGL big time in Vista.</p>
<p>Then which one to choose? There is something wrong in each one of these drivers&#8230; So I will write my own &#8220;rules&#8221; driver. The plan is to use shared memory (i.e. MPlayer and rulesPlayer share the same memory location; this saves lengthy buffer copying). Let MPlayer render its stuff directly into the memory buffer -&gt; notify rulesPlayer -&gt; render the buffer in the window. This seems fast enough to me, but who knows. We are missing any hardware acceleration this way. But once you have the whole video frame you can crop it, you can pan-scan it, whatever. I even want to make HTMLayout render the subtitles instead of MPlayer. Don&#8217;t worry, it supports antialiased text with shadows that are not less nice than MPlayer&#8217;s. The only thing that bothers me is the performance. But we will see about that soon&#8230; If it doesn&#8217;t work out so well I will try to fix the issues with above drivers and let the user choose the one which works best on his hardware.</p>
<p>As you can see I want to work the details better this time. Stay tuned.</p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=rulesPlayer&amp;siteurl=http%3A%2F%2Frulesplayer.890m.com%2Fblog%2F&amp;linkname=Roadmap.%20Part%201%3A%20performance&amp;linkurl=http%3A%2F%2Frulesplayer.890m.com%2Fblog%2F%3Fp%3D5"><img src="http://rulesplayer.890m.com/blog/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">a2a_linkname="Roadmap. Part 1: performance";a2a_linkurl="http://rulesplayer.890m.com/blog/?p=5";</script>
    <script type="text/javascript" src="http://www.addtoany.com/menu/page.js"></script>

	</p>]]></content:encoded>
			<wfw:commentRss>http://rulesplayer.890m.com/blog/?feed=rss2&amp;p=5</wfw:commentRss>
		</item>
		<item>
		<title>The feature requests thread</title>
		<link>http://rulesplayer.890m.com/blog/?p=3</link>
		<comments>http://rulesplayer.890m.com/blog/?p=3#comments</comments>
		<pubDate>Tue, 15 Apr 2008 16:27:14 +0000</pubDate>
		<dc:creator>bobef</dc:creator>
		
		<category><![CDATA[rulesPlayer.next]]></category>

		<guid isPermaLink="false">http://rulesplayer.890m.com/blog/?p=3</guid>
		<description><![CDATA[I am posting this so people could write comments with their feature request. I know there are some in the old forums, but this is more fun. New blog, new player, new feature requests. Everything in one place. We could probably start a little discussion (although right now I am just talking to myself). I [...]]]></description>
			<content:encoded><![CDATA[<p>I am posting this so people could write comments with their feature request. I know there are some in the old forums, but this is more fun. New blog, new player, new feature requests. Everything in one place. We could probably start a little discussion (although right now I am just talking to myself). I am having some considerations. Of course everything will be skinable/changeable, but what about the core and the default layout? For example I am considering VLC player. Maybe I should use it instead of MPlayer? It seems better for embedding in thirdparty applications, but also seems slower. When I started the project I didn&#8217;t like VLC because of it subtitles with their jagged edges, but I see they have fixed that lately. Still it seems slower than MPlayer and I haven&#8217;t used it myself. Anyone with experience of both MPlayer and VLC? For example, when I play HD movies with MPlayer (and thus rulesPlayer) there is a lot of lag on my PC. The sound is left behind and the framerate is low. But WMP is fine&#8230; Is this the case with VLC too? What about rewinding? MPlayer (and thus rulesPlayer) rewinds movies almost without any lag. But VLC lags a little bit more. And after that there is something like a jump two frames back or something. I still prefer MPlayer, but I am trying to be open-minded.</p>
<p>I know everyone hates this feature when the controls push the movie up in fullscreen&#8230; But what about the playlist? Is it better to push the movie or to overlap it? What is the point of not pushing it if it hides half the movie anyway? &#8230;Similar things cross mind.</p>
<p>What about the default design? Should we try to be fancy and put glassy buttons everywhere or stick to rulesPlayer style and keep it simple? Me personally - I like the shiny vista buttons, but I don&#8217;t want to see them more than once a day. I prefer vimeo style controls. Really simple, you never get tired of them. That&#8217;s why my desktop background is black. You never need to change it, just because there is nothing to change :)</p>
<p>So share your opinion. Make your feature requests and suggestions. It is easy to implement features in the beginning and not so easy after everything is done. As I said, all comments are welcome.</p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=rulesPlayer&amp;siteurl=http%3A%2F%2Frulesplayer.890m.com%2Fblog%2F&amp;linkname=The%20feature%20requests%20thread&amp;linkurl=http%3A%2F%2Frulesplayer.890m.com%2Fblog%2F%3Fp%3D3"><img src="http://rulesplayer.890m.com/blog/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">a2a_linkname="The feature requests thread";a2a_linkurl="http://rulesplayer.890m.com/blog/?p=3";</script>
    <script type="text/javascript" src="http://www.addtoany.com/menu/page.js"></script>

	</p>]]></content:encoded>
			<wfw:commentRss>http://rulesplayer.890m.com/blog/?feed=rss2&amp;p=3</wfw:commentRss>
		</item>
		<item>
		<title>Where we&#8217;re at</title>
		<link>http://rulesplayer.890m.com/blog/?p=1</link>
		<comments>http://rulesplayer.890m.com/blog/?p=1#comments</comments>
		<pubDate>Sun, 13 Apr 2008 11:06:35 +0000</pubDate>
		<dc:creator>bobef</dc:creator>
		
		<category><![CDATA[rulesPlayer.next]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[It&#8217;s been a long time since I last touched the player, but I had a sudden change of heart. I felt a desire to continue the work. And I actually started. So I decided to put up this little blog and keep people that are still interested informed what is going on.
So where we&#8217;re at? [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a long time since I last touched the player, but I had a sudden change of heart. I felt a desire to continue the work. And I actually started. So I decided to put up this little blog and keep people that are still interested informed what is going on.</p>
<p>So where we&#8217;re at? The current version of the player is pretty stable. It has (almost) everything I wanted and many people seem to like it. It lacks any major bugs and is stable. What I don&#8217;t like about it is that the code is a bit dirty&#8230; I was actually learning how to embed MPlayer. Anyway I think the result is pretty useful. But there are some other major problems. It&#8217;s with my toolkit. First the user interface library that I was using is now dead. Its maintainer went away and I am not keen on maintaining a whole GUI library because of this project. Then the standard library of the language that I am using became not so popular (I have explained in more detail in the <a href="http://dsource.org/forums/viewtopic.php?t=3298&amp;start=0&amp;postdays=0&amp;postorder=asc&amp;highlight=">forum</a>). To say it plain words, the basic stuff that my player is built on is not useful anymore for my case. And this is a pretty discouraging situation. That kept me from developing the player. Recently I have found a great and very fast GUI library that I used for another project. It is called HTMLayout and it is based on HTML. Which means it offers much greater possibilities for visual presentation. Read <strong>skins</strong>! This is little cue for the next version - skins. And this where we&#8217;re at - <strong>next version</strong>. This means a complete rewrite. Changing the UI library is a big deal and it means everything will be rewritten. And since I will rewrite everything I have the opportunity to revisit everything that needs a touch and do it the right way. This is risky. Making such a big change there is the risk of breaking what was done right. So it is important to have some kind of guideline.  What is most important and what shapes the player as it is? Why the project started in the first place?  To have what the others players lack:</p>
<ul>
<li>Blazing performance. Both startup and playing the movie (this means fast rewinding). The next version must be even faster.</li>
<li>Simple, non-bloated interface. The interface must be intuitive to navigate and provide fast access to everything one needs.</li>
<li>Customizable. One must be able to customize the player. The current player is very customizable, but it is not done the right way. The console approach is not too user friendly.</li>
<li>Never worry about codecs - they are all included.</li>
<li>And of course - <strong>free</strong>.</li>
</ul>
<p>This is what I intended. Now it must be perfected and extended:</p>
<ul>
<li>Eye candy. I am not a big lover of skins but they could be nice if done right. Also there is always the possibility of making Windows like skin.</li>
<li>More extensible - plugins. It is impossible for one man to please everyone. So I will do what I can - keep the above points. Build a basic player, but make it extensible. So everyone could add what he likes.</li>
<li>Easier to install and update.</li>
</ul>
<p>That&#8217;s it for now. This is my idea. It may or may not work out. Now is the time for suggestions, feature requests, etc. Comments are welcome. Next time I will give some information about the next version of the player. If you are interested drop by from time to time to see what&#8217;s happening.</p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=rulesPlayer&amp;siteurl=http%3A%2F%2Frulesplayer.890m.com%2Fblog%2F&amp;linkname=Where%20we%E2%80%99re%20at&amp;linkurl=http%3A%2F%2Frulesplayer.890m.com%2Fblog%2F%3Fp%3D1"><img src="http://rulesplayer.890m.com/blog/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">a2a_linkname="Where we’re at";a2a_linkurl="http://rulesplayer.890m.com/blog/?p=1";</script>
    <script type="text/javascript" src="http://www.addtoany.com/menu/page.js"></script>

	</p>]]></content:encoded>
			<wfw:commentRss>http://rulesplayer.890m.com/blog/?feed=rss2&amp;p=1</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Code -->
