|
-
Feb 4th, 2001, 12:29 PM
#1
Thread Starter
Good Ol' Platypus
1. How do I read an AVI file?
2. Is there anything faster than get & setpixel for 1 pixel operations (not ddraw)
3. How do I write an AVI file?
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Feb 4th, 2001, 05:10 PM
#2
Frenzied Member
1: Use the Windows Media player plug-in for VB
2: ?
3: I think you can create AVI's with Macromedia Flash
Good luck!
-
Feb 4th, 2001, 05:25 PM
#3
Addicted Member
2. SetPixelV is faster than SetPixel because it doesn't return the color which it used to draw.
3. If you need to do this from your app, check out Wotsit (http://www.wotsit.org) for AVI file format.
Good luck with the third, I think you'll need it!
-
Feb 4th, 2001, 05:30 PM
#4
transcendental analytic
Check out the DMA example at http://www.ur.co.nz/
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Feb 4th, 2001, 10:11 PM
#5
Lively Member
2. SetPixelV is also OMG slow. If I was you I would build a bitmap in memory with the api's variables (I don't have VB open right now so I can't get it to you) and then whenever you want to draw 1 pixels you can edit the array for the bitmap and then StretchDIBits it on. I don't know about getting pixels.
-
Feb 5th, 2001, 05:41 AM
#6
PowerPoster
-
Feb 6th, 2001, 10:26 PM
#7
Lively Member
Yup. And OK ya know what you could do is whenever you want to edit the pixels, you can GetDIBits the piece of the picturebox you want to edit into the bitmap variables and then edit the bitmaps and SetDIBits or StretchDIBits it back on (that way it keeps the 'transparency', or what was around the thing you were editing cuz its not really a transparency.) In Lucky's site there's a tutorial called loading bitmaps from a custom binary resource file, if you read it you can copy those variables to know how to create a bitmap in memory and then experiment around to see what really works. I never actually tried anything I posted in this topic (except that SetPixelV is slow and .SetLockedPixel is also slow), I'm just saying what might work.
-
Feb 7th, 2001, 08:27 PM
#8
Thread Starter
Good Ol' Platypus
Is stretch/setdibits and getdibits faster than getbitmapbits and setbitmapbits?
(and could I have an example for them?)
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Feb 7th, 2001, 09:33 PM
#9
PowerPoster
most programs that can make animated gif's can also make .avi.
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Feb 8th, 2001, 11:02 PM
#10
Lively Member
I don't know which is faster, you would have to go find some tutorials. The only one I use is StretchDIBits, and I don't actually use it myself, I cut and pasted code for it from Lucky's page (he said he doesn't care! )
-
Feb 9th, 2001, 02:54 PM
#11
Lively Member
This may be a little of topic, but...
Sastraxi, is your avatar a character from ChronoTrigger? It looks like the bad guy that joins your party, although I can't remember his name. Something with a V, maybe?
And Kedaman has the princess, right?
On Error Resume Screaming...

-
Feb 12th, 2001, 08:13 PM
#12
Thread Starter
Good Ol' Platypus
Yeah, he was a badguy that was summoning Lavos in 600 ad... but he joins the party. His name is Magus. But now my char is Dalton, from 32 000 BC... the guy that steals the Epoch...
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|