Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Create movies in Java

Reply
Thread Tools

Create movies in Java

 
 
opalpa@gmail.com
Guest
Posts: n/a
 
      01-05-2006
Skip jpeg by specifing RGBFormat, convert BufferedImage to Buffer with
javax.media.util.ImageToBuffer.createBuffer, set descriptor to
ContentDescriptor.RAW.

Cheers,

http://www.geocities.com/opalpaweb/

 
Reply With Quote
 
 
 
 
Oliver Wong
Guest
Posts: n/a
 
      01-10-2006

"Roedy Green" < > wrote in
message news:...
> On 4 Jan 2006 07:22:08 -0800, "" <>
> wrote, quoted or indirectly quoted someone who said :
>
>>Here are a couple of things I learned doing this deed -- making
>>BufferedImage instances and then sequencing them into a Quicktime
>>movie:

>
> Here is one problem you may run into that I had with a streaming
> protocol for JPG images. When the compressor does each image, it
> compresses it in isolation from the other images. It is happy to get
> the colours just a tad off. However, it gets them a tad off on each
> frame in a slightly different way. If you look at a series, you don't
> gave consistent colours. This is acceptable for a security camera,
> but may not be for advertising.
>
> To solve that you would have to start from something with accurate
> colours, maybe giant TIFFs. and somehow compress them in a consistent
> way frame to frame. MP3 encoders likely know how to handle this.


As long as your image format is lossless, you shouldn't have any
problems with compression artefacts. PNG, BMP, etc. would work just as well
as TIFF.

You should probably leave the compressing to the codecs, rather than
"doing it yourself". In fact, if you try to do your own compression, and
then pass it to a codec, you may make the codec's job harder, particularly
if your compression is lossy. The codec won't be able to tell what are
artefacts introduced via lossy compression, and what is significant detail
to reproduce in the video stream.

- Oliver


 
Reply With Quote
 
 
 
 
pernyblom pernyblom is offline
Junior Member
Join Date: Mar 2009
Posts: 1
 
      03-08-2009
I found a Java class that is supposed to encode AVI files without JMF in an application called "CubeTwister". I have not tested it yet but it might be worth checking out. The source code looks OK as well.

Just search for CubeTwister and you find it (tried to add a link but I am not allowed due to the 50 post threshold).

Check out the AVIOutputStream class.
 
Reply With Quote
 
digithree digithree is offline
Junior Member
Join Date: Feb 2012
Posts: 1
 
      02-08-2012
Hi, I know this thread is really old but since it came up near the top in a Google search on JMF I'm going to add a bit of new knowledge to it that would have helped me out about a week ago.

There's a great library package called Xuggle that does exactly what this guy wanted to do, create a video out of static images. It's much easier to use than JMF and actually current and supported.

http://www.xuggle.com/xuggler/

Here's a tutorial on how to create a video from screenshots of your desktop:
http://wiki.xuggle.com/MediaTool_Int...f_Your_Desktop
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best format to create DVD Movies? Artreid Computer Support 13 12-19-2009 10:50 PM
How to create python script which can create csv we file with relationship Sonu Python 1 08-03-2007 01:08 PM
Beyond the Office [Making Movies: Copying Old Home Movies to DVD - 09/13/2005] Ablang DVD Video 0 09-14-2005 06:24 AM
JMF online demo movies won't play (Java Media) Will Java 0 06-21-2004 12:55 PM
DVD Movies Saturation High, Colours weird, other movies fine Steve Computer Information 0 04-25-2004 06:36 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57