Capture individual frames for export to photoshop

Hi all:
New to i movie. I have not upgraded to 06 version. I would like to capture individual frames for export to photoshop for cleanup and output as a print. Can I do this in i movie? Do I need a particular version? Is it hard to do?
Thanks
DAU

follow Matthew's advice
in case, your nic is a German acronym:
in iM, there's as in any Apple App an integrated "help" (=Hilfe) feature
avoids being DAU...

Similar Messages

  • Is it possible to place a video into a circle frame for export as interactive PDF?

    I've been trying to figure out how to embed video files into a circle shape frame for export as interactive pdf. Every time I export the document as interactive PDF, the video frame reverts back to a rectangle shape. Basically what I'm attempting to do is embed a .gif like animation of a face (saved as mp4 because it's my understanding that PDF can't support gif files) in a circle frame that plays on document load when exported as interactive pdf. Any suggestions, bypasses, solutions would be much appreciated. 

    Correct! Good solution!
    But you missed a couple steps in your directions:
    (1) Make a rectangle filled with Paper color.
    (2) Make a circle filled with None (this will be the mask for the movie).
    (3) Move the circle over the rectangle. Select both and choose Object > Path > Make Compound Path. This creates a paper-color rectangle with a hole.
    (4) Position the rectangle-with-hole object over the movie to position the mask.
    (5) Use the Buttons and Forms panel to make that object into a button. Give it an action of playing the movie.
    (6) Choose File > Export > PDF (Interactive).
    It works because the button (which has interactivity) is atop another object which has interactivity (the movie).
    Brilliant!

  • Set the compression quality for individual images for exporting a PDF?

    When are export a PDF in ID, you are given an option to downsample and compress images. My problem is, I want to compress some images more than others. For example, a photo in the document could be downsampled much more than a png logo. Of course I could go and pre-downsample each image to the right size in photoshop, but that can get kind of involved. Is there a way I could at least exclude one particular image from the compression process?

    Well, I didn't find any way to do this in ID, but I do believe its a useful thing to do. In Fact, by doing some careful image-dependent compression, I was able to reduce the size of my pdf by half and have the result still look better than a standard uniform compression. What I did was:
    first place all the images in the ID file, size and position them as they should be
    then, looking at the rulers, note the horizontal size, in inches, of each image in the document
    begin with the first image, open it in photoshop. If you want this image at 200dpi, for example, multiply the horizontal size (from ID) by 200. Change the image size in photoshop to this number.
    save the image in photoshop as a jpg and compress as appropriate for the image type
    go back to ID, open up the links window, select the image you just changed, and click the update link button
    do this with all your images
    when you go to export a pdf, don't do any compression or downsampling on the images.. they're already optimised
    So as you can see you have to have some idea of the ideal target DPI and compression of each image in your document, and it may require some experimenting. But if you know that some images can be lowered much more than others, I recommend this method. As I said, in my case I was able to reduce the file size by half without negatively effecting the pdf appearance.

  • From where are values of BEB CESS ECS captured in J1IIN for Export

    Hi ,
    In export sale,we dont mention BED CESS ECS condition type in pricing procedure.
    While creating J1IIN we get excise details of BED CESS ECS in excise invoice.
    From where does this value come.
    parsad

    Hi,
    In the export pricing procedure, BED,ECS,SECess condition types are marked STATISTICAL and hence it is not accounted.
    The values are captured for printing ARE-1 form only.
    Regards,
    Anbu

  • Fujifilm Tethered Capture Plug-in for Adobe Photoshop Lightroom

    Hi!
    Today Fujifilm shared "Tethered Capture Plug-in for Adobe® Photoshop® Lightroom®". And they shared only 1 exe file, which i can't open on my Mac=). I try open it on PC, but it can't open without HS-V5 ( i needn't it, because it work only on Windows)
    They write:
    To use "Tethered Capture Plug-in for Adobe® Photoshop® Lightroom®" you need to purchase "Adobe® Photoshop® Lightroom® 5".
    *For customers who don't have the HS-V5, "FUJIFILM Tether Shooting Plug-in" will be able to be purchased at Adobe Exchange site."
    So...i already purchased Adobe CC for photographers. I try find it in Adobe Exchange, but doesn't find it.
    May be somebody know anything?
    Or may be somebody knows about tethering future with fujifilm X-T1 in new Lightroom 6?

    The current situation seems to be this:
    You are licensed to use the plug-in on a Mac or a Windows PC if you have purchased and installed H5-VS software.   Since H5-VS is only a Windows product the download for the plug-in is a Windows EXE because when you run that EXE it'll check for the H5-VS software installation and if it doesn't see it, it'll stop, so to be successful in extracting the Mac plug-in you have to use a Windows PC and have purchased some Windows software.
    You can examine the contents of the LRPLUG.EXE by renaming it to something like LRPLUGIN.EXE.ZIP and opening it with 7ZIP; however, the contents aren't something where you can just extract and run w/o the license check.
    The only way forward seems to be to purchase the H5-VS software and install it on Windows and then download and run the LRPLUG.EXE on that same Windows computer to extract the plug-in installers, and then run those on the appropriate platform.
    However, the H5-VS software doesn't appear to be for sale, anywhere, although the Fuji people do seem to hint they will have a solution at some point in the near future--perhaps it is only available in Japan ATM.
    Most of this information was gleaned from the download page for the plugin, here:
    Tethered Capture Plug-in for Adobe® Photoshop® Lightroom® (Windows 8 / 8.1 / 7 SP1, Mac OS X 10.7-10.10) | Fujifilm Glob…
    Which is the page you get to after agreeing to the terms and conditions of downloading the plug-in from this page:
    Tethered Capture Plug-in for Adobe® Photoshop® Lightroom® (Windows 8 / 8.1 / 7 SP1, Mac OS X 10.7-10.10) | Fujifilm Glob…
    The bottom line is that while the tethering plug-in is for both a PC and a Mac the licensing dependency is on a Windows-only program so the plug-in installers are contained within a Windows-only program and the missing link is how to acquire the required H5-VS Windows program to satisfy the licensing requirement for the plug-in packaging utility so it'll extract the plug-in installers for each platform.
    From what the pages, say, there is also going to be a version of the plug-in available on Adobe Exchange that won't require having H5-VS already, I guess, but that is not available, yet, either, so lots of announcements, and mostly a lack of follow-through..

  • The Export Frame for Classes specified in the Publish or Export settings

    Hi,
    I have a site I'm currently editing for a client, I'm adding a video element into it, but it doesn't play when I test movie, and when I test scene it gives me this error message:
    WARNING: The Export Frame for Classes specified in the Publish or Export settings, frame 2, does not exist. No bytecode for ActionScript 2.0 classes or interfaces was exported.
    I've heard its a bug in CS3
    Can anyone help?
    here's the actionscript:
    /**********---------- Config Part ----------**********/
    import cn.com.webstudio.util.*;
    Stage.scaleMode = "noscale";
    Stage.align = "TL";
    //Stage.showMenu = false;
    stop();
    /**********---------- Variable Part ----------**********/
    var xmlpath:String;
    var dataArr:Array = [];
    var curItem:Number = 0;
    //sound volume setting
    var volume:Number = 50;
    //buffer time setting
    var bufferTime:Number = 10;
    var locked:Boolean = false;
    //please set these fellowing value from external xml file.
    var autoPlayFirst:Boolean = false;
    var autoPlayAll:Boolean = false;
    var autoNext:Boolean = false;
    var mainStyleColor:Number = FFFFFF;
    var titleItem, videoItem, thumbList, controlItem, scrollItem;
    /**********---------- Function Part ----------**********/
    // Load the xml file.
    function loadXML(url:String, callback:Function) {
        var myxml:XML = new XML();
        myxml.ignoreWhite = true;
        myxml.onLoad = function(success) {
            if (success) {
                if (callback != null) {
                    callback(this);
        myxml.load(url);
    if(xmlpath !== undefined ){
    loadXML(xmlpath, parseXML);
    }else{
    loadXML("config.xml",parseXML);
    // parse xml data
    function parseXML(xml:XML) {
        curItem = -1;
        dataArr = [];
        var i, j, temp1, temp2, temp3;
        temp1 = xml.firstChild.firstChild.childNodes;
        // config part
        autoPlayFirst = temp1[0].firstChild.nodeValue=="false";
        autoPlayAll = temp1[1].firstChild.nodeValue=="true";
        autoNext = temp1[2].firstChild.nodeValue=="true";
        mainStyleColor = int(temp1[3].firstChild.nodeValue);
        // item data
        temp2 = xml.firstChild.childNodes[1].childNodes;
        for (i in temp2) {
            dataArr[i] = {};
            temp3 = temp2[i].childNodes;
            for (j in temp3) {
                dataArr[i][temp3[j].nodeName] = temp3[j].firstChild.nodeValue;
        init();
    function init() {
        // title item
        titleItem = this.attachMovie("titleItem", "titleItem", 1);
        titleItem._x = 68;
        titleItem._y = 21;
        // video list
        videoItem = this.attachMovie("videoItem", "videoItem", 2);
        videoItem._x = 68;
        videoItem._y = 50;
        videoItem.posX = videoItem._x;
        videoItem.posY = videoItem._y;
        videoItem.posW = videoItem._width;
        videoItem.posH = videoItem._height;
        // thumb list
        thumbList = this.attachMovie("thumbList", "thumbList", 3);
        thumbList._x = 558;
        thumbList._y = 20;
        // control item
        controlItem = this.attachMovie("controlItem", "controlItem", 4);
        controlItem._x = videoItem._x-1;
        controlItem._y = videoItem._y+videoItem._height+11;
        controlItem.posX = controlItem._x;
        controlItem.posY = controlItem._y;
        var mainStyleColor:Number = FFFFFF;
        //controlItem.volBut.onPress();
        // scroll item
        scrollItem = this.attachMovie("scrollItem", "scrollItem", 5);
        scrollItem._x = thumbList._x+thumbList._width-scrollItem._width+3;
        scrollItem._y = thumbList._y+thumbList.mask._y;
        // set main style color
        setStyle();
    function setStyle() {
        wEffect.setRGB(thumbList.back, mainStyleColor);
        wEffect.setRGB(controlItem.back, mainStyleColor);
        wEffect.setRGB(titleItem.back, mainStyleColor);

    click file/publish settings/flash/actionscript settings and make sure frame 1 is set as the export frame.
    if that's already set, don't use test scene.

  • Script for moving playhead to last frame, then exporting jpg?

    Hi,
    I have a lot of Flash files for which I need to export jpgs of their last frame. Could a kind soul out there guide me on how to write a command for moving the timeline's playhead to the last frame, then exporting a jpg (at Full Document Size, 72 dpi, 96% quality)?
    A million thanks,
    Kevin

    private function snapshotLastFrame():void
    gotoAndStop( this.totalFrames );
    _bitmapData                         = new BitmapData( stage.stageWidth, stage.stageHeight );
    _bitmap                              = new Bitmap( _bitmapData );
    _bitmapData.draw ( stage );
    saveImageJPG( _bitmapData, "test.jpg", 96 );
    public function saveImageJPG( bitmapData:BitmapData, fileName:String, quality:int ):void {
                this.jpgEncoder = new JPGEncoder( quality );
                this.fileReference = new FileReference();
                this.fileReference.save( this.jpgEncoder.encode( bitmapData ), fileName + ".jpg" );
    Keep in mind that you need a few extra libraries to be able to create a jpeg.. (AS3CoreLib) can be found at googleCode.

  • Lately Photoshop CC 2014 in my PC gets blocked when doing panoramas. First I edit my raw photos in Lightroom, then export to Photoshop for making panoramas. My Pc runs Windows 8.1 64 bits 8Gb Ram, Lately Photoshop CC 2014 in my PC gets blocked when doing

    Últimamente Photoshop CC 2014 se  detiene fusionando las capas al hacer panoramas. Primero  edito mis fotos Raw en Lightroom luego las paso a Photoshop para hacer panoramas. Photoshop las abre y fusionando las capas se detiene.
    Según el administrador de tareas cuando se bloquea tiene ocupado el 81 % de memoria 25% de CPU y 1% del disco.
    Mi PC tiene Windows 8.1 de 64 bits y tiene 8 Gb de ram
    Lately Photoshop CC 2014 in my PC gets blocked when doing panoramas. First I edit my raw photos in Lightroom, then export to Photoshop for making panoramas. My Pc runs Windows 8.1 64 bits 8Gb Ram

    Últimamente Photoshop CC 2014 se  detiene fusionando las capas al hacer panoramas. Primero  edito mis fotos Raw en Lightroom luego las paso a Photoshop para hacer panoramas. Photoshop las abre y fusionando las capas se detiene.
    Según el administrador de tareas cuando se bloquea tiene ocupado el 81 % de memoria 25% de CPU y 1% del disco.
    Mi PC tiene Windows 8.1 de 64 bits y tiene 8 Gb de ram
    Lately Photoshop CC 2014 in my PC gets blocked when doing panoramas. First I edit my raw photos in Lightroom, then export to Photoshop for making panoramas. My Pc runs Windows 8.1 64 bits 8Gb Ram

  • Use preloader for individual frames?

    I have followed this video on how to build a preloader and I was able to incorporate it into my own site.  Now, I'm wondering now how to build a preloader for individual frames.  For example, I have a link called "Videos" that, when clicked, jumps to frame 10.  This is where I have all the videos visible in the main content area of my site.  However, I'd like to add a preloader so that as the videos load, visitors can see the progress.  Is there a way I can reuse the preloader.swf file I have already built for individual frames of my main site?
    Here is the code for the preloader.swf file which consists of a single dynamic text field located in the center called preloaderTxt:
    var l:Loader = new Loader();
    l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop);
    l.contentLoaderInfo.addEventListener(Event.COMPLETE, done);
    l.load(new URLRequest("WebsiteTest.swf"));
    function loop(e:ProgressEvent):void
        var perc:Number = e.bytesLoaded / e.bytesTotal;
        preloaderTxt.text = Math.ceil(perc*100).toString() + "%";
    function done(e:Event):void
        removeChildAt(0);
        preloaderTxt = null;
        addChild(l);

    (1)Java class name should begin with a capital letter. See: http://java.sun.com/docs/codeconv/
            JButton save = new JButton("Save");
            JButton save2 = new JButton("Save and add another");
            // ... etc. ...(2)Don't redeclare class members in a method as its local variable. Your class members become eternally null, a hellish null.
    how to make them work when clicked on(3)Add action listener to them.

  • Does Photoshop CS6 Extended allows users to crop individual frames?

    Does Photoshop CS6 Extended allows users to crop individual frames? As in just one segment of the video? If so, how is it done?

    Hi there
    The Crop tool in Photoshop functions by cropping the entire image area - however, you can use a Layer Mask to edit an indiviual video or animation frame, as shown below.
    1. Start by importing your video or animation in Photoshop, making sure to convert frames to layers (File > Import > Video Frames To Layers...). Go to your layers panel and select the frame you'd like to crop. Turn on the visibility of the layer by clicking on the small check box to the left of the layer icon - it should turn into an eye as shown below. Then, click the "Add vector mask" icon highlighted below.
    2. Next, select the Rectangular Marquee tool (or use an alternative selection method if you want a different shape) and draw a seelction around the part of your video/animation you want to keep.
    3. Go to Select > Inverse to select the inverse of the area you just selected.
    4. Grab the Paint Bucket Tool and fill the selected area with pure Black (#000000). This will effectively "crop" the layer you have selected. You can see below that the layer underneath my selected layer is now showing through where I filled the selection with black.
    The great thing about using a mask is that you can edit it or delete it altogether if need be. Note though that the area you mask will show up as transparent pixels in your Timeline panel - you can see the layer I edited on the far right of my timeline in the screenshot above.
    Please post again if you need additional help, or if what I demonstrated is not what you were trying to do.
    Cheers!

  • Exporting individual frames to iphoto

    Is it possible to export an individual frame from imovie to iphoto as a single photograph?  How do you do it?

    First, get an app called MPEG Streamclip, which is free. (google MPEG Streamclip from Squared 5)
    Open MPEG Streamclip.
    In iMovie, select the clip you need. Then, right-click/Reveal in Finder.
    Drag this clip into MPEG Streamclip
    In MPEG Streamclip, move the playhead to the frame you want.
    In MPEG Streamclip, click FILE/EXPORT FRAME.
    Choose JPEG, TIFF, or PNG and give it a name.
    You can then drag this photo into iPhoto.

  • Capture one frame to jpg image

    I have some old 8mm film converted to *.mov that I am trying to put together as a family film project. There are numerous people that I have long since forgotten (40+ yrs). I would like to capture some to these frames to a jpg type of image so that I can send it to other family members for identification.. If this is possible with  PP CS4... how?
    Thank you for your time
    Ralph

    In PrPro, prior to CS4, it was under File>Export>Still. With CS4, it moved to AME, as did everything else. However, a still frame Export was even worse. In CS4.1, IIRC, that process was simplified, though there was one loss - in the old days, one had a checkbox for "Import into Project," but that choice is now gone. About half of the time, I do want to Import the still into the current Project, and half the time do not. I still would like the option to decide for myself.
    As for the JPEG aspect, one must first realize that PrPro is not an image editing program, and is first a video-editing program. The JPEG format requires compression, and that is why the choices are limited - no JPEG (unless it was recently added), no PSD, no PNG. You get TGA, TIFF, BMP and GIF (surprised about this one myself). Between you and me, I would like to see Adobe add both .PSD and also JPEG, but can live without those, as I have PS and can do anything that I want and also automate the process with Actions and the batch processing in PS.
    Also, though not a "big button" fan, I'd love to see a one-touch solution to individual Frame Export, with the option to either Import into my Project, or not - at my discretion - plus add JPEG and PSD. Who knows, maybe CS5?
    Good luck,
    Hunt
    PS - even with older versions, it was not a one-click does it all operation, but now it's a step, or two, more. In early CS4 versions, it was a real PITA, so things have gotten better.

  • Re: how to capture a frame from a video file and save it as a jpeg

    package com.snn.multimedia;
    * @(#)FrameAccess.java     1.5 01/03/13
    * 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.
    import java.util.Date;
    import java.util.Arrays;
    import java.util.Iterator;
    import javax.imageio.ImageIO;
    import javax.imageio.stream.ImageOutputStream;
    import javax.imageio.ImageWriter;
    import java.awt.*;
    import java.awt.image.BufferedImage;
    import java.awt.image.DataBufferByte;
    import javax.media.*;
    import javax.media.control.FramePositioningControl;
    import javax.media.control.TrackControl;
    import javax.media.Format;
    import javax.media.format.*;
    import javax.media.util.BufferToImage;
    import javax.media.util.ImageToBuffer;
    import java.io.FileOutputStream;
    import java.io.OutputStream;
    import com.sun.image.codec.jpeg.*;
    * Sample program to access individual video frames by using a
    * "pass-thru" codec. The codec is inserted into the data flow
    * path. As data pass through this codec, a callback is invoked
    * for each frame of video data.
    public class FrameAccess extends java.awt.Frame implements ControllerListener
    Processor p;
    Object waitSync = new Object();
    boolean stateTransitionOK = true;
    * Given a media locator, create a processor and use that processor
    * as a player to playback the media.
    * During the processor's Configured state, two "pass-thru" codecs,
    * PreAccessCodec and PostAccessCodec, are set on the video track.
    * These codecs are used to get access to individual video frames
    * of the media.
    * Much of the code is just standard code to present media in JMF.
    public boolean open(MediaLocator ml)
    try
    p = Manager.createProcessor(ml);
    catch (Exception e)
    System.err.println("Failed to create a processor from the given url: "
    + e);
    return false;
    p.addControllerListener(this);
    // Put the Processor into configured state.
    p.configure();
    if (!waitForState(p.Configured))
    System.err.println("Failed to configure the processor.");
    return false;
    // So I can use it as a player.
    p.setContentDescriptor(null);
    // Obtain the track controls.
    TrackControl tc[] = p.getTrackControls();
    if (tc == null)
    System.err.println("Failed to obtain track controls from the processor.");
    return false;
    // Search for the track control for the video track.
    TrackControl videoTrack = null;
    for (int i = 0; i < tc.length; i++)
    if (tc.getFormat() instanceof VideoFormat)
    videoTrack = tc[i];
    break;
    if (videoTrack == null)
    System.err.println("The input media does not contain a video track.");
    return false;
    VideoFormat currentFormat = (VideoFormat)videoTrack.getFormat();
    System.err.println("Video format: " + videoTrack.getFormat() );
    videoTrack.setFormat(new VideoFormat("RGB", currentFormat.getSize(), currentFormat.getMaxDataLength(), currentFormat.getDataType(), currentFormat.getFrameRate()));
    // Instantiate and set the frame access codec to the data flow path.
    try
    // Try to retrieve a FramePositioningControl from the player.
    FramePositioningControl fpc = (FramePositioningControl) p.getControl("javax.media.control.FramePositioningControl");
    if (fpc == null)
    System.err.println("The player does not support FramePositioningControl.");
    System.err.println("There's no reason to go on for the purpose of this demo.");
    return false;
    Time duration = p.getStopTime();
    long totalFrames = 0;
    if (duration != Duration.DURATION_UNKNOWN)
    System.err.println("Movie duration: " + duration.getSeconds());
    totalFrames = fpc.mapTimeToFrame(duration);
    if (totalFrames != FramePositioningControl.FRAME_UNKNOWN)
    System.err.println("Total # of video frames in the movies: "
    + totalFrames);
    } else
    System.err.println("The FramePositiongControl does not support mapTimeToFrame.");
    } else
    System.err.println("Movie duration: unknown");
    long[] frames;
    if (totalFrames > 0L)
    double intervalDouble = Math.floor(totalFrames / 5.0);
    long interval = new Double(intervalDouble).longValue();
    frames = new long[5];
    frames[0] = 1;
    frames[1] = frames[0] + interval;
    frames[2] = frames[1] + interval;
    frames[3] = frames[2] + interval;
    frames[4] = frames[3] + interval;
    } else
    frames = new long[1];
    frames[0] = 1;
    // Codec codec[] = { new PreAccessCodec(), new PostAccessCodec()};
    Codec codec[] = { new OverlayCodec(frames)};
    videoTrack.setCodecChain(codec);
    catch (UnsupportedPlugInException e)
    System.err.println("The process does not support effects.");
    // Realize the processor.
    p.prefetch();
    if (!waitForState(p.Prefetched))
    System.err.println("Failed to realize the processor.");
    return false;
    // Display the visual & control component if there's one.
    setLayout(new BorderLayout());
    Component cc;
    Component vc;
    if ((vc = p.getVisualComponent()) != null)
    add("Center", vc);
    if ((cc = p.getControlPanelComponent()) != null)
    add("South", cc);
    // Start the processor.
    p.start();
    setVisible(true);
    return true;
    public void addNotify()
    super.addNotify();
    pack();
    * Block until the processor has transitioned to the given state.
    * Return false if the transition failed.
    boolean waitForState(int state)
    synchronized (waitSync)
    try
    while (p.getState() != state && stateTransitionOK)
    waitSync.wait();
    catch (Exception e)
    return stateTransitionOK;
    * Controller Listener.
    public void controllerUpdate(ControllerEvent evt)
    if (evt instanceof ConfigureCompleteEvent
    || evt instanceof RealizeCompleteEvent
    || evt instanceof PrefetchCompleteEvent)
    synchronized (waitSync)
    stateTransitionOK = true;
    waitSync.notifyAll();
    } else
    if (evt instanceof ResourceUnavailableEvent)
    synchronized (waitSync)
    stateTransitionOK = false;
    waitSync.notifyAll();
    } else
    if (evt instanceof EndOfMediaEvent)
    p.close();
    System.exit(0);
    * Main program
    public static void main(String[] args)
    if (args.length == 0)
    prUsage();
    System.exit(0);
    String url = args[0];
    if (url.indexOf(":") < 0)
    prUsage();
    System.exit(0);
    MediaLocator ml;
    if ((ml = new MediaLocator(url)) == null)
    System.err.println("Cannot build media locator from: " + url);
    System.exit(0);
    FrameAccess fa = new FrameAccess();
    if (!fa.open(ml))
    System.exit(0);
    static void prUsage()
    System.err.println("Usage: java FrameAccess <url>");
    * Inner class.
    * A pass-through codec to access to individual frames.
    public class PreAccessCodec implements Codec
    * Callback to access individual video frames.
    void accessFrame(Buffer frame)
    // For demo, we'll just print out the frame #, time &
    // data length.
    long t = (long) (frame.getTimeStamp() / 10000000f);
    System.err.println("Pre: frame #: " + frame.getSequenceNumber()
    + ", time: " + ((float) t) / 100f + ", len: "
    + frame.getLength());
    * The code for a pass through codec.
    // We'll advertize as supporting all video formats.
    protected Format supportedIns[] = new Format[] {
    new VideoFormat(null)
    // We'll advertize as supporting all video formats.
    protected Format supportedOuts[] = new Format[] {
    new VideoFormat(null)
    Format input = null, output = null;
    public String getName()
    return "Pre-Access Codec";
    // No op.
    public void open()
    // No op.
    public void close()
    // No op.
    public void reset()
    public Format[] getSupportedInputFormats()
    return supportedIns;
    public Format[] getSupportedOutputFormats(Format in)
    if (in == null)
    return supportedOuts;
    } else
    // If an input format is given, we use that input format
    // as the output since we are not modifying the bit stream
    // at all.
    Format outs[] = new Format[1];
    outs[0] = in;
    return outs;
    public Format setInputFormat(Format format)
    input = format;
    return input;
    public Format setOutputFormat(Format format)
    output = format;
    return output;
    public int process(Buffer in, Buffer out)
    // This is the "Callback" to access individual frames.
    accessFrame(in);
    // Swap the data between the input & output.
    Object data = in.getData();
    in.setData(out.getData());
    out.setData(data);
    // Copy the input attributes to the output
    out.setFormat(in.getFormat());
    out.setLength(in.getLength());
    out.setOffset(in.getOffset());
    return BUFFER_PROCESSED_OK;
    public Object[] getControls()
    return new Object[0];
    public Object getControl(String type)
    return null;
    public class OverlayCodec extends PreAccessCodec
    long[] myFrames;
    BufferedImage work;
    byte[] workData;
    int width;
    int height;
    int dataLen;
    RGBFormat supportedRGB = new RGBFormat(null, // size
    Format.NOT_SPECIFIED, // maxDataLength
    Format.byteArray, // dataType
    Format.NOT_SPECIFIED, // frameRate
    24, // bitsPerPixel
    3, 2, 1, // red/green/blue masks
    3, // pixelStride
    Format.NOT_SPECIFIED, // lineStride
    Format.FALSE, // flipped
    Format.NOT_SPECIFIED); // endian
    public OverlayCodec(long[] frames)
    // force specific input format
    supportedIns = new Format[] {
    supportedRGB};
    myFrames = new long[frames.length];
    System.arraycopy(frames, 0, myFrames, 0, frames.length);
    public String getName()
    return "Capture Codec";
    public Format setInputFormat(Format format)
    if ((format != null) && (format instanceof RGBFormat)
    && format.matches(supportedRGB))
    // set up working image if valid type
    // (it should be since we insisted!)
    Dimension size = ((RGBFormat) format).getSize();
    width = size.width;
    height = size.height;
    dataLen = width * height * 3;
    if ((dataLen > 0)
    && ((work == null) || (work.getWidth() != width)
    || (work.getHeight() != height)))
    // working image - same 3-byte format as buffer
    work = new BufferedImage(width, height,
    BufferedImage.TYPE_3BYTE_BGR);
    // reference to pixel data
    workData = ((DataBufferByte) work.getRaster().getDataBuffer()).getData();
    return format;
    * Callback to access individual video frames.
    void accessFrame(Buffer in)
    try
    if (Arrays.binarySearch(myFrames, in.getSequenceNumber()) >= 0)
    BufferToImage stopBuffer = new BufferToImage((VideoFormat) in.getFormat());
    Image stopImage = stopBuffer.createImage(in);
    BufferedImage outImage = new BufferedImage(140, 96,
    BufferedImage.TYPE_INT_RGB);
    Graphics og = outImage.getGraphics();
    og.drawImage(stopImage, 0, 0, 140, 96, null);
    FileOutputStream fout = new FileOutputStream("image"
    + in.getSequenceNumber() + ".jpg");
    writeImage(outImage, fout);
    catch (Exception e)
    e.printStackTrace();
    public int process(Buffer in, Buffer out)
    try
    accessFrame(in);
    BufferToImage stopBuffer = new BufferToImage((VideoFormat) in.getFormat());
    Image stopImage = stopBuffer.createImage(in);
    ImageToBuffer outImagebuffer = new ImageToBuffer();
    out = outImagebuffer.createBuffer(stopImage, p.getRate());
    // Swap the data between the input & output.
    in.copy(out, true);
    catch (Exception e)
    e.printStackTrace();
    return BUFFER_PROCESSED_OK;
    void writeImage(BufferedImage outImage, OutputStream os) throws Exception
    Iterator writers = ImageIO.getImageWritersByFormatName("jpg");
    ImageWriter writer = (ImageWriter) writers.next();
    ImageOutputStream ios = ImageIO.createImageOutputStream(os);
    writer.setOutput(ios);
    writer.write(outImage);
    ios.close();

    Hi,
    I have a jpeg movie file 60 mins long and a text file tell me five time-lines for breaking the movie. For example, break the movie at 10:21, 16:05�
    The final output should be five small jpeg movie files. Each file contains a 90 sec (30 sec before the break time and 60 sec after the break time).
    Do you know any java library (jar) contain the library that can help me on programming this? Any existing source code? Any SDK for a movie editor can do that?
    Please help.
    Thanks
    Kenny

  • How can I capture a frame with a dpi of 300 or more?

    I took a HD video and edited it in Premiere Elements 12. I want to lift out some frames to submit as still shots for a magazine article. They need resolution of 300 dpi or higher.  The only function I found in Premiere Elements was "freeze frame" which saves/exports a frame as a .bmp with a resolution of 72.  Anyone know how to save it with higher resolution? (FYI, I also have Photoshop Elements 12.)

    expressiveglass
    One way....
    1. Video on Video Track 1 of your HD project, with Timeline Indicator on frame for Freeze Frame
    a. Tools Menu/Freeze Frame.
    b. In Freeze Frame dialog, check mark next to "Edit in Photoshop Elements after inserting" and check mark next to "Insert in movie".
    c. Hit "Insert in movie" button.
    d. When Photoshop Elements 12 opens, the Image Menu/Resize/Image Size.
    e. In the Image Size dialog, change the Resolution to 300 pixels per inch
    f. File Menu/Save As to jpg file.
    To get back to Premiere Elements 12, in Photoshop Elements 12 Editor, File Menu/Exit.
    Does that work for you?
    ATR

  • Error Importing Video Frames to Layers in Photoshop CC

    I'm trying to import video frames to layers in Photoshop CC, the most recent edition. I'm using a Mac OS X Maverick version 10.9.2.
    The video I'm working with is a .mov file with the following codecs: Timecode, Linear PCM, CEA 708, Apple ProRes 422 (HQ).
    When I import frames to layers, the window is black. *Note: The audio works here, picture does not appear.
    When I select OK, the layers are transparent.
    This issue is specific to Photoshop CC. I tested the same .mov file with the same codecs in the most recent edition of Photoshop CS6, and import video frames to layers worked successfully.
    I also tested the same .mov file using another user's computer and their edition of Photoshop CC, and experienced the same issue - black screen, transparent frames.
    This leads me to believe it is an issue specific to the Photoshop CC software.
    Is there a fix for this, or do you have recommendations on ways to convert the .mov file so it's viewable in Photoshop CC?
    Thank you for your help.

    http://forums.adobe.com/community/photoshop
    This forum is about the Cloud as a delivery process, not about using individual programs
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll

Maybe you are looking for

  • HIRE Employee prev to the retro accounting period in payroll record

    Hi All, I have an issue when I try to hire an employee in the system. The system doesn't allow me to hire any employee before Nov 2009 as the retro accounting period for that payroll area is dated to 11 2009. The retro accounting period changed from

  • Sending Photos and or Vids to other non-iPhone users from iPhone4.

    I have sent several pictures to friends from my iPhone4 and very few recieve them. The ones that dont either say they didnt recieve the pic at all or that the file was to large. Is there anything I can do from my phone that can help this?

  • Can't get Premiere Elements 9 to recognize my video

    I have Premiere Elements 9 and I can't for the life of me figure out why it won't let me import video files that are already on my computer - like those from my FlipCam - with video. The audio is there but no video. I don't know if it makes a differe

  • Ipad crashes multiple times a day

    I've had my Ipad for about 2 years now but am experiencing problems in that it crashes multiple times a day. It often happens during playing games, but also with opening Safari, other apps or even acessing the App store. I downloaded a system monitor

  • Where do I download it?

    I can't find where to download Edge Animate. It's not listed in my free Cloud account or my App Manager. Here's what I see in my Cloud: