JMF Player: Stepping through an .mov file

I have an applet that plays an .mov file and I would like to step through the file one frame at a time on command. Does any body know how I could do so? I also need the ability to start at a certain frame and play from that location.
Any Ideas????
Thanks,
Andrew

I figured it out!! They actually have an example that I never noticed before that you can look at. If you are interested go to this address:
http://java.sun.com/products/java-media/jmf/2.1.1/solutions/Seek.html
Thanks

Similar Messages

  • I want to step through a .mov file frame-by-frame looking at geometry of an aircraft in the video to establish the rotational speed of the propeller.  This should be fairly straightforwaHow to find the frame exposure time of a variable frame rate mov file

    I want to step through a .mov file frame-by-frame looking at geometry of an aircraft in the video to establish the rotational speed of the propeller.  This should be fairly straightforward by looking at how much the propeller moves between each frame and using the exposure time of each frame.
    However the .mov file is from an iPhone 4S and looking at the details, has a variable frame rate.  What I need to know is the duration that each frame is displayed for in order to do my analysis.  Does anyone know how to find out this information?

    I want to step through a .mov file frame-by-frame looking at geometry of an aircraft in the video to establish the rotational speed of the propeller.  This should be fairly straightforward by looking at how much the propeller moves between each frame and using the exposure time of each frame.
    However the .mov file is from an iPhone 4S and looking at the details, has a variable frame rate.  What I need to know is the duration that each frame is displayed for in order to do my analysis.  Does anyone know how to find out this information?

  • Using AppleScript to step through a txt file.

    I am new to AppleScript but not programming.
    I have a program in AppleScript that currently takes my integers
    Ip, user, passwrd  and uses the in terminal to gain access to our clients machines and do certain tasks.
    I would like to have a txt file filled with the ip addresess so that I can simply step through the file.
    I can read in from the txt file but it simply reads the entire thing and crashes out my program.
    Can someone please help?
    Thank You.

    I can but I cannot.
    Text file would be as follows
    10.10.10.20
    10.10.10.21
    10.10.10.25
    10.20.45.200
    84.30.26.79
    So on and so forth for all the IPs of our clients machines.
    The script has the variables as follows.
    set acct to "admin"
    set pass to "password"
    set addr to "10.10.10.10"
    set rightServer to "Connected to " & addr & "? If not fix it!"
    #Login Process
    activate application "Terminal"
    delay 1
    tell application "System Events" to keystroke "ssh " & acct & "@" & addr
    tell application "System Events" to keystroke return
    delay 2
    activate application "Terminal"
    Then the script goes on from there to do some other things.
    I need help with the login process.
    I would like to set it to a txt file and watch as it steps through the file so its more automated.

  • Does JMF still need QTime for .mov files ?

    Hello,
    My question may look stupid, but I have read the JMF supports the .mov format QTime). Does this mean that I does not need QT (or ITunes) anymore, or is it still needed ?
    Before I was using the Java QTime Interface API. Is JMF just an alternative to this API ? Or is it a complete replacement.
    In fact, I'm in the process of migrating applications from Windows to Linux, and there is no QT or ITunes in this environment. So, I'm looking for a solution.
    Many thanks in advance.
    Gege

    My question may look stupid, but I have read the JMF supports the .mov format QTime).Yes, it does.
    Does this mean that I does not need QT (or ITunes) anymore, or is it still needed ?JMF has its own codecs, renderers, etc. for .mov format, so it does not need anything additional to play the file. (see this to know all supported formats for all platforms in JMF)
    Before I was using the Java QTime Interface API. Is JMF just an alternative to this API ? Or is it a complete replacement. I can't say anything about this, I have no idea about the api you are mentioning.
    Thanks!

  • QT Player Launcher Thinks ONE Movie File Is An Audio ONLY File?

    I have just been capturing some DV-PAL clips through my DAC-100 A/D Converter.
    They all work perfectly in FCE but one of them, when opened in the latest QT Player has audio only. The player opens as a tiny audio player.
    Yet if I open the file in QT Player 7 it works perfectly.
    It seems like one of those one-off glitches that occasionally happens but I wondered if anyone had any other ideas about what made the clip dislike the latest player?
    STOP PRESS! I have deleted the clips that I "thought" were OK so now I can't be absolutely sure they were!
    All the clips I have just captured via the DAC-100 are playing audio only in the latest QT Player but perfectly OK in QT Player 7 and FCE.
    So it is not a "one-off".
    Message was edited by: Ian R. Brown

    The plot thickens!
    Actually, I've just noticed that it was FCP 6 I was using, though I wouldn't have thought it would have made any difference.
    After further testing it appears that converted clips captured by FCE 4 work perfectly in QT Player 10, but those captured with FCP 6 playback only the audio . . . . . but work perfectly in QT Player 7.
    Obviously there must be something different between FCE 4 and FCP 6.
    It's no problem . . . . just weird.

  • JMF player and a selected file/mpg

    Does anyone know how to change this piece of code so a JMF player can run when a file/mpg is selected.
    final File directory = new File(".");
        File[] files = directory.listFiles();
        for(int x = 0; x < files.length; x++)
          if(files[x].isFile()) dim.addElement(files[x].getName());
         btn2.addActionListener(new ActionListener()
               public void actionPerformed(ActionEvent ae)
                 int selectedIndex = list.getSelectedIndex();
                 if(selectedIndex < 0)
                   JOptionPane.showMessageDialog(null,"Please select file");
                 else
                   File fileToDelete = new File((String)list.getSelectedValue());
                   if(fileToDelete.delete()) dim.removeElementAt(selectedIndex);
                   }}});

    I don't understand?
    On the program that I use it's works.
    When I put a button, the video close, and the I open an another by launching this method:
    public void openFile(String filename)
         String mediaFile = filename;
         // URL for our media file
         URL url = null;
    if(player!=null)
    player.stop();
    player.deallocate();
    desktop.removeAll();
    repaint();
    try
         // Create an url from the file name and the url to the
         // document containing this applet.
         if ((url = new URL(mediaFile)) == null)
              Fatal("Can't build URL for " + mediaFile);
              return;
         // Create an instance of a player for this media
         try
              player = Manager.createRealizedPlayer(url);
    catch (NoPlayerException e)
              Fatal("Error: " + e);
    catch (CannotRealizeException e)
    catch (MalformedURLException e)
         Fatal("Error:" + e);
    catch (IOException e)
         Fatal("Error:" + e);
         if (player != null)
         this.filename = filename;
         jmframe = new JMFrame2(player, filename);
    //jmframe.setSize(200,100);
         desktop.add(jmframe);
    I hope that It could Help you.
    You can find an exemple quite similar on this site , the name of the file is: MDIApp.java
    ;)

  • Quicktime video for .mov files on Windows 8.1 not working

    I am using the latest Quicktime (v7.7.5) on a new install of Windows 8.1 and .mov files will play but only the audio works - there is no video.  Clearly There is a video codec missing.  Can someone at apple tell me what I need so quicktime (and other applications) can play .mov videos on Windows 8.1?
    Thank you!!!

    Hey Kirk,  thank you for your reply. All my windows media players (Windows, Quicktime, Pinnacle Sudio, etc..all  only play the audio and not the video.  The quicktime player on Windows recogizes a problem and suggests that I goto this website (www.apple.com/quicktime/rescources/components......) and download missing somftware (but gives no indication of what is missing :-)).
    So the Windows Quicktime Player shows that the .mov file is made with the Apple Intermediate Codec, 1308 x 736, Millions 16 bit Integer (little Indidan), Sterdo(LR), 48kHz.   I also looked at the inspector in the Mac.
    This is clearly the issue. I suppose I can always use my Mac to convert files to something more compatible with windows and then move these files.  I just find it hard to believe that Apple does not have a windows 8.x version of this codec. 

  • QT won't play .mov files any more

    After a complete system re-install, QT player won't play .mov files any more. It tells me, some components were missing. Hey, this is its own file format!
    MPG files run OK.
    Thanks a lot for a good idea!
    Peter

    What format are the videos that don't play.
    WMV...Windowa Mwdi Videos you'll need the flip4mac component. Free trail:
    http://www.telestream.net/flip4mac-wmv/overview.htm
    Other codecs, Perian and it's free:
    http://perian.org/
    Flash videos like the one on youTube. Adobe Flash comonent and it's free.
    http://get.adobe.com/flashplayer/?promoid=DXLUJ
    You should download all three and install. Remember to rebuild your Permission after install any or all of the above.

  • Exporting .mov file from CS5.5 Premier Pro for playing through QuickTime Player

    Dear All,
    I would most appreciate any assistance on a problem that I am experiencing with a current project.
    I have a HD1080i50 project which I have completed editing. The work consists of two video tracks on top of a black video track that presents two identically sized images side by side that run con-currently. To achieve this presentation I have solely reduced the scale of the clips to 44% and then positioned them side by side. After rendering, within Premier, the playback is exactly as I want it and the imagery is sharp and clear. The problems occur when I either try to export the project as a mov. file (to play using Quicktime), or when I export to Encore and produce a DVD. In both cases, the audio is fine but the imagery is slightly blurred.
    In the first instance, would someone be kind enough to recommend the optimum export codecs to creat a .mov file for playing through QuickTime?
    To date, with earlier projects, I have not experienced this problem. I am obviously doing something wrong in the export settings process and would appreciate it greatly if anyone can advise. Should more info on the project be required to respond, I am happy to provide it.
    With thanks in advance.

    In the first instance, would someone be kind enough to recommend the optimum export codecs to creat a .mov file for playing through QuickTime?
    Sure, but we need to know what you intend to do with the file. Is it for distribution? Archiving? Watching on a computer, or watching on the web? Do you absolutely need to have a QuickTime MOV? There are many variables, not the least of which concerns the exact specifications of your sequence and the footage you're using in the sequence.
    To make a better recommendation, some more information is needed.

  • .mov file from FCP, what's the next step to convert it to play on a dvd?

    I have a project save to a .mov file from FCP and it looks great. It was shot in 720 HD but my dvd won't play .mov files.
    I'd like to either convert it to an .avi or mpeg file now but after trying a few times through QT Pro and even Mpeg Streamclip, the footage is either pixelated or is too choppy to play on my dvd (Samsung HT5500).
    What are the best settings to convert a HD .mov file to play on a dvd so it looks great. What software should I use for this... QT Pro or Mpeg Streamclip?
    TIA,
    Dale

    DVD Studio Pro.
    And you can't make a DVD that is HD; DVDs are standard definition. You can make Blu-ray discs with a Blu-ray burner and Blu-ray player, but you DVDs will only be 720x480.
    Convert in Compressor with a preset for DVD, and import that into DVD Studio Pro.

  • I'm running snow leopard. The try to open any .mov file in Quicktime, and I get an error message that says, "The document xyz.mov could not be opened. The movie is not in a format that Quicktime player understands. I'm a recent upgrade to Snow Leopard.

    I'm running snow leopard. The try to open any .mov file in Quicktime, and I get an error message that says, "The document xyz.mov could not be opened. The movie is not in a format that Quicktime player understands. I'm a recent upgrade to Snow Leopard.
    Help!
    Thanks, Mark

    Unfortunately, the error message gives no details about what codec might be missing or what it needs.
    If the file can't be opened in QT, it only means you cannot use the QT "Inspector" window to check what compression formats were used to create the file. It does not mean you can't use the Finder "Information" window to check on the compression formats or use a third party media information window (e.g., like VLC which will open many compression formats not supported natively by QT) to determine what kind of data is included in the MOV wrapper. If the file cannot be opened in any app, it is usually a good sign that the file itself is corrupted.
    It's a stupid error message. Apple should do better than that.
    Error trapping is quite extensive but there are still many areas which require human oversight. The message is telling you that either the container has a problem (e.g., not properly terminated, non-standard, or corrupted) or that one or more of the compression formats used is not supported by your current codec component configuration or that the data was encoded using non-standard settings or preferences not supported by QT or that the fourCC code does not match the data contained in the file or that there are timecode inconsistencies, etc., etc., etc. In short there are a near infinite number of possible problems for which it would be very difficult/nearly impossible to program error trapping depending on your sourcing of content and how you process it before it reaches the player app. Think of it like trying to play a BD disc in an DVD player.
    I'll call Apple support when I get a chance.
    Chances are good that they will end up sending you back here. In any case, it is often a good idea to post a sample file for examination by other QT users. At the very least, they should be able to tell you if the sample file will play on other systems which would indicate whether or not the file itself is bad and under the best of circumstances whould allow them to examing the file in detail for various common problems.

  • How to put a .mov file on a dvd using lion and have a commercial DVD player play my movie? iDVD is gone.  I never had it.

    I have found a lot of frustration around this topic but no answers. 
    I have a MacBook Pro with Mac OS X Version 10.7.4.
    I have a video I made with iMovie.  I want to burn it to a DVD for commercial DVD playback.  It's as simple as that. 
    Things I've tried. 
    1. Using iMovie, I saved an HD version of the project to my desktop as a .MOV file.  I know I can just burn that to a DVD.  It won't play.  I need a utility/program to put the necessary files on the DVD so a commercial namebrand DVD player will have what it needs. 
    2. I heard iDVD used to do this but it's not on my MacBook Pro (Lion OS).  I've researched things like "What replaced iDVD" but found nothing but a but of complaining.  (and I can see why).
    3. I have looked for freeware.  It all looks fishy. 
    Other options I'm looking into.
    Use my Mac and connect a cable to the big TV screen.  Play the movie using this screen as a secondary monitor.  Problem - I have a dozen cables but none for this combo. 
    Move the .MOV file to a PC and play it using QuickTime.  The cables I have will work for a PC to TV.  Sad option. 

    Have you tried...     Burn 2.5.1 (FREE)
                                       http://www.macupdate.com/app/mac/21992/burn
                                       http://burn-osx.sourceforge.net/Pages/English/home.html
    Give it a try, it may just serve as the temporary fix you are looking for. Make sure to download the 64-bit version.
    Paid alternatives...
    miDVD Pro
    http://itunes.apple.com/us/app/midvd-pro/id529728401?mt=12
    DVD-Creator
    http://itunes.apple.com/us/app/dvd-creator/id428417852?mt=12
    Xilisoft DVD Creator 7
    http://itunes.apple.com/us/app/xilisoft-dvd-creator-7/id433594067?mt=12
    Easy DVD Creator
    http://itunes.apple.com/us/app/easy-dvd-creator/id471833133?mt=12

  • I have lots of .MOV files on my iPhone5 that I need to transfer to my PC.  Using QuickTime Player 7.7.4 I am unable to view them once they have been copied to a hard drive or directly from the iPhone via USB. 1% of the time a vid is viewable

    I can tranfer them to a hard drive on my PC, but am unable to view most of them using QuickTime Player 7.7.4. Doesn't matter if I'm viewing them via a USB connection to my iPhone5 or from a hard drive after the file has been copied via USB.  1% of the vids are viewable, 20% open with a black screen and audio only. The rest open with a blue, purple and green stryrated mess and no audio.  Yes its a Quick Time problem I know but where do I post this question in the community?  Also searching my drives for other .MOV files downloaded from the net I find the same problem with them.

    Heres what I don't like about VLC, but at least the files are viewable...somewhat.
    1. You can't flip the image 90degrees, needs to have a rotate feature for sure.  This needs to have keyboard shortcut so vids can be rotated easily as one may have shot video horizontally and vertically in the same take.
    2. Opens file to a very large window, most of it off the screen, it should REMEMBER what you resized it to, so the next time a video is played you don't have  to drag the window back on the screen so you can get to the resizing handle in the lower corner.
    3.  Doesn't buffer while playing, so the movies are extremely erractic, starting and stopping every 3 seconds, highly annoying. 
    OK so maybe my PC is too slow, its a dual processor 486 Hyperrthread 2.8G but I only have 2Gigs of memory, however, bettery than 50% of the memory is still available while playing a vid (memory is checked every 4 seconds with a program), but I have 90-100% CPU useage going on while playing.
    Maybe I should think about a new computer.

  • Help with .mov files that QuickTime Player says it can't read

    Help. I have .mov files (on an external hard drive) I can see that they are there, but every time I try to open any of them with QuickTime Player I get the error message "could not be opened. The movie is not in a format that QuickTime Player understands."
    Help....suggestions...ideas????

    Same boat, hope someone has some ideas on this.

  • TS1859 I have a .mov file that won't play in QuickTime Player, MPEG Streamclip or in FCP but plays in VLC, how can I convert it so I can use it in FCP?

    I have a .mov file that won't play in QuickTime Player, MPEG Streamclip or in FCP but plays in VLC, how can I convert it so I can use it in FCP?

    hi
    download perian from internet, it'll solve your issue.

Maybe you are looking for