<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.jbkempf.com/blog/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Yet another blog for JBKempf - Tag - VAAPI</title>
  <link>http://www.jbkempf.com/blog/</link>
  <atom:link href="http://www.jbkempf.com/blog/feed/tag/VAAPI/rss2" rel="self" type="application/rss+xml"/>
  <description>This is the blog of Jean-Baptiste Kempf. I will share some info about my life, my works and my VideoLAN work</description>
  <language>en</language>
  <pubDate>Mon, 06 Feb 2012 11:49:19 +0100</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>On the road to VLC 1.1.0 part 1: faster</title>
    <link>http://www.jbkempf.com/blog/post/2010/03/15/On-the-road-to-VLC-1.1.0%3A-faster</link>
    <guid isPermaLink="false">urn:md5:f852eaa3f3c13336a85fd56a72a26351</guid>
    <pubDate>Mon, 15 Mar 2010 07:29:00 +0100</pubDate>
    <dc:creator>Jean-Baptiste Kempf</dc:creator>
        <category>VideoLAN</category>
        <category>1.1.0</category><category>Atom</category><category>DxVA2</category><category>GPU</category><category>H.264</category><category>Maemo</category><category>N900</category><category>nVidia</category><category>OpenMax</category><category>VAAPI</category><category>VLC</category><category>Windows</category>    
    <description>    &lt;p&gt;Let&amp;#8217;s go on with the first part of my articles to introduce you to VLC &lt;a href=&quot;http://www.jbkempf.com/blog/tag/1.1.0&quot;&gt;1.1.0&lt;/a&gt;.&lt;/p&gt;


&lt;h2&gt;Decoding HD&lt;/h2&gt;

&lt;p&gt;In these days of HD video, speeding of decoding is more and more critical, and &lt;a href=&quot;http://www.jbkempf.com/blog/tag/VLC&quot;&gt;VLC&lt;/a&gt; has not shine on these aspects lately, especially on &lt;a href=&quot;http://www.jbkempf.com/blog/tag/H264&quot;&gt;H.264&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;VLC 1.1 should partly fix those issues, with:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;faster CPU decoding, especially on &lt;a href=&quot;http://www.jbkempf.com/blog/tag/Windows&quot;&gt;Windows&lt;/a&gt;,&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.jbkempf.com/blog/tag/GPU&quot;&gt;GPU&lt;/a&gt; decoding on Windows Vista/7 and on Linux,&lt;/li&gt;
&lt;li&gt;DSP decoding with OpenMax IL on embedded Linux, like &lt;a href=&quot;http://www.jbkempf.com/blog/tag/Maemo&quot;&gt;Maemo&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;GPU decoding&lt;/h3&gt;

&lt;p&gt;Using &lt;a href=&quot;http://www.jbkempf.com/blog/tag/DxVA2&quot;&gt;DxVA2&lt;/a&gt; on Windows Vista and 7 and &lt;a href=&quot;http://www.jbkempf.com/blog/tag/VAAPI&quot;&gt;VAAPI&lt;/a&gt; on Linux, the decoding stage of VLC framework can now be done by the GPU.&lt;/p&gt;


&lt;p&gt;If you have a compatible GPU, especially an &lt;a href=&quot;http://www.jbkempf.com/blog/tag/nVidia&quot;&gt;nVidia&lt;/a&gt;, it should go way faster. VLC should consume less than 10% of your CPU and your CPU shouldn&amp;#8217;t be at full speed anymore.&lt;/p&gt;


&lt;p&gt;It even works on &lt;strong&gt;Ion&lt;/strong&gt;/&lt;a href=&quot;http://www.jbkempf.com/blog/tag/Atom&quot;&gt;Atom&lt;/a&gt; machines! This is cool for HTPC.&lt;/p&gt;


&lt;h3&gt;DSP decoding using OpenMax IL&lt;/h3&gt;

&lt;p&gt;VLC has a new decoder that can use &lt;a href=&quot;http://www.khronos.org/openmax/&quot; hreflang=&quot;en&quot;&gt;OpenMax IL&lt;/a&gt; codecs for DSP decoding&lt;/p&gt;


&lt;p&gt;If this is chinese to you, it means that VLC is almost the same speed and energy consumption than the native player on the &lt;a href=&quot;http://www.jbkempf.com/blog/tag/N900&quot;&gt;N900&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.jbkempf.com/blog/tag/OpenMax&quot;&gt;OpenMax&lt;/a&gt; IL in VLC can &lt;strong&gt;decode&lt;/strong&gt; and &lt;strong&gt;encode&lt;/strong&gt; most of the codecs: Mpeg2, Mpeg4, H264, H263, WMV1, WMV2, WMV3, RV10, RV20, RV30, RV40 and aac, amr, mp3.&lt;/p&gt;


&lt;h2&gt;Better audio pipeline&lt;/h2&gt;

&lt;p&gt;Also, the audio pipeline has been reworked, (and accelerated on ARM devices), so that we less conversion occur and better filtering happen.&lt;/p&gt;


&lt;p&gt;Of course, audio is not that critical today, but it just makes VLC a better audio player.&lt;/p&gt;


&lt;h2&gt;Less Ram and Less threads&lt;/h2&gt;

&lt;p&gt;VLC 1.1 should use less threads as &lt;a href=&quot;http://www.remlab.net/op/vlc-threads.shtml&quot; hreflang=&quot;en&quot;&gt;Rémi wrote&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;VLC 1.1 should also use less Ram than 1.0.5, even though, this might not be very visible in all situations.&lt;/p&gt;


&lt;h2&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;VLC 1.1.0 should be faster to decode, using less CPU and able to leverage GPU and DSPs; it should use less RAM and less threads. What more do you want&amp;#160;?&lt;/p&gt;



&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;
&lt;a href=&quot;http://www.jbkempf.com/blog/post/2010/03/20/On-the-road-to-VLC-1.1.0-part-2%3A-better&quot;&gt;Part 2: Better&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Decoding video in VLC using VAAPI and nVidia</title>
    <link>http://www.jbkempf.com/blog/post/2009/04/19/Decoding-video-in-VLC-using-VAAPI-and-nVidia</link>
    <guid isPermaLink="false">urn:md5:478a5af5a1cf1fcd1a9dd97ae1c69ae4</guid>
    <pubDate>Sun, 19 Apr 2009 22:51:00 +0200</pubDate>
    <dc:creator>Jean-Baptiste Kempf</dc:creator>
        <category>VideoLAN</category>
        <category>GPU</category><category>HD</category><category>VAAPI</category><category>VLC</category>    
    <description>    &lt;p&gt;&lt;em&gt;I know Phoronix people don't come around here, and that most people reading this blog don't care, but anyway...&lt;/em&gt;&lt;/p&gt;


&lt;h2&gt;GPU video decoding on Linux&lt;/h2&gt;

&lt;p&gt;On linux, decoding video using GPU means different standards:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/VaAPI&quot; hreflang=&quot;en&quot;&gt;VA-API&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/VDPAU&quot; hreflang=&quot;en&quot;&gt;VDPAU&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/XvBA&quot; hreflang=&quot;en&quot;&gt;XvBA&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Fortunately, we can use VDPAU (nVidia) as a backend to VAAPI.  And there is a very nice library, named &lt;a href=&quot;http://www.splitted-desktop.com/~gbeauchesne/libva/&quot; hreflang=&quot;en&quot;&gt;libva&lt;/a&gt;.&lt;/p&gt;


&lt;h2&gt;VLC and VAAPI&lt;/h2&gt;


&lt;p&gt;So far, most patches were done on MPlayer and FFmpeg, but here we go:&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.jbkempf.com/blog/public/VideoLAN/VLC_VAAPI.png&quot;&gt;&lt;img src=&quot;http://www.jbkempf.com/blog/public/VideoLAN/.VLC_VAAPI_m.jpg&quot; alt=&quot;VLC - VAAPI&quot; title=&quot;VLC - VAAPI, avr. 2009&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;The sample is a M2TS with H.264 encoded at 32Mbps.
Decoding is done without audio and subs and with a command line interface.&lt;/p&gt;


&lt;h2&gt;Performances&lt;/h2&gt;

&lt;p&gt;The perfs are quite nice, but they might be better. Why?&lt;/p&gt;


&lt;p&gt;Because we don't output directly the video, we just take it back from the decoder, so we have a lot of memcpy, which explains why the decoding could be faster, but isn't...&lt;/p&gt;


&lt;h4&gt;Does this mean I can decode using GPU and then restream using VLC?&lt;/h4&gt;

&lt;p&gt;In theory, yes. Not tested yet :D&lt;/p&gt;</description>
    
    
    
      </item>
    
</channel>
</rss>
