1

AVI

I have been working on creating a prototype for screen recorder. So far I have created the GUI. Still a lot of things remain.
One of the main thing is to create an AVI movie from a set of BufferedImage.
I tried understanding Monte Media Library but it went way over my head. Is that guy trying to encode things himself? I don't know! :/

  • So, what is the other way to create an AVI from BufferedImages (or any other suitable means that is out of my limited knowledge) ?
  • An SO User
    • 24,612
    • 35
    • 133
    • 221
    • what do you mean by `avi`? `avi` is just a container format. Do you want to display a video using a set of image? – UmNyobe Dec 18 '12 at 14:47
    • @UmNyobe I thought `RIFF` was the container and AVI was a solid file format....I am not sure where I am heading and that's why I created the image to clearly show what is in my head :/ – An SO User Dec 18 '12 at 14:52
    • possible duplicate of [Java: How do I create a movie from an array of images?](http://stackoverflow.com/questions/8856757/java-how-do-i-create-a-movie-from-an-array-of-images) – dimo414 Jul 20 '15 at 23:38

    1 Answers1

    1

    I don't think you will find a pure-java library for that. Take a look at gstreamer-java to see if it fits your needs. Make sure you install the right plugins.

    jorgeu
    • 689
    • 6
    • 14
    • [SimplePipeline](http://code.google.com/p/gstreamer-java/wiki/SimplePipelineTutorial) and [VideoTest](http://code.google.com/p/gstreamer-java/wiki/VideoTestTutorial) will be all I need to learn? *+1 for the help* – An SO User Dec 18 '12 at 15:19
    • Not sure if you will need more. Good luck – jorgeu Dec 18 '12 at 20:08
    • I still don't know what the source for input is. What is it? Bytes? BufferedImages? Can you help me with it, please ? – An SO User Dec 18 '12 at 20:09
    • You need to learn gstreamer itself first. It has a complex model of sources and sinks or something like that. Take a look at http://gstreamer.freedesktop.org/documentation/ – jorgeu Dec 18 '12 at 20:12