<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="http://blogs.forum.nokia.com/styles/rss.css" type="text/css"?>
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
>
 <channel>
  <title>David Caabeiro&#039;s Forum Nokia Blog</title>
  <link>http://blogs.forum.nokia.com/blog/david-caabeiros-forum-nokia-blog</link>
  <description>A Forum Nokia Blog</description>
  <pubDate>Mon, 23 Nov 2009 18:33:32 +0200</pubDate>
  <generator>http://www.lifetype.net</generator>
  <itunes:author>Forum Nokia</itunes:author>
  <itunes:category text="Technology">
    <itunes:category text="Tech News"/>
  </itunes:category>
  <itunes:image href="http://www.forum.nokia.com/piazza/blogs/imgs/forum_nokia_rss_logo.jpg"/>
    <item>
   <title>J2ME MPEG update</title>
   <description>
    &lt;p&gt;
Some people have shown some interest and asked me to create a repository to make collaboration easier, so I hosted the project at google code. You can check out the code using your favorite Subversion client, or with the command line client: 
&lt;/p&gt;
&lt;p&gt;
&lt;strike&gt;&lt;tt&gt;svn checkout &lt;strong&gt;&lt;em&gt;http&lt;/em&gt;&lt;/strong&gt;://j2me-mpeg.googlecode.com/svn/trunk/ j2me-mpeg&lt;/tt&gt;&lt;/strike&gt;
&lt;/p&gt;
&lt;p&gt;
If you&#039;re interested in participating, feel free to contact me.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Update:&lt;/strong&gt; the project was moved &lt;a href=&quot;http://bitbucket.org/sequencepoint/j2me_mpeg/wiki/Home&quot;&gt;here&lt;/a&gt; 
&lt;/p&gt;
   </description>
   <link>http://blogs.forum.nokia.com/blog/david-caabeiros-forum-nokia-blog/2008/05/28/j2me-mpeg-update</link>
   <comments>http://blogs.forum.nokia.com/blog/david-caabeiros-forum-nokia-blog/2008/05/28/j2me-mpeg-update</comments>
   <guid>http://blogs.forum.nokia.com/blog/david-caabeiros-forum-nokia-blog/2008/05/28/j2me-mpeg-update</guid>
      <dc:creator>david.caabeiro</dc:creator>
      
    <category>Java</category>
         <pubDate>Wed, 28 May 2008 12:32:27 +0200</pubDate>
   <itunes:author>Forum Nokia</itunes:author>
   <itunes:subtitle>J2ME MPEG update</itunes:subtitle>
   <source url="http://blogs.forum.nokia.com/rss.php?blogId=26729&amp;profile=rss20">David Caabeiro&#039;s Forum Nokia Blog</source>
     </item>
    <item>
   <title>J2ME MPEG Decoder</title>
   <description>
    &lt;p&gt;
From time to time switching to other less used languages is a good thing (especially when doing Symbian) 
&lt;/p&gt;
&lt;p&gt;
I recall having seen requests to decode MPEG streams in J2ME (without relying on any media API such as the  MMAPI of course):
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;http://discussion.forum.nokia.com/forum/showthread.php?t=101607&quot; target=&quot;_blank&quot;&gt;http://discussion.forum.nokia.com/forum/showthread.php?t=101607&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://discussion.forum.nokia.com/forum/showthread.php?t=129788&quot; target=&quot;_blank&quot;&gt;http://discussion.forum.nokia.com/forum/showthread.php?t=129788&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Surprisingly enough I haven&#039;t seen any decoder so far. So this little hobby project aims to provide such functionality for MIDP 2.0 devices (CLDC 1.0).  
&lt;/p&gt;
&lt;p&gt;
The code is self explanatory (I hope) and I set up a page for it on the Wiki: &lt;a href=&quot;http://wiki.forum.nokia.com/index.php/J2ME_MPEG_decoder&quot;&gt;http://wiki.forum.nokia.com/index.php/J2ME_MPEG_decoder&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
As the text states, the main aim was providing a simple example for learning purposes. There&#039;s a  &lt;em&gt;&lt;strong&gt;lot of room&lt;/strong&gt; &lt;/em&gt;for improvement and optimization and it would be really nice to see some collaboration if anyone&#039;s interested. 
&lt;/p&gt;
&lt;p&gt;
Even though you won&#039;t get the performance available with the MMAPI, using a software decoder has some good pros:
&lt;/p&gt;
&lt;p&gt;
* You are in control of the code, which is rather lightweight (The current jar file size with no obfuscation is about 36KB)
&lt;/p&gt;
&lt;p&gt;
This also means not having to deal with differences and limitations in the implementation, bugs, etc, something the MMAPI has been quite good at (limited aspects, missing events, problems with full screen videos are some of the issues I recall in the past) 
&lt;/p&gt;
&lt;p&gt;
* More phones available, as you don&#039;t need to rely on the MMAPI 
&lt;/p&gt;
&lt;p&gt;
* Being in control of the stream(s), allowing to achieve things such as picture in picture, etc.
&lt;/p&gt;
&lt;p&gt;
An obvious improvement would be supporting MPEG-2 streams (H.264 / MPEG4-Part 10 would be the real achievement) and adding streaming functionality (RTP)
&lt;/p&gt;
&lt;p&gt;
A rather obvious problem is that audio is not supported, yet there are many possible use cases for this project (video surveillance being one of them)
&lt;/p&gt;
&lt;p&gt;
Oldest device I got with MIDP2 was a Nokia 7610, where (depending on the video) up to 5 fps was achieved. 
&lt;/p&gt;
&lt;p&gt;
Here&#039;s a screen capture rendering &amp;quot;The Wall&amp;quot;: 
&lt;/p&gt;
&lt;p&gt;
&lt;img src=&quot;http://blogs.forum.nokia.com//data/blogs/resources/26729/mpeg-decoder-wall.png&quot; alt=&quot;MPEG Decoder screen capture&quot; /&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Enjoy.-
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
   </description>
   <link>http://blogs.forum.nokia.com/blog/david-caabeiros-forum-nokia-blog/2008/05/16/j2me-mpeg-decoder</link>
   <comments>http://blogs.forum.nokia.com/blog/david-caabeiros-forum-nokia-blog/2008/05/16/j2me-mpeg-decoder</comments>
   <guid>http://blogs.forum.nokia.com/blog/david-caabeiros-forum-nokia-blog/2008/05/16/j2me-mpeg-decoder</guid>
      <dc:creator>david.caabeiro</dc:creator>
      
    <category>Java</category>
         <pubDate>Fri, 16 May 2008 22:48:35 +0200</pubDate>
   <itunes:author>Forum Nokia</itunes:author>
   <itunes:subtitle>J2ME MPEG Decoder</itunes:subtitle>
   <source url="http://blogs.forum.nokia.com/rss.php?blogId=26729&amp;profile=rss20">David Caabeiro&#039;s Forum Nokia Blog</source>
     </item>
   </channel>
</rss>