Is it possible to make a movie from sequence of images in JMF?

I am in need of make a movie from image sequences created from YCbCr(YUV) values. Is it possible to make a movie from sequence of images in JMF?

yes, it is.
at www.java.sun.com in the JMF session there are several examples about your problem!
cheers
thomas

Similar Messages

  • How to make a movie from sequence of images?

    Hello buddies,
    I need to build a movie from sequence of images.The sequence of images will be created from YUV(YCbCr) values. How can I create a movie from the sequence of images?

    For Windows
    http://sourceforge.net/projects/ndub/
    For Linux
    http://sourceforge.net/projects/avifile/
    search on sourceforge.net

  • Before update, I could make a movie from photos and make a DVD. Now I can't

    Before update, I could make a movie from photos and make a DVD. Now I can't

    Thanks for sharing.
    Do you have a question?

  • Is it possible to make a move in contouring mode with onboard program

    I use Labview 7.1.
    I have a motion board 7344.
    Is it possible to make a move in contouring mode (as in the attached vi) with onboard program and how do that?
    Attachments:
    Onboard_program.vi ‏79 KB

    It's not possible to use the contouring mode in an onboard program like you did it in your example. The reason is that while the program is downloaded the write buffer.flx is NOT executed. Thus it can't download the buffer data stored in your front panel arrays. When you start the onboard program later it doesn't have access to your buffer data on the front panel.
    In fact I don't see a real advantage why you would like to run the write buffer.flx in an onboard program. You could configure and download the buffer on the host and then use it in an onboard program.
    Best regards,
    Jochen Klier
    NI-Germany

  • Is it Possible to make a join from a single table

    Hi all,
    Is it Possible to make a join from a single table
    Suppose HR_ALL_ORGANIZATION_UNITS table
    can we make a join in the following way
    HR_ALL_ORGANIZATION_UNITS.ORGANIZATION_ID =HR_ALL_ORGANIZATION_UNITS.BUSINESS_GROUP_ID
    Thanks in advance

    Hi
    Yes you can join,
    Like below =- it is called self join -
    Slect a.oersson_id,a.employee_numebr, b.full_name
    form
    hr_all_organization_units a,
    hr_all_organization_units b
    where
    a.person_id = b.person_id and
    sysdate between a.effective_start_date and a.effective_end_date and
    sysdate between b.effective_start_date and b.effective_end_date
    914618 wrote:
    Hi all,
    Is it Possible to make a join from a single table
    Suppose HR_ALL_ORGANIZATION_UNITS table
    can we make a join in the following way
    HR_ALL_ORGANIZATION_UNITS.ORGANIZATION_ID =HR_ALL_ORGANIZATION_UNITS.BUSINESS_GROUP_ID
    Thanks in advance

  • Is-it possible to transfer a movie from an iPad to a friend's iPad ?

    Good morning from Paris (France),
    When you buy a DVD, you can lend or give it to somebody else.
    Adter lokking a movie, it's a pity to keep it just for myself, closed in mu iPad...
    >>> do you know if it would be possible to transfer a movie from an iPad to a friend's iPad ?
    Thank you.
    Marc

    All content purchased or downloaded via your account is tied to your iTunes account and can't be copied or transferred to other accounts - if it's a good film then I'm sure they won't mind buying their own copy

  • Make quicktime movie from a .cdr file

    How do I make a quicktime movie from a .cdr image file so I can begin storing my home movies on DVDS?
    GH

    .cdr is the extension for CorelDRAW image files.
    Are you wanting to make a slide show?
    I would suggest you convert the images to .jpgs

  • How can I make different catalogs from the same image

    How can I make different catalogs from the same image where that image has been changed in some way between the catalogs. For instance if I wanted to have a catalogs for cropped images and have 3 catalogs one for 4x6 , 5x7 and 8x10 cropping. When I tried this , if I changed a file in one catalog that same image in the other would change also.

    Do not confuse the creation of the crops and the display in collections per crop ratio.
    Of course one virtual copy (VC) per crop ratio is needed. If the same image should be cropped in all 3 mentioned ratios there would be 3 VCs.
    The OP asked how to have/see a set of same-crop-ratios.
    After having created the virtual copies for whatever crop ratio he wants, the way to display this result in the fashion asked for is via smart collections, provided they can be found. Without a plugin the naming of the VC with the crop ratio applied is a straight way to achieve that.
    IF the wish is to get new crops automatically added. (See my answers 2+3)
    IF the wish is to creat static collections per crop ratio for a certain set of images, I'd go as follows:
    1. Select all images you want to have cropped in that way,.
    2. With this selection click on the + to add another collection and fill the dialog box like this:
    Then navigate into this newly created selection and perform the 4x6 crop - according to taste individually or by synchronizing the first crop.
    Cornelia

  • Is it possible to make a .MOV file "un-downloadable"

    Hi there...
    I have a weird question - is it possible to make an online video (.MOV file) "un-downloadable"?
    I work at a college and a professor wants to post some videos within the school's public site. But, because of his concern with copyright, he wants to make it so the videos are impossible to download to the viewers' local machines.
    Is there any type of setting or code that can be put within the .MOV file that would allow this to happen?
    Thank you so much for any feedback you have!
    g4   Mac OS X (10.4.8)  

    Any browser viewed QuickTime file will be "cached" (stored on the viewing computer). This is how browser work (they keep a copy of every page element) to help speed up viewing.
    QuickTime 7 (Mac and PC version) even allows the user to set the size of this cache so movies can be viewed while "off line".
    True "streaming media" (served with special streaming server software) is not cached on the viewing machine so no local copy is made. Streaming Server (QTSS) is free software available from Apple.
    What your school probably really wants is a way to prevent "copies" of your files being used. This is nearly impossible as anyone that views the file could use screen capture software to get a copy. Even the true streaming version.
    I use Snapz Pro.
    You could use some type of "log on" Web page to help limit the audience.
    You could also use "skin track" movies which make screen capture a bit of a chore.
    http://homepage.mac.com/kkirkster/MTV/
    My example will open in QuickTime Player. Even Pro users are prevented from saving or editing the file because it is protected by an AppleScript droplet "Save As Un-Editable" and modified for Tiger and QT 7.
    Hope this helps you decide a plan.

  • How do i make two movies from one clip?

    i have imported a clip from my camera.
    i want to make two movies. one is pretty much the entire clip, but one is only a portion of it. how do i retain the integrity of the complete clip while making edits?

    you should copy the clip (edit>copy) from the project that has the clip as its whole, save and close that project, then make the new one that needs to be only a portion of your clip, paste the clip (edit>paste), and edit it. this is either the answer to your questoin, or i dont understand your questoin.

  • It's possible to make Hierarchical Tree from multiple tables ?

    the famous example for Hierarchical Tree is about employee_id and manager_id field in employees table ............ so I was wondering it's possible to make[b] Hierarchical Tree from multiple tables ? and How ??
    if the answer associate with example that will be so kind of you :D
    and thanks in advance.

    HI
    use curose in when new form instance or procedure then u can got data more then one table like that
    DECLARE
    htree ITEM;
    top_node FTREE.NODE;
    new_node FTREE.NODE ;
    child_node ftree.node ;
    item_value VARCHAR2(30);
    cursor prime_cur is select main_desc mgr_name, main_code dept
    from pur_item_group_mst;
    cursor child_cur(v_dept number) is select sub_desc,sub_code
    from pur_item_group_dtl where main_code = v_dept ;
    BEGIN
    htree := Find_Item('tmp.tree4');
    for dummy in prime_cur loop
    new_node := Ftree.Add_Tree_Node(htree,
    ftree.root_node,
    Ftree.PARENT_OFFSET,
    Ftree.LAST_CHILD,
    Ftree.EXPANDED_NODE,
    dummy.mgr_name,
    'D:\ORYX_POLYBAGS\accept',
    dummy.dept);
    for child in child_cur(dummy.dept) loop
         child_node := Ftree.Add_Tree_Node(htree,
    new_node,
    Ftree.PARENT_OFFSET,
    Ftree.LAST_CHILD,
    Ftree.EXPANDED_NODE,
    child.sub_desc||' '||'('||child.sub_code||' '||')',
    'D:\ORYX_POLYBAGS\next',
    child.sub_code);
    end loop;
    end loop;
    END;
    Rizwan Shafiq
    www.rizwanshafiq.blogspot.com

  • It's is possible to make a select from a view?

    I don't know if it's possible to make a select of a table-view like V_T5F99FW if it's possible does anybody tell me how can I do?
    Thanks a lot,
    Regards,
    Rebeca

    Hi Rebeca,
    You can surely do a selection from a projection and database view but not from a maintenance view.
    The selection from a view works like a normal selection only.
    watch this link
    http://sap.ionelburlacu.ro/abap/ABAPperformance.html#Select_with_view
    Regards,
    Manish
    Edited by: MANISH GUPTA on Aug 31, 2008 1:38 PM

  • Is it possible to make a movie with QuickTime Pro?

    I post this here cuz i posted it in the "QuickTime" Section and like...no one answered so maybe somone here will answer me...
    is it possible tom make image slideshows with music then put this on a CD or a DVD and watch it on you DVD player? PLease...Thanxz...xXxmartinxXx

    To make the slideshow...
    http://www.apple.com/quicktime/tutorials/slideshow.html
    To add music...
    http://www.apple.com/quicktime/tutorials/addmusic.html
    I may be mistaken, but I do not belive that quicktime lets you burn DVDs. Search google for a program that lets you burn quicktime movies to DVD.
    btabz

  • What is the simplest way to make a movie from BufferedImages?

    I have a 3d rendered animation from which I can grab BufferedImages of each frame. What is the simplest way I can create a movie from these images?
    I've seen the JpegImagesToMovie.java file and not only is it suprisingly overcomplicated, it requires me to change the code so that I can get images from memory rather than from files.
    Is there some simple way of creating a movie which requires a few statements? I'm also prepared to use QuickTime for Java. I don't care about the format, since I can just use any video converter to convert it to my desired video format.

    I recently came up with a simplified JpegImagesToMovie program. It generates QuickTime movies with a single video track output as a file. Input is a series of jpegs (currently as a list of file names, but easily modified to a take any form of jpeg data.) Since the compression used by the movie is JPEG, if you have an uncompressed image buffer, you'll need to convert that into jpeg data bytes with some quality setting. (Since its a movie file, go with something low if you have a lot of similar images.) This will even run without a full install of jmf--no native code is called (as far as I could tell..)
    Here is the source code, sorry about the formatting!
    import java.awt.Dimension;
    import java.io.File;
    import java.io.IOException;
    import java.io.RandomAccessFile;
    import java.net.URL;
    import java.util.Vector;
    import javax.media.Buffer;
    import javax.media.Format;
    import javax.media.MediaLocator;
    import javax.media.format.VideoFormat;
    import javax.media.protocol.ContentDescriptor;
    import javax.media.protocol.FileTypeDescriptor;
    import com.sun.media.multiplexer.video.QuicktimeMux;
    * This program takes a list of JPEG image files and converts them into a
    * QuickTime movie.
    * This was based on Sun's JMF Sample Code JpegImagesToMovie.java 1.3 01/03/13
    * This code is an attempt to reduce the complexity to demonstrate a very basic
    * JPEG file list to movie generator. It does not use a Manager or Processor
    * class, so it doesn't need to implement any event listening classes. One
    * advantage of this simplified class is that you can just link it with the
    * jvm.jar file. (you might also need to track down the com.ms.security library
    * stubs, use google. You'll need PermissionID.java and PolicyEngine.java.)
    * I tried to get it to generate AVI files without success.
    * These output files are could use further compression.
    * A Vector of jpeg image paths was one way to do this--the appropriate
    * methods can be overwritten to grab images from another source
    * --zip file, http, etc.
    * - Brad Lowe; Custom7; NuSpectra; 2/10/2005
    * The existing Copyright from Sun follows.
    * Copyright (c) 1999-2001 Sun Microsystems, Inc. All Rights Reserved.
    * Sun grants you ("Licensee") a non-exclusive, royalty free, license to use,
    * modify and redistribute this software in source and binary code form,
    * provided that i) this copyright notice and license appear on all copies of
    * the software; and ii) Licensee does not utilize the software in a manner
    * which is disparaging to Sun.
    * This software is provided "AS IS," without a warranty of any kind. ALL
    * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
    * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
    * NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE
    * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING
    * OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS
    * LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT,
    * INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
    * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF
    * OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY
    * OF SUCH DAMAGES.
    * This software is not designed or intended for use in on-line control of
    * aircraft, air traffic, aircraft navigation or aircraft communications; or in
    * the design, construction, operation or maintenance of any nuclear facility.
    * Licensee represents and warrants that it will not use or redistribute the
    * Software for such purposes.
    public class SimpleMovie
    Vector images; // jpeg image file path list
    VideoFormat format; // format of movie to be created..
    // Sample code.
    public static void main(String args[])
    try
    // change imageDir to the location of a directory
    // of images to convert to a movie;
    String imageDir = "images";
    File d = new File(imageDir);
    SimpleMovie imageToMovie = new SimpleMovie();
    // change width, height, and framerate!
    // Excercise: Read width and height of first image and use that.
    imageToMovie.init(320, 240, 10.0f);
    imageToMovie.setFiles(d);
    File dest = new File("simple.mov");
    imageToMovie.createMovie(dest);
    System.err.println("Created movie " + dest.getAbsolutePath() + " "
    + dest.length() + " bytes.");
    } catch (Exception e)
    System.out.println(e.toString());
    e.printStackTrace();
    // return jpeg image bytes of image zIndex (zero-based index)
    public byte[] getImageBytes(int zIndex) throws IOException
    if (images == null)
    return null;
    if (zIndex >= images.size())
    return null;
    String imageFile = (String) images.elementAt(zIndex);
    // Open a random access file for the next image.
    RandomAccessFile raFile = new RandomAccessFile(imageFile, "r");
    byte data[] = new byte[(int) raFile.length()];
    raFile.readFully(data);
    raFile.close();
    return data;
    // Call this before converting a movie;
    // Use movie width, height;
    public void init(int width, int height, float frameRate)
    format = new VideoFormat(VideoFormat.JPEG,
    new Dimension(width, height), Format.NOT_SPECIFIED,
    Format.byteArray, frameRate);
    // Set up the files to process
    public void setFiles(Vector inFiles)
    images = inFiles;
    // point converter to jpeg directory. Only does one level,
    // but could recurse, but then sorting would be interesting..
    public void setFiles(File dir) throws Exception
    if (dir.isDirectory())
    if (images == null)
    images = new Vector();
    String l[] = dir.list();
    for (int x = 0; x < l.length; x++)
    if (l[x].toLowerCase().endsWith(".jpg"))
    File f = new File(dir, l[x]);
    images.addElement(f.getAbsolutePath());
    // Crank out the movie file.
    public void createMovie(File out) throws Exception
    if (format == null)
    throw new Exception("Call init() first.");
    String name = out.getAbsolutePath();
    QuicktimeMux mux = null; // AVI not working, otherwise would use
    // BasicMux
    if (out.getPath().endsWith(".mov"))
    mux = new QuicktimeMux();
    mux.setContentDescriptor(new ContentDescriptor(
    FileTypeDescriptor.QUICKTIME));
    } else
    throw new Exception(
    "bad movie file extension. Only .mov supported.");
    // create dest file media locator.
    // This sample assumes writing a QT movie to a file.
    MediaLocator ml = new MediaLocator(new URL("file:"
    + out.getAbsolutePath()));
    com.sun.media.datasink.file.Handler dataSink = new com.sun.media.datasink.file.Handler();
    dataSink.setSource(mux.getDataOutput()); // associate file with mux
    dataSink.setOutputLocator(ml);
    dataSink.open();
    dataSink.start();
    // video only in this sample.
    mux.setNumTracks(1);
    // JPEGFormat was the only kind I got working.
    mux.setInputFormat(format, 0);
    mux.open();
    // Each jpeg goes in a Buffer.
    // When done, buffer must contain EOM flag (and zero length data?).
    Buffer buffer = new Buffer();
    for (int x = 0;; x++)
    read(x, buffer); // read in next file. x is zero index
    mux.doProcess(buffer, 0);
    if (buffer.isEOM())
    break;
    mux.close();
    // close it up
    dataSink.close();
    // Read jpeg image into Buffer
    // id is zero based index of file to get.
    // Always starts at zero and increments by 1
    // Buffer is a jmf structure
    public void read(int id, Buffer buf) throws IOException
    byte b[] = getImageBytes(id);
    if (b == null)
    System.err.println("Done reading all images.");
    // We are done. Set EndOfMedia.
    buf.setEOM(true);
    buf.setOffset(0);
    buf.setLength(0);
    } else
    buf.setData(b);
    buf.setOffset(0);
    buf.setLength(b.length);
    buf.setFormat(format);
    buf.setFlags(buf.getFlags() | Buffer.FLAG_KEY_FRAME);
    }

  • How it's possible rent or buy movies from another countries stores?????

    I have Latvian Apple ID, but I can't buy or rent movies from Russian store. How it's possible doit this?

    The purchases would be tied to that account, so while you could access them you wouldn't be able to transfer to the account you hold within Canada.

Maybe you are looking for

  • Installation Error HTMLDB 1.6 -- ORA-06502

    I get an installation error. Oracle 10g 10.1.0.2 HTMLDB 1.6. Does anyone have a tip whats going wrong. ...PAGE 103: Create Application from Scratch Error creating page validation page=103 name=tab 1-5 name unique ORA-06502: PL/SQL: numeric or value e

  • How to rebuild the config from the entries in the change logs

    Hi, We have overwritten something vital in the KEDR t.code through a transport.  The users have created their own entries in the KEDR t.code directly in the system because this t.code was available for editing although the Client was locked for custo

  • Multi selection N rows and N Columns

    i am using ADF 10g jdeveloper 10.1.3.5 i want make multi selection(Check box) in 3 row and N columns depend on size of iterator, can give example or ..... thanks

  • Why did the movie I rented from iTunes freeze and will not download?

    I just rented a movie from the iTunes store and downloaded it.  The download completed and I began watching the movie.  Over an hour and a half into the movie it froze and now says an unknown error occured while downloading (even though no error mess

  • Why do I get an "X" when I apply an effect filter FCE?

    When I apply an effect filter in FCE an big X appears on my clip. Is it something I am doing wrong or failed to do. I purchased my FCE direct from Apple about a year ago. I was under the impression that effects came with it, if I am mistaken please c