• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Making movie from images

 
Ranch Hand
Posts: 750
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I've made a mandelbrot set explorer applet...
Mandelbrot set

I've just worked out how to save BufferedImages as jpgs,gifs etc.etc,
on the hard-drive (won't work on applet, though since its not signed, but should be fine on an application).

So... what I would like to do is make a movie by slowly zooming into the set, and saving the BufferedImage created each time.

Then, if I can somehow string the images together, I can make a cool zooming in affect.

So... I could either just output each pic to screen with a Thread.sleep(100) inbetween each pic, or perhaps (if possible) make an MP4 file from all the pics, and would be nice to play this from inside the application.

Any ideas on this?
Thanks
 
Rancher
Posts: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Either The Java Media Framework or Quicktime for Java would let you create movies form single images. They support various file formats, but I'm not sure about mp4. Links to both are here.
 
You save more money with a clothesline than dozens of light bulb purchases. Tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic