<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Using the AIR 2.0 Native Process API to control MPlayer</title>
	<atom:link href="http://mchristoff.com/2009/12/using-the-air-2-0-nativeprocess-api-to-control-mplayer/feed/" rel="self" type="application/rss+xml" />
	<link>http://mchristoff.com/2009/12/using-the-air-2-0-nativeprocess-api-to-control-mplayer/</link>
	<description>Participating in Life.</description>
	<lastBuildDate>Wed, 16 Feb 2011 11:04:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Rohit</title>
		<link>http://mchristoff.com/2009/12/using-the-air-2-0-nativeprocess-api-to-control-mplayer/comment-page-1/#comment-1542</link>
		<dc:creator>Rohit</dc:creator>
		<pubDate>Wed, 15 Sep 2010 14:08:25 +0000</pubDate>
		<guid isPermaLink="false">http://mchristoff.com/?p=111#comment-1542</guid>
		<description>This comment thread really got me thinking. I too am working on a video player application in air and was wondering if somehow i can actually play videos with mplayer and add a transparent canvas in air to cover this. I understand after xp this is not possible in the way discussed, but is there any other way? I would love it if I could add multiple format support to my AIR application.&lt;br&gt;&lt;br&gt;One way is alchemy port of ffmpeg...but thats a lot of work..any suggestions??</description>
		<content:encoded><![CDATA[<p>This comment thread really got me thinking. I too am working on a video player application in air and was wondering if somehow i can actually play videos with mplayer and add a transparent canvas in air to cover this. I understand after xp this is not possible in the way discussed, but is there any other way? I would love it if I could add multiple format support to my AIR application.</p>
<p>One way is alchemy port of ffmpeg&#8230;but thats a lot of work..any suggestions??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rohit</title>
		<link>http://mchristoff.com/2009/12/using-the-air-2-0-nativeprocess-api-to-control-mplayer/comment-page-1/#comment-1537</link>
		<dc:creator>Rohit</dc:creator>
		<pubDate>Wed, 15 Sep 2010 09:08:25 +0000</pubDate>
		<guid isPermaLink="false">http://mchristoff.com/?p=111#comment-1537</guid>
		<description>This comment thread really got me thinking. I too am working on a video player application in air and was wondering if somehow i can actually play videos with mplayer and add a transparent canvas in air to cover this. I understand after xp this is not possible in the way discussed, but is there any other way? I would love it if I could add multiple format support to my AIR application.&lt;br&gt;&lt;br&gt;One way is alchemy port of ffmpeg...but thats a lot of work..any suggestions??</description>
		<content:encoded><![CDATA[<p>This comment thread really got me thinking. I too am working on a video player application in air and was wondering if somehow i can actually play videos with mplayer and add a transparent canvas in air to cover this. I understand after xp this is not possible in the way discussed, but is there any other way? I would love it if I could add multiple format support to my AIR application.</p>
<p>One way is alchemy port of ffmpeg&#8230;but thats a lot of work..any suggestions??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Christoff</title>
		<link>http://mchristoff.com/2009/12/using-the-air-2-0-nativeprocess-api-to-control-mplayer/comment-page-1/#comment-1534</link>
		<dc:creator>Michael Christoff</dc:creator>
		<pubDate>Thu, 24 Jun 2010 18:27:34 +0000</pubDate>
		<guid isPermaLink="false">http://mchristoff.com/?p=111#comment-1534</guid>
		<description>No worries, at least I learned something =)&lt;br&gt;&lt;br&gt;Btw, it looks like Visa and above do things without an overlay according to&lt;br&gt;the wikipedia article.</description>
		<content:encoded><![CDATA[<p>No worries, at least I learned something =)</p>
<p>Btw, it looks like Visa and above do things without an overlay according to<br />the wikipedia article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shane Doolan</title>
		<link>http://mchristoff.com/2009/12/using-the-air-2-0-nativeprocess-api-to-control-mplayer/comment-page-1/#comment-1533</link>
		<dc:creator>Shane Doolan</dc:creator>
		<pubDate>Wed, 23 Jun 2010 00:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://mchristoff.com/?p=111#comment-1533</guid>
		<description>No you are not missing anything, I must be wrong in presuming os x would work in a similar way to windows. It would appear that os x does not use a color key and/or also takes into account if the window is clipped when determining which pixels to replace with video when performing the overlay.&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Hardware_overlay&quot; rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/wiki/Hardware_overlay&lt;/a&gt;&lt;br&gt;&lt;br&gt;I tried it on my machine running xp and can confirm it works, but I cant supply you a screenshot as the screenshot fails as expected when using video overlays... &lt;br&gt;&lt;br&gt;Sorry for leading you up the garden path!</description>
		<content:encoded><![CDATA[<p>No you are not missing anything, I must be wrong in presuming os x would work in a similar way to windows. It would appear that os x does not use a color key and/or also takes into account if the window is clipped when determining which pixels to replace with video when performing the overlay.</p>
<p><a href="http://en.wikipedia.org/wiki/Hardware_overlay" rel="nofollow">http://en.wikipedia.org/wiki/Hardware_overlay</a></p>
<p>I tried it on my machine running xp and can confirm it works, but I cant supply you a screenshot as the screenshot fails as expected when using video overlays&#8230; </p>
<p>Sorry for leading you up the garden path!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Christoff</title>
		<link>http://mchristoff.com/2009/12/using-the-air-2-0-nativeprocess-api-to-control-mplayer/comment-page-1/#comment-1532</link>
		<dc:creator>Michael Christoff</dc:creator>
		<pubDate>Wed, 23 Jun 2010 00:12:51 +0000</pubDate>
		<guid isPermaLink="false">http://mchristoff.com/?p=111#comment-1532</guid>
		<description>Not sure, I&#039;m missing something, but I gave it a try on os x and it didn&#039;t&lt;br&gt;seem to work. Checkout this screenshot:&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://img.skitch.com/20100623-1m6t852ww8r6hjjdjas9yf6umf.jpg&quot; rel=&quot;nofollow&quot;&gt;http://img.skitch.com/20100623-1m6t852ww8r6hjjd...&lt;/a&gt;&lt;br&gt;&lt;br&gt;I didn&#039;t size the AIR window to be exactly the size of the mplayer window...&lt;br&gt;is that a requirement? I figured I would get a cut off picture, but it would&lt;br&gt;at least prove or disprove the theory. Maybe I&#039;m still misunderstanding how&lt;br&gt;the overlay works.</description>
		<content:encoded><![CDATA[<p>Not sure, I&#39;m missing something, but I gave it a try on os x and it didn&#39;t<br />seem to work. Checkout this screenshot:</p>
<p><a href="http://img.skitch.com/20100623-1m6t852ww8r6hjjdjas9yf6umf.jpg" rel="nofollow">http://img.skitch.com/20100623-1m6t852ww8r6hjjd&#8230;</a></p>
<p>I didn&#39;t size the AIR window to be exactly the size of the mplayer window&#8230;<br />is that a requirement? I figured I would get a cut off picture, but it would<br />at least prove or disprove the theory. Maybe I&#39;m still misunderstanding how<br />the overlay works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shane Doolan</title>
		<link>http://mchristoff.com/2009/12/using-the-air-2-0-nativeprocess-api-to-control-mplayer/comment-page-1/#comment-1531</link>
		<dc:creator>Shane Doolan</dc:creator>
		<pubDate>Wed, 23 Jun 2010 00:02:01 +0000</pubDate>
		<guid isPermaLink="false">http://mchristoff.com/?p=111#comment-1531</guid>
		<description>thats exactly what I am saying, except that mplayer uses a key color of #020202. &lt;br&gt;&lt;br&gt;And again thats only tested in xp but I since the overlay is done by the graphics hardware I presume it would work the same in any operating system.&lt;br&gt;&lt;br&gt;Let me know if you try it.</description>
		<content:encoded><![CDATA[<p>thats exactly what I am saying, except that mplayer uses a key color of #020202. </p>
<p>And again thats only tested in xp but I since the overlay is done by the graphics hardware I presume it would work the same in any operating system.</p>
<p>Let me know if you try it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Christoff</title>
		<link>http://mchristoff.com/2009/12/using-the-air-2-0-nativeprocess-api-to-control-mplayer/comment-page-1/#comment-1530</link>
		<dc:creator>Michael Christoff</dc:creator>
		<pubDate>Tue, 22 Jun 2010 23:55:06 +0000</pubDate>
		<guid isPermaLink="false">http://mchristoff.com/?p=111#comment-1530</guid>
		<description>That is pretty interesting! I was unaware that video overlays worked like this.  So what your saying is that if I create an AIR window with the background color #000001, startup a video with mplayer, then position the AIR window in front of the video (keeping the size the same) the video will show in the AIR window?</description>
		<content:encoded><![CDATA[<p>That is pretty interesting! I was unaware that video overlays worked like this.  So what your saying is that if I create an AIR window with the background color #000001, startup a video with mplayer, then position the AIR window in front of the video (keeping the size the same) the video will show in the AIR window?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shane Doolan</title>
		<link>http://mchristoff.com/2009/12/using-the-air-2-0-nativeprocess-api-to-control-mplayer/comment-page-1/#comment-1529</link>
		<dc:creator>Shane Doolan</dc:creator>
		<pubDate>Tue, 22 Jun 2010 23:23:28 +0000</pubDate>
		<guid isPermaLink="false">http://mchristoff.com/?p=111#comment-1529</guid>
		<description>The color #000001 is the key color VLC selects to be replaced when the graphics card performs a video overlay, MPlayer uses #020202. To see what I mean press print screen on a playing video, you will get an (almost) black box in your screenshot where the video was playing. Take the same screenshot and drag it infront of the playing video and you will see the playing video appear in the screenshot.&lt;br&gt;&lt;br&gt;In this way you could control the size and location of mplayer or vlc in the background. All clicks, mouse moves, hot keys would be captured and handled by the Air application as the Air app maintains focus.&lt;br&gt;&lt;br&gt;Like I said its not pretty, and I have not tried this on anything other than windows xp. Just thought it could be an interesting approach to try.</description>
		<content:encoded><![CDATA[<p>The color #000001 is the key color VLC selects to be replaced when the graphics card performs a video overlay, MPlayer uses #020202. To see what I mean press print screen on a playing video, you will get an (almost) black box in your screenshot where the video was playing. Take the same screenshot and drag it infront of the playing video and you will see the playing video appear in the screenshot.</p>
<p>In this way you could control the size and location of mplayer or vlc in the background. All clicks, mouse moves, hot keys would be captured and handled by the Air application as the Air app maintains focus.</p>
<p>Like I said its not pretty, and I have not tried this on anything other than windows xp. Just thought it could be an interesting approach to try.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Christoff</title>
		<link>http://mchristoff.com/2009/12/using-the-air-2-0-nativeprocess-api-to-control-mplayer/comment-page-1/#comment-1528</link>
		<dc:creator>Michael Christoff</dc:creator>
		<pubDate>Tue, 22 Jun 2010 21:46:34 +0000</pubDate>
		<guid isPermaLink="false">http://mchristoff.com/?p=111#comment-1528</guid>
		<description>I get what your saying Shane. From what I can see though it doesn&#039;t look like mplayer already has an API for controlling the  video rectangle so that would be something that definitely could be done but would require moderately extensive mplayer source digging and a pretty good understanding how the GUI layer works on all of the platforms (the part that AIR abstracts!). Also, like you mentioned, it could get messy for certain interaction cases in the window, for example double click for full screen, showing on screen controls when the mouse moves, capture hot keys properly.&lt;br&gt;&lt;br&gt;Also, what do you mean by #000001? Don&#039;t you mean #000000 (black)? What is the purpose of having a slightly non-black target?</description>
		<content:encoded><![CDATA[<p>I get what your saying Shane. From what I can see though it doesn&#39;t look like mplayer already has an API for controlling the  video rectangle so that would be something that definitely could be done but would require moderately extensive mplayer source digging and a pretty good understanding how the GUI layer works on all of the platforms (the part that AIR abstracts!). Also, like you mentioned, it could get messy for certain interaction cases in the window, for example double click for full screen, showing on screen controls when the mouse moves, capture hot keys properly.</p>
<p>Also, what do you mean by #000001? Don&#39;t you mean #000000 (black)? What is the purpose of having a slightly non-black target?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shane Doolan</title>
		<link>http://mchristoff.com/2009/12/using-the-air-2-0-nativeprocess-api-to-control-mplayer/comment-page-1/#comment-1527</link>
		<dc:creator>Shane Doolan</dc:creator>
		<pubDate>Tue, 22 Jun 2010 07:07:40 +0000</pubDate>
		<guid isPermaLink="false">http://mchristoff.com/?p=111#comment-1527</guid>
		<description>I may be off target, but couldnt you position mplayer or vlc behind the Air app matching the size and location of a target rectange filled with the color #000001?&lt;br&gt;&lt;br&gt;As long as Video output is accelerated (therefore using an Overlay) the video should appear in place of the rectangle.&lt;br&gt;&lt;br&gt;Its not pretty, but as long as you could keep mplayer/vlc in the backgroud and the rectangles lined up it would appear as if the video was in the Air app.&lt;br&gt;&lt;br&gt;To try it out simply create an empty app or or open paint and give something a backgroud color of #000001 and drag it over a vlc/mplayer window...</description>
		<content:encoded><![CDATA[<p>I may be off target, but couldnt you position mplayer or vlc behind the Air app matching the size and location of a target rectange filled with the color #000001?</p>
<p>As long as Video output is accelerated (therefore using an Overlay) the video should appear in place of the rectangle.</p>
<p>Its not pretty, but as long as you could keep mplayer/vlc in the backgroud and the rectangles lined up it would appear as if the video was in the Air app.</p>
<p>To try it out simply create an empty app or or open paint and give something a backgroud color of #000001 and drag it over a vlc/mplayer window&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

