<?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"
	>
<channel>
	<title>Comments on: graps : capture OpenGL Frames</title>
	<atom:link href="http://blog.smr.co.in/linux/graps-capture-opengl-frames/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.smr.co.in/linux/graps-capture-opengl-frames/</link>
	<description>i.feel.good</description>
	<pubDate>Thu, 09 Sep 2010 00:36:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Doug</title>
		<link>http://blog.smr.co.in/linux/graps-capture-opengl-frames/#comment-108660</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Wed, 23 Sep 2009 23:50:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smr.co.in/cgi-bin/i.cgi/blogs/work/1146501847.html#comment-108660</guid>
		<description>what would be really cool is a way to direct the video stream out a 1394 port in DV format.  I'm thinking screencasting here and capturing the video on a HD camcorder.  My Sony HDR-HC5 only captures from a DV formatted Fireware/i.Link/IEEE1394 link.</description>
		<content:encoded><![CDATA[<p>what would be really cool is a way to direct the video stream out a 1394 port in DV format.  I&#8217;m thinking screencasting here and capturing the video on a HD camcorder.  My Sony HDR-HC5 only captures from a DV formatted Fireware/i.Link/IEEE1394 link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blog.smr.co.in/linux/graps-capture-opengl-frames/#comment-32992</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Sun, 30 Mar 2008 23:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smr.co.in/cgi-bin/i.cgi/blogs/work/1146501847.html#comment-32992</guid>
		<description>Correction to the above entry: By setting the capture frame size to the exact size of the Java3D frame, the recording was clear as a bell. Sweet.</description>
		<content:encoded><![CDATA[<p>Correction to the above entry: By setting the capture frame size to the exact size of the Java3D frame, the recording was clear as a bell. Sweet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blog.smr.co.in/linux/graps-capture-opengl-frames/#comment-32984</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Sun, 30 Mar 2008 18:28:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smr.co.in/cgi-bin/i.cgi/blogs/work/1146501847.html#comment-32984</guid>
		<description>I was hopeful after capturing glxgears worked but when I try to capture from a Java3D window all I get is static. I can capture using glxdump but the performance is lacking and there are slight amounts of jumping to the video.

Has anybody and ideas about this or even seen this scenario( native GL app works, Java3D does not )?</description>
		<content:encoded><![CDATA[<p>I was hopeful after capturing glxgears worked but when I try to capture from a Java3D window all I get is static. I can capture using glxdump but the performance is lacking and there are slight amounts of jumping to the video.</p>
<p>Has anybody and ideas about this or even seen this scenario( native GL app works, Java3D does not )?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Can Kavaklioglu</title>
		<link>http://blog.smr.co.in/linux/graps-capture-opengl-frames/#comment-16766</link>
		<dc:creator>Can Kavaklioglu</dc:creator>
		<pubDate>Mon, 03 Dec 2007 12:20:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smr.co.in/cgi-bin/i.cgi/blogs/work/1146501847.html#comment-16766</guid>
		<description>Hello,

I will be using the flip function. I guess I found a bug. If the 

j2 = image_height - j;

line is left as it is, the top row of the image does not get flipped. I think it should be 

j2 = image_height - j -1;

At least this is the case in my code.

Thanks again.
Can Kavaklioglu</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I will be using the flip function. I guess I found a bug. If the </p>
<p>j2 = image_height - j;</p>
<p>line is left as it is, the top row of the image does not get flipped. I think it should be </p>
<p>j2 = image_height - j -1;</p>
<p>At least this is the case in my code.</p>
<p>Thanks again.<br />
Can Kavaklioglu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Can Kavakl?o?lu</title>
		<link>http://blog.smr.co.in/linux/graps-capture-opengl-frames/#comment-16335</link>
		<dc:creator>Can Kavakl?o?lu</dc:creator>
		<pubDate>Sun, 25 Nov 2007 09:54:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smr.co.in/cgi-bin/i.cgi/blogs/work/1146501847.html#comment-16335</guid>
		<description>Many thanks for great explanation. Was looking for this trick for quite a time now.

One note, in the readme file it says the preferences file is called "~/grapsrc". But the code is looking for "~/.grapsrc" with the dot . I guess you need to fix one of them.

I have used parts of your code and put a reference to your page from this project's at:

http://robot.cmpe.boun.edu.tr/~ckavaklioglu/usarlinuxhook

Thanks again.
Can Kavaklioglu</description>
		<content:encoded><![CDATA[<p>Many thanks for great explanation. Was looking for this trick for quite a time now.</p>
<p>One note, in the readme file it says the preferences file is called &#8220;~/grapsrc&#8221;. But the code is looking for &#8220;~/.grapsrc&#8221; with the dot . I guess you need to fix one of them.</p>
<p>I have used parts of your code and put a reference to your page from this project&#8217;s at:</p>
<p><a href="http://robot.cmpe.boun.edu.tr/~ckavaklioglu/usarlinuxhook" rel="nofollow">http://robot.cmpe.boun.edu.tr/~ckavaklioglu/usarlinuxhook</a></p>
<p>Thanks again.<br />
Can Kavaklioglu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mineral</title>
		<link>http://blog.smr.co.in/linux/graps-capture-opengl-frames/#comment-11433</link>
		<dc:creator>Mineral</dc:creator>
		<pubDate>Fri, 07 Sep 2007 01:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smr.co.in/cgi-bin/i.cgi/blogs/work/1146501847.html#comment-11433</guid>
		<description>Project is dead? I found similar project: wiki.vislab.usyd.edu.au/moinwiki/VideoCreationGuide (file glxdump.c), but your is more cool :)

Idea grab glXSwapBuffers is great! It can't skip any frame! Low fps, but all frames will go via graps!

I was need write screensaver, but uncompressed images fast wasted my hdd... So I patched this for direct video encoding :)

At first, I found bug, see "grap.width*grap.width*3" at sources :)
Next, file open, which write images, moved to "graps_firsttime", and changed to constant name, so all frames go to single file. And removed header writing + file closing. As result I have single file of raw RGB24 video :)

Need patch? Can send to you.

Make fifo:
$ mkfifo videopipe
where "videopipe" - is file, which white graps

Then start video encoder, like this:
$ mencoder videopipe -rawvideo w=1000:h=700:fps=25:format=RGB24 -demuxer rawvideo -o output.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800  

and start any openGL software, for example, screensaver:
$ bash run.sh kxsrun flyingtoasters -- -geometry 1000x700

When openGL application stopped, video encoding will stop too. Enjoy :)

Very important make similar sizes at mencoder and at window size.</description>
		<content:encoded><![CDATA[<p>Project is dead? I found similar project: wiki.vislab.usyd.edu.au/moinwiki/VideoCreationGuide (file glxdump.c), but your is more cool <img src='http://blog.smr.co.in/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Idea grab glXSwapBuffers is great! It can&#8217;t skip any frame! Low fps, but all frames will go via graps!</p>
<p>I was need write screensaver, but uncompressed images fast wasted my hdd&#8230; So I patched this for direct video encoding <img src='http://blog.smr.co.in/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>At first, I found bug, see &#8220;grap.width*grap.width*3&#8243; at sources <img src='http://blog.smr.co.in/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Next, file open, which write images, moved to &#8220;graps_firsttime&#8221;, and changed to constant name, so all frames go to single file. And removed header writing + file closing. As result I have single file of raw RGB24 video <img src='http://blog.smr.co.in/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Need patch? Can send to you.</p>
<p>Make fifo:<br />
$ mkfifo videopipe<br />
where &#8220;videopipe&#8221; - is file, which white graps</p>
<p>Then start video encoder, like this:<br />
$ mencoder videopipe -rawvideo w=1000:h=700:fps=25:format=RGB24 -demuxer rawvideo -o output.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800  </p>
<p>and start any openGL software, for example, screensaver:<br />
$ bash run.sh kxsrun flyingtoasters &#8212; -geometry 1000&#215;700</p>
<p>When openGL application stopped, video encoding will stop too. Enjoy <img src='http://blog.smr.co.in/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Very important make similar sizes at mencoder and at window size.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kopos</title>
		<link>http://blog.smr.co.in/linux/graps-capture-opengl-frames/#comment-1430</link>
		<dc:creator>kopos</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smr.co.in/cgi-bin/i.cgi/blogs/work/1146501847.html#comment-1430</guid>
		<description>nice...&lt;br/&gt;so its an alternative to fraps?! cool :D how does it compare in performance wrt fraps?</description>
		<content:encoded><![CDATA[<p>nice&#8230;<br />so its an alternative to fraps?! cool <img src='http://blog.smr.co.in/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> how does it compare in performance wrt fraps?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smr</title>
		<link>http://blog.smr.co.in/linux/graps-capture-opengl-frames/#comment-1431</link>
		<dc:creator>smr</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smr.co.in/cgi-bin/i.cgi/blogs/work/1146501847.html#comment-1431</guid>
		<description>vs fraps&lt;br/&gt;@kopos&lt;br&gt;i never tried fraps. but i guess nowhere close to fraps. in graps i'm using a hack to make it work. the point is that its small and it works.</description>
		<content:encoded><![CDATA[<p>vs fraps<br />@kopos<br />i never tried fraps. but i guess nowhere close to fraps. in graps i&#8217;m using a hack to make it work. the point is that its small and it works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chetan</title>
		<link>http://blog.smr.co.in/linux/graps-capture-opengl-frames/#comment-1432</link>
		<dc:creator>chetan</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smr.co.in/cgi-bin/i.cgi/blogs/work/1146501847.html#comment-1432</guid>
		<description>images created upside down&lt;br/&gt;Hi,&lt;br&gt;&lt;br&gt;I tried using graps , but the images formed are upside-down !!!&lt;br&gt;Where may be the fault ?</description>
		<content:encoded><![CDATA[<p>images created upside down<br />Hi,</p>
<p>I tried using graps , but the images formed are upside-down !!!<br />Where may be the fault ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smr</title>
		<link>http://blog.smr.co.in/linux/graps-capture-opengl-frames/#comment-1433</link>
		<dc:creator>smr</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smr.co.in/cgi-bin/i.cgi/blogs/work/1146501847.html#comment-1433</guid>
		<description>Re:&lt;br/&gt;Yeah... by default graps creates upside down images. coz thats what glReadPixel gives. Correcting this in realtime might cause fps to drop a little.&lt;br&gt;A flag can be enabled in graps config file to do this correction in realtime.</description>
		<content:encoded><![CDATA[<p>Re:<br />Yeah&#8230; by default graps creates upside down images. coz thats what glReadPixel gives. Correcting this in realtime might cause fps to drop a little.<br />A flag can be enabled in graps config file to do this correction in realtime.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
