Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Writing AVI Directly from darkbasic using blitzavi.dll

Author
Message
TIGER
21
Years of Service
User Offline
Joined: 31st Aug 2002
Location: Argentina
Posted: 7th Feb 2004 18:49
This function was originaly written for Blitz but iv made a translation.
Works exactly the same way how it works in blitz.

Make sure not to hide mouse and set window on


The dll you can download from here.
www.studiox64.com/download.php?get=pc/blitzavi.zip

enjoy
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 9th Feb 2004 17:52 Edited at: 9th Feb 2004 17:52
I look forward to trying it out! This will save me a lot of disk space and messing around with bitmaps

BatVink (formerly StevieVee)
http://facepaint.me.uk/catalog/default.php
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 9th Feb 2004 20:28 Edited at: 9th Feb 2004 20:53
so i can use this to make .avi's of my programs? sounds cool
answering my own question... yes i can!!! this is so cool a little slow and i think i need to play around with the frame times or something but it works very nicely thanks!!!!


GO TO THE ETERNAL DESTINY FORUMS!!! http://forums.eternaldestinyonline.com
Do it now!!!
D Man
21
Years of Service
User Offline
Joined: 3rd Oct 2002
Location: Germany
Posted: 9th Feb 2004 22:57
That could be very useful.
Thanks for releasing it!

God is real, unless declared integer.
MiRRoRMaN 64
20
Years of Service
User Offline
Joined: 11th Jan 2004
Location:
Posted: 13th Feb 2004 11:04
Have u got a working sourcecode for how to use it in DarkBASIC? Sorry for being way stupid, but I really need a small example


x2sys.hatesit.com
TIGER
21
Years of Service
User Offline
Joined: 31st Aug 2002
Location: Argentina
Posted: 13th Feb 2004 17:33
Hm ..... Try this.
Mussi
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 14th Feb 2004 18:20
I can't get it to work , do we have to use the grab image and save image commands for this? that's waaaaaaaaay to slow for that



Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 14th Feb 2004 18:57
thats what i've been using mussi, but copy and save bitmap are probably faster


GO TO THE ETERNAL DESTINY FORUMS!!! http://forums.eternaldestinyonline.com
Do it now!!!
Mussi
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 14th Feb 2004 19:35
there is no save bitmap command in DBpro
why won't my avi files play ?it always gives an error that the avi file can't be read.



Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 14th Feb 2004 19:59
damn sorry, i was looking at tiger's code.
i use this code:



with the blitzavi.dll in the same directory and it works quite well.


GO TO THE ETERNAL DESTINY FORUMS!!! http://forums.eternaldestinyonline.com
Do it now!!!
Mussi
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 14th Feb 2004 20:59
LOL, I forgot about the disable escapekey command, but now I got another problem :/

try this:



I get this very weird avi file that looks very streched and all, and the output.bmp is also



Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb
D Man
21
Years of Service
User Offline
Joined: 3rd Oct 2002
Location: Germany
Posted: 15th Feb 2004 12:36
You forgot to add the texture flag.
Simply add a ,1 to get image and all will be fine.

God is real, unless declared integer.
Mussi
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 15th Feb 2004 18:22
oke that worked nice, but I only got 12 fps with just a spinning cube



Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb

Login to post a reply

Server time is: 2024-05-11 20:25:54
Your offset time is: 2024-05-11 20:25:54