Re: Ogle-user digest, Vol 1 #627 screenshot issues
Neil Goldberg <[email protected]>
| Newsgroups | gmane.comp.video.ogle.user |
|---|---|
| Organization | MITRE |
| Message-ID | <[email protected]> |
> > Message: 1 Date: Sat, 20 Mar 2004 15:40:14 -0800 (GMT-08:00) From: > Scott Dickerman <[email protected]> Reply-To: Scott Dickerman > <[email protected]> To: [email protected] Subject: > [Ogle-user] Screenshots using Ogle > > Hi: > > I'm trying to take screen captures of a DVD I am playing, but nothing > is working. I try using "i", but I have no idea where > "screenshoot.jpg" would be stored. If it would be anywhere, it'd be the current directory you started ogle from. Failing that, your home directory. > And judging by the log file... ...on the subject back in November > (http://lists.berlios.de/pipermail/ogle-user/2003-November/001793.html), > but your response seemed to amount to reinstalling the tarballs for > both Ogle and Ogle_gui. Well, the post indicates that there is a bug with taking screenshots in 0.9.2 release. I note that the RPMs on freshrpms have not been updated since. The fix was added to the source code in CVS, but no one has made binaries of it since. Therefore, you must download and rebuild from source if you want screenshots to work properly! > > Stranger still, I tried to take screenshotes using GIMP, KSnapshot, > the GNOME snapshot program (whatever it's called) and XV. XV merely > crashed, but the other 3 programs revealed a hole revealing a spotted > window showing what was below at that moment where the Ogle window > was supposed to be rather than what I was taking a picture of. This is supposed to happen. ogle does not paint the picture from the DVD onto the window directly. It uses the XVideo extension to use the hardware in the graphics card directly to convert and scale the image from the decoded video, overlaying what's underneath. What's underneath is whatever ogle puts there, which usually is the color blue or magenta for programs that use XVideo. That color is used for compositing (the card will only display the overlay where that color exists in the framebuffer). ogle just tells the video card where to display the overlay and how big it should be, then it feeds it the YUV encoded data to scale and display. When you take a screenshot using XV or GNOME snapshot or whatever, the only thing available to the software that it can see is that blue or purple window, not the DVD video itself. The screenshot feature is a part of ogle that tells it to manually decode the YUV and scale it, then write it to a file on the disk. Which is why you need the CVS tarball... Yours, Neil
smime.p7s
(application/x-pkcs7-signature, 2.8 KB) - not displayed