.kkapture 0.01 - demo capturing made easy (hopefully)
category: code [glöplog]
didn't hear from my us correspondent yet :), but i'm releasing this anyway, since really it should work.
new features: all of the above, plus FMODEx support, plus d3d10 support (the latter only tested on texas, so it's bound to have some rough edges - feel free to post bug reports here :).
next version shouldn't take as long as this version. main change will be getting rid of detours (finding detours 1.5 is getting harder and harder and 2.0 has funky licensing conditions). oh, and the next version will be called kapture 1.00. even by my perfectionist standards, kkapture is sufficiently stable by now to get a proper major release :)
new features: all of the above, plus FMODEx support, plus d3d10 support (the latter only tested on texas, so it's bound to have some rough edges - feel free to post bug reports here :).
next version shouldn't take as long as this version. main change will be getting rid of detours (finding detours 1.5 is getting harder and harder and 2.0 has funky licensing conditions). oh, and the next version will be called kapture 1.00. even by my perfectionist standards, kkapture is sufficiently stable by now to get a proper major release :)
oh, of course, you can download 0.08 from the usual location: http://www.farbrausch.de/~fg/kkapture/
Yeah! Voidspace is working. You made me very happy. Thanks ryg!
had the same here. no clue.
Also the 3D objects are flickering... I remember it to be working on my ATI 9700 Mobility. Now I have a Geforce 9650M (Drivers v182.06). Must be that...
probably buggy ddraw code.
hmmm. actually, maybe i could have it draw directly into the memory buffer i'm capturing (where i can set up "carefully controlled conditions") and not display anything at all :)
hmmm. actually, maybe i could have it draw directly into the memory buffer i'm capturing (where i can set up "carefully controlled conditions") and not display anything at all :)
Something else: "Antimoney" by Threestate (known for producing un-kkaptureable demos :) ) seems to use a paletted format. Kkapture doesn't do much.
Code:
main: initializing...
main: all main components initialized.
main: reading parameter block...
main: initialization done
video: DirectDrawCreate successful
avi_vfw: AVIFileOpen failed
main: video encoder initialized.
video: capturing at 512x384
video: paletted pixel format
video: couldn't get palette!
video: couldn't get palette!
sound: emulating DirectSound
sound: buffer created
sound: buffer created
sound: play
main: ctrl+break pressed, stopping recording...
main: shutting down...
timing: 5.43 frames per second on average
main: everything ok, closing log.
I tried "automatic frameskip", but I guess only sound will be captured.
kkapture normally works fine with paletted demos, and antimoney actually used to work for quite some time. hm.
anyway, kkapture tries to get the palette every frame, so it "only" failing twice and during initialization shouldn't be much of a problem. the "AVIFileOpen failed" is more likely to be the issue :)
anyway, kkapture tries to get the palette every frame, so it "only" failing twice and during initialization shouldn't be much of a problem. the "AVIFileOpen failed" is more likely to be the issue :)
Hahaha. Didn't even see that. Time to got to sleep probably ;)
Cool idea with the internal buffer, ryg! That way you could work around driver differences etc. But that is probably a bit of work...
Similar things happen with "louis lane" by blasphemy. Really strange display artifacts...
Cool idea with the internal buffer, ryg! That way you could work around driver differences etc. But that is probably a bit of work...
Similar things happen with "louis lane" by blasphemy. Really strange display artifacts...
a lot of the early ddraw demos just assumed that rows came directly after each other in display memory, except nowadays they usually don't :)
get antimoney here to start just fine (make sure to turn on "skip digital silence at start"), but it stops after a second or so. strange. i know that it used to work with older versions of kkapture, but now i can't get it to run with one of the "back issues" either.
get antimoney here to start just fine (make sure to turn on "skip digital silence at start"), but it stops after a second or so. strange. i know that it used to work with older versions of kkapture, but now i can't get it to run with one of the "back issues" either.
Quote:
the "AVIFileOpen failed" is more likely to be the issue :)
What format does kkapture convert the frames to? Always R8G8B8? I tried to save uncompressed and then AVIFileOpen didn't fail. Maybe something with the codec...
always rgb888, yeah. some codecs barf without any particular reason on some resolutions though.
I think I've tried "skip digital silence at start", but wtf, now it works. It only shows the first scene though "anti... money..." and loops there...
make sure codecs get a width that is multiple of at least 4, or better 16 pixels then you can be sure they do not screw up. Also make sure that stride is rounded to the nearest DWORD: http://msdn.microsoft.com/en-us/library/ms779712(VS.85).aspx (bottom part)
I've had some problems with VFW myself...
I've had some problems with VFW myself...
Aaaand: Talent - Wonders never cease isn't working. Nothing captured with different settings. It repeats the first scene over and over again. Also the the logo overlay and screen flashes are not visible when kkapturing.
Code:
main: initializing...
main: all main components initialized.
main: reading parameter block...
main: initialization done
video: DirectDrawCreate successful
main: video encoder initialized.
video: capturing at 640x480
sound: emulating DirectSound (created via CoCreateInstance)
sound: buffer created
sound: buffer created
sound: play
sound: play
main: shutting down...
main: hook thread exiting
timing: 0.00 frames per second on average
avi_vfw: stopped recording
avi_vfw: avifile shutdown complete
main: everything ok, closing log.
Also "Lost Vegas" isn't working for me. It runs for 2-3 seconds and then freezes. Tried different options.
When I run "Some bookprint and a broken heart" I get only the first scene, and this log output:
When I press "CTRL-BREAK" the desktop is screwed up, as if the resolution wasn't restored correctly.
...I'll change my nick into "rygs royal pain int the ass" some day... ;)
Code:
main: initializing...
main: all main components initialized.
main: reading parameter block...
main: initialization done
video: DirectDrawCreate successful
main: video encoder initialized.
video: capturing at 640x400
sound: waveOutOpen 00000000 (44100 hz, 16 bits, 2 channels)
sound: waveOutClose 009658d8
sound: waveOutOpen 00000000 (44100 hz, 16 bits, 2 channels)
avi_vfw: opened video stream at 60.000 fps (6000/100)
avi_vfw: opened audio stream at 44100 hz, 2 channels, 16 bits
main: ctrl+break pressed, stopping recording...
main: shutting down...
timing: 47.86 frames per second on average
avi_vfw: stopped recording
avi_vfw: AVIFileOpen failed
main: video encoder initialized.
video: could not create blit target
avi_vfw: avifile shutdown complete
main: everything ok, closing log.
When I press "CTRL-BREAK" the desktop is screwed up, as if the resolution wasn't restored correctly.
...I'll change my nick into "rygs royal pain int the ass" some day... ;)
I just started "Fall equals winter" at my work computer and it looks correct. Must be the driver then probably...
The flickering is still there though, as you can see here.
(600kb). It flickers only when kkaptured.
is it possible to capture the whole screen-resolution in windowed mode? i mean if i want to capture two-or more windows at the same time?
no. kkapture is not a screengrabber, it intercepts the drawing calls of indiivdual applications.