Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

Has anyone ever had any luck with this?

 

I've had a look at the Microsoft writeavi.c example from the Platform SDK, but it's not particularly helpful (I can get it to render an AVI of 100 frames or less at 1 fps, but little else). I've converted it to C++. It's here if you're interested:

 

http://midget.nofeet.com/steve/writeavi++.avi

 

Run it from the command line like so:

 

writeavi.exe 640, 480, 24, 100, C:\images

 

640 is the image width, 480 is the img height, 24 is fps, 100 is the number of images (frames), and C:\images is a directory which will be automatically searched (non-recursively) for *.BMP files to add to the movie.

 

 

If anyone has a better solution than this, I would love to hear it. I also found this website, but this guy's class has a convenient 4 lines of comments and no documentation. *sigh*

 

http://www.adp-gmbh.ch/csharp/write_avi.html

 

Thanks guys.

Edited by steved
zig?
Posted
Neither of your links worked for me. :(

"It may be roundly asserted that human ingenuity cannot concoct a cipher which human ingenuity cannot resolve."

 

- Edgar Allan Poe, 1841

 

I long to accomplish great and noble tasks, but it is my chief duty to accomplish humble tasks as though they were great and noble. The world is moved along, not only by the mighty shoves of its heroes, but also by the aggregate of the tiny pushes of each honest worker.

 

- Helen Keller

Posted

Sorry 'bout that. They're fixed now.

 

(Good ol' vBulletin decided it needed to add an extra URL tag, so those links had an end tag embedded in them.)

zig?
Posted

Also of note: I'd be plenty happy if I could generate any other type of movie file: MPEG or MOV/QT would be fine by me. :)

 

I know this is ridiculously easy to do with the Java Media Framework, but unfortunately, Sun managed to make these features of the JMF require a version of Java just a few notches higher than that which the current Java-to-.NET converter can do. Coincidence? ;)

zig?
  • 2 weeks later...
  • 1 year later...
Posted

The link is broken again, I guess.

 

Sorry 'bout that. They're fixed now.

 

(Good ol' vBulletin decided it needed to add an extra URL tag, so those links had an end tag embedded in them.)

 

Hi Steve, could you please restore some link. Thanks.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...