Next Generation Emulation banner
1 - 18 of 18 Posts

·
Premium Member
Joined
·
17,148 Posts
Discussion Starter · #1 · (Edited)
How accurate could a screen capture code ever be?
Interesting question isn´t???? a question that probably coders and non-coders are looking for an answer, just like any other Person/user/coder in this freaky world i´ve asked myself that question in the last time and therefore i was looking for answers... the results??? well all i can tell is that is just a dissaster!

after doing some research and downloading a couple of crappy apps i came to the conclution that only two software available out there are usable when it comes to screen capture in Windows and that´s no other than Camtasia and hypercam... sadly both apps dissapointed me as they do not recorded the screen as i spected or at all and not to mention that recording from the speakers didn´t work either in both apps but only mic which is annoying. another option is Fraps but it just records fullscreen windows while they are running not to mention the insane amount of space a single raw record requires on your poor HDD... so after such a dissapointment i ask myself again "Could a screen capture code be ever accurate enough to be usable???" taking in mind that the mentioned apps are created by big teams and awesome tools the answer could be "No, its not possible" which was the first logical answer that came to my mind..

as many of you probably know am the kind of coder that doesn´t accept by any means the sentence "No, its not possible" as it pretty gets on my nerves... so after i came to the conclution that it "May not be possible" i started to think how could i change that... the other day while i was watching my daugther play besides our TV i think i understood how our eyes capture images and send them to our brain so we can see something move or different colors etc. our eyes concentrate in the object moving while it ignores the rest somehow so it focus the main work into the area that we are looking at. i noticed that because my daugther was playing around and on our TV a small fly was flying around and i couldn´t get both my daugther and the fly at the sametime in the same focus...even knowing that isn´t gonna be a easy task i took all that info and started the work and opened my freaky Visual Studio. at the beginning i thought i will never get it but after thinking on my now already old file loading algorithm results which was able to load 258GB of audio information and scan 54000 files in less than 20 seconds i thought i should at least try :D

the results????? well is not optimized as it should but i´ve created probably the most accurate screen capture to my knowledge and without big performance penalties :evil: :evil: :evil:

The original size of the video is 1392x928.


if you know any other screen capture app that you consider accurate please share it with me as its going to help me with the development of my classes and tests.

Regards
@ruantec
 

·
Premium Member
Joined
·
17,148 Posts
Discussion Starter · #3 · (Edited)
So.. you created a capture program?
Classes written in C# that uses @ES graphics engine to capture the screen as shown in the video ;) atm @ES owns those classes but am still thinking if i should create a separate program using @ES core + classes.

btw:
in the video of the main post @ES is handling image processing of the coverflow, playing a song, handling some internal code execution and at the same time capturing the screen in a video and catupring the audio comming from my speakers... as you can see it doesn´t take much resources at all that could affect the performance of Dolphin which is emulating Super Mario Sunshine at the sametime :thumb:
 

·
Premium Member
Joined
·
17,148 Posts
Discussion Starter · #5 ·
Pretty awesome. Capture looks alot smother than the alternatives.

You need to sell some of this stuff, man!
Thank you :thumb:

i´ve been thinking to create an stand-alone app using @ES core and the capturing classes and sell it to make some cash... who knows maybe one day you´re going to see one of my apps at your local store ;)
 

·
No sir, I don't like it.
Joined
·
5,571 Posts
Virtualdub used to be my screen capture program of choice... until Microsoft dropped GDI in favor of Aero and Direct2D.

VDub has OpenGL accelerated capture that allowed me to capture lossless video at [email protected] in XP. Unfortunately, all you capture in Vista/7 is a black screen. Maybe Avery Lee will get around to fixing this later on as he has apparently upgraded to 7.
 

·
Premium Member
Joined
·
17,148 Posts
Discussion Starter · #8 ·
your post is kind of incoherent. what does what your eyes focus on have to do with anything?
am a weird coder and weird things brings me to the right direction.. as i mentioned in other posts the algorithm i created that is able to load informations of 258GB of pure audio in 20 seconds was created because one day in the morning while eating some cheese balls i got that idea and i used the cheese balls later to simulate the flow.. the eye focusing gave me an idea how to improve performance and it indeed work... probably is the weird way i have to accomplish my stuff or probably the way i think dunno.. one thing i know for sure.. most of the times weird things that are clear for me aren´t clear for others and sadly i rarely find the right words to explain them... not to mention how bad my english is lol.

Virtualdub used to be my screen capture program of choice... until Microsoft dropped GDI in favor of Aero and Direct2D.

VDub has OpenGL accelerated capture that allowed me to capture lossless video at [email protected] in XP. Unfortunately, all you capture in Vista/7 is a black screen. Maybe Avery Lee will get around to fixing this later on as he has apparently upgraded to 7.
that´s pretty awesome!!! i think am going to try it out but first i need XP installed on my lappy :D
 

·
No sir, I don't like it.
Joined
·
5,571 Posts
I think he's saying it captures movement in interframes. Static scenes are just rehashed from frame to frame until movement occurs. When it does, only the areas of movement are updated in the frames that follow.
 

·
Premium Member
Joined
·
17,148 Posts
Discussion Starter · #10 ·
I think he's saying it captures movement in interframes. Static scenes are just rehashed from frame to frame until movement occurs. When it does, only the areas of movement are updated in the frames that follow.
at least someone that got the point :thumb: well it works similar to what you explained there so your explanation is very close ;)
 

·
No sir, I don't like it.
Joined
·
5,571 Posts
From VDub:

Occlusion query support allows duplicate frames to be removed on the video card with neglegible CPU load. Occlusion query support requires the NV_occlusion_query OpenGL extension (this is generally supported on 3D accelerators from both NVIDIA and ATI).
There's this and RGB > YUV color conversion in hardware that massively accelerates capture.
 

·
Premium Member
Joined
·
17,148 Posts
Discussion Starter · #12 · (Edited)
From VDub:



There's this and RGB > YUV color conversion in hardware that massively accelerates capture.
Nice :thumb: in my case i use hardware acceleration(DX) to speed up the capture and get the results showed in the video..am still not happy with the results tho. as there´s enough room still for optimizations and i do believe that speed can be even faster and the capture code more accurate...last but not least with standard methods its impossible to get rasonable speeds and therefore Camtasia and Hypercam fail when it comes to accurate screen capture. now about VDub... i think its an awesome app(even if i haven´t tested yet) but relying on OpenGL in windows isn´t a good idea atm... at least not with the troubles vendors are having to bring razonable OpenGL support to Windows above XP.
 

·
Premium Member
Joined
·
17,148 Posts
Discussion Starter · #14 · (Edited)
Oh, the ideas that a small fly can bring may change the world forever. Butterfly effect? =P
nah.. i can´t say it was the fly or my daugther actually :p but i was looking for an idea to comprehend in a easy way how the hell do our eyes catch things and send them to our brain(i know how it works from books but it wasn´t actually what i was looking for) anyways i made a test today using a higher resolution and instead of 30fps i used 60fps, for the audio i used lossless sound(the quality of the orginal file its alot better just in case).

 

·
クロスエクス
Joined
·
4,662 Posts
Oooh... you made that video at an even higher resolution and double frame rate? So awesome.

Can it capture games? You could be making the new FRAPS. The @ruanFROP! (my, what a horrible name).
If so and a few features, you would have a Best Seller I think.
 

·
Premium Member
Joined
·
17,148 Posts
Discussion Starter · #16 ·
Oooh... you made that video at an even higher resolution and double frame rate? So awesome.

Can it capture games? You could be making the new FRAPS. The @ruanFROP! (my, what a horrible name).
If so and a few features, you would have a Best Seller I think.
Yes, my actual code can capture everything that moves on your display as it acts like an "EYE" lol and the brain is @ES :D sadly youtube reduce the quality of the video and you can´t see the actual quality of the video... so that you can get an idea about the quality i´ve uploaded this image at imageshack of the original video running on WMP:


and here another pic to show the changes in bitrate, sizes and fps:
 

·
Premium Member
Joined
·
17,148 Posts
Discussion Starter · #18 ·
@ruantec, you're like the new aldo XD
liking the crisp quality and clear audio. should we expect a release soon?
Aldo, Aldo, Aldo.... its been a long time since i last talked to my mate Aldo.. i remember we worked on some stuff toguether in the past.. actually the good old ngemu days :D we were the only Dominican coders here hehehehe. eitherway thank you for that as Aldo is one of the greates coders i´ve met here at ngemu not to mention we were born in the same country and city :D

a release? well i actually didn´t thought on that yet as all am doing are some test to my code and @ES but who knows what the near future brings ;) the screen capture is actually one of my secret projects am working on right now so there´s still a lot more to come :thumb:
 
1 - 18 of 18 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top