Single Frame Display

Hi,
I want to give the user the ability to navigate around an FMS-streamed video and adjust the playhead while remaining in a paused state. The video should just play the single frame that corresponds to the current playhead position. I can see that NetStream.play(...) gives me the ability to display only a single frame, but I can't find the equivalent in OSMF. Is there one?
Thanks,
KIrk

I might be misunderstanding your use case, but I don't think you need to do anything special to display that single frame while seeking.  Rather, you just need to call MediaPlayer.seek every time the playhead changes due to the user scrubbing.  The seek method is designed so that subsequent calls will take precedence over the initial call, which enables a constant update of the current frame while seeking.
The ExamplePlayer sample app (source code here) exhibits this behavior.

Similar Messages

  • Single Frame Displays on External Monitor

    I have been searching online for the past three hours, trying to find a solution to this. I have found threads describing similar problems, however, I have done everything suggested in those threads, and nothing seems to work. I am at my wit's end.
    The problem: When I attempt to play my sequence in my timeline, while connected to an external monitor, then audio plays, but only a single frame shows on the monitor. It updates to the most current frame whenever playback stops, but it only shows a static image. Meanwhile, the canvas window in Final Cut Pro displays nothing.
    Things I Have Tried:
    I have selected "All Frames" under View > External Video.
    I have Refreshed A/V Devices.
    I have made certain that the Canvas display size is small. Currently, it is at 50%, and I have also tried setting it to Fit To Window.
    I have gone to Easy Setup, and selected NTSC, DV-NTSC.
    I have checked "Mirror On Desktop" under Audio/Video Settings > A/V Devices > Playback Devices.
    I have also tried unchecking "Mirror on Desktop."
    I have set Video Playback to Apple Firewire NTSC (720 x 480).
    I have set the Sequence Preset to DV NTSC 48 Khz.
    I have set the Device Control Preset to Firewire NTSC.
    I have exited Final Cut Pro, made sure the deck was on first, then turned on Final Cut Pro.
    I have restarted the computer.
    Further Notes: I've noticed that the problem might have something to do with how sequences are displayed. If I double-click on one of my video files in the Final Cut Browser, and open it in the Viewer window, it plays fine, even displays fine in the external monitor (my deck). Furthermore, if I open different Final Cut Projects that worked fine previously, they now have the same issue. So I would assume it is not a problem with the sequence in this current project I am working on.
    Any help you could give would be appreciated more than I can express.

    Have you set the sequence you're trying to play to DV-NTSC? It sounds to me like you're trying to play a sequence that is not a stock DV sequence through a DV device.
    Try creating a new DV-NTSC sequence, copying all the clips from your current sequence, and pasting them into the new sequence.

  • Same button on single frame to display/hide movie clip?

    Hi, can a button on a single frame be coded to both display a movie clip on its first click and, after a second click, hide the movie clip?  Thanks

    Yes, assuming you make the movieclip invisible to start with, in the event handler function just use...
    mc_name.visible = !mc_name.visible;

  • Mouse over HTML link causes single frame to display at top of page Netscape only

    Having a wierd problem. When you run the mouse over HTML
    links on the page a single frame of the flash movie apears at the
    top center of the page. It only happens in netscape in firefox
    mode. IE, Opera, and Firefox do not have the problem.
    Problem site
    Thanks in Advance,
    Vorsch

    The problem goes away if i modify my .css file by removing
    the
    border: 1px solid #999999;
    line from the "a:hover" style.
    I ran my css file thru the validator at w3c and its fine. The
    Page also validates as xhtml transitional.
    and just a note the same file version is on my public server
    and my testing server.
    Has anyone ever seen this before?? I have several sites with
    a:hover effects and flass media and have never run across this
    before.

  • Fix for WebHelp frame display in Mozilla?

    I've checked a number of resources on this topic, including
    Peter Grainge's helpful Website, but I have yet to find a solution.
    When running our WebHelp Help project in Mozilla, the top portion
    of the project frame that separates the navigation and topic
    viewing area from the contents, index, and search tabs is hidden.
    Is there some type of tweak that can be made to one of the
    javascript files to make this portion of the frame display? P.S.
    The JavaScript console in Mozilla reported a number of scripting
    and htm page errors. The errors point to the following files:
    whstart.js, whskin_tbars.htm, whskin_mbrs.htm. Thank you for your
    input.

    You say,
    The missing frame is a HUGE sore spot with our overseas
    colleagues who see this as a significant flaw and would like to
    have it fixed.
    I'm not sure I understand what's missing.
    In lieu of a picture, here's a list of window and frame
    components I see in Firefox (Netscape is substantially the same;
    Opera is a little different.):
    1. The Firefox browser window, with toolbars, status bar,
    etc. as specified in the browser's View menu.
    Inside the window:
    2. The main WebHelp toolbar across the width of the window.
    2a. A background image or color of my choice in the toolbar.
    2b. Contents, Index, Search, Glossary, "About" buttons, any
    that I specified in the single source layout.
    2c. A custom logo/button that I built into the skin in RH.
    2d. A horizontal frame rule between the main toolbar and the
    topic, visible in IE, is missing in Mozilla and the other browsers.
    3. The Navigation frame at left.
    3a. The minibar heading, in a background color or image of my
    choice (requires a patch in whskin_mbars.htm) and a thin bottom
    border.
    3b. The "Hide" X icon (requires one of those patches)
    3c. Triangle icons for browsing foward and back, if I built a
    browse sequence (requires one of those patches).
    3d. The selected listing -- Contents, Index, whatever.
    3e. A vertical frame rule between the left and topic frames,
    matching the horizontal frame rule above the topic.
    4 The topic frame
    4a. The topic header, if any.
    4b The topic. with scrollbars if needed
    4c The topic footer, if any.
    So, please explain, what's missing in your WebHelp that is "a
    HUGE sore spot "?
    Harvey

  • Export vertical oriented movie single frame - not working

    Using:
    - iMac 20" 2 GHz 4 GB RAM
    - OSX10.5.8
    - iPhoto 8 version 7.1.5 (378)
    - QuickTime Player Pro Version 7.6.9 (1680.8)
    - Preview 4.2 (469.5)
    Here is what I do to export a frame from a move in iPhoto to get a single frame:
    Open and play a video in iPhoto using Quicktime Pro, stoping and selecting a particular frame, pressing Command C, open Preview, select New From Clipboard.
    or
    Open and play a video in iPhoto using Quicktime Pro, stoping and selecting a particular frame, Selecting File Export Move to Picture.
    Both the above work for horizontal oriented movies.
    However, for vertically oriented movies neigther works.
    Movies are taken with:
    - iPhone 3GS
    - Exaxti CG6
    - Insignia NS-DSC7B09
    - Fujifilm Finepix XP20.
    Any solutions/suggestions (except upgrading to the newest iPhoto, Lion, etc. too slow on a 2 GHz iMac)
    Thanks.

    I mentioned in the second part of my initial post that I did also try the export "Movie to Picture" with the same results.
    Strange! That work flow still works on my PPC platform. (Unfortunately, I don't have an Intel platform available with OS 10.5.8 installed for testing.)
    Am I able to have "MPEG Streamclip" open as the default when a movie is double clicked on in iPhoto instead of Quicktime opening the movie?
    Not sure. I don't use iPhoto (prefer Aperture) normally and definitely would not use either for video clip management. Try resetting the double-click external edit switch or reset the "Open With" atribute for the class of movies being edited.
    This actually for a novice user who I suggested take short video clips, pick a frame then copy/paste it into Preview instead of taking stills. Unfortunatly my advice fails when the iPhone photos are taken vertically.
    The problem may be based on a change on the application being use. Like anamorphic videos with contain both pixel dimensions and PAR values, the reoriented videos may contain both true orientation and display orientation information. How the files work may depend on the application being used at the time. I.e., some third-party video/still display apps rely on the original orientation while others use the "rotated" info embedded in the file. And, unfortunately, it appears that Preview does not know what to do, so it does nothing. My guess is this is a bug that needs to be reported in feedback to Apple again and again until until they decide to address and correct the Preview application.

  • AE 2014: Effect Remains on Single Frame

    Hey folks -
    Summary: I've tried to remove an effect from a clip, but it seems to remain in one, single frame on that clip.
    I've literally just started using AE on my new Mac Pro yesterday.  "Neophyte" doesn't begin to describe me. :-)  I have a chunk of a Pr timeline, consisting of 3 separate video clips opened in AE.  The goal: add the "CC Scatter" effect to each of the 3 clips, to make them scatter into, and then out of existence.  Someone suggested that I extend the effect on the third clip, so I went through and deleted all of the keyframes in that clip after the CC Scatter was reduced to 0.0.  However, the effect remains on one frame.  I've included a screen grab from AE, and highlighted the effect control showing that AE even thinks it should be 0.0.  But the video is displaying partially scattered for some reason.  You'll note an extra keyframe at the end of the clip; I put that there as an experiment, with the value set to 0.0, hoping it would force AE to remove the effect from that one frame.  It didn't work.
    My guess is that something's cached and needs to be nuked.  If I save it and re-render it in Pr, that same scatter shows up in the exact frame.  Is there something I can nuke or clear or some such to make that go away?
    System:  Mac Pro, 8-core, 64GB RAM, D700 GPUs
    AE: CC 2014

    Rick Gerard wrote:
    Purge your cache.
    I didn't initially see that in the Edit menu.  Thanks much; that did the trick!

  • Photos as single frames

    This is probably a really stupid newb question, but I can't figure out how to import photos (jpegs in this case) as successive single frames into iMovie 08. I'm trying to create a time-lapsed movie from about 300 still images. Can someone give me some help on this? Thanks.
    Mike

    This is probably a really stupid newb question, but I can't figure out how to import photos (jpegs in this case) as successive single frames into iMovie 08. I'm trying to create a time-lapsed movie from about 300 still images. Can someone give me some help on this?
    Unfortunately, iMovie '08 automatically imports photos and adds them to the project as a "still frame" sequence assuming you will either add a KBE or display the photo for a fixed duration of time. Here is a "Quickie" Tutorial to get around this problem.
    TUTORIAL 024: CREATING A SINGLE-FRAME PHOTO SEQUENCE

  • Converting a single frame swf to a gif

    I have a couple of really cool animated 'shockwave flash
    movie windows projector' images that i would love to convert into
    animated gif's so that I can edit them to work in a theme I'm
    designing for my sony ericsson w580i. I was finally able to convert
    the exe files into swf's... but that didn't really do me any
    good... same issue. Also upon further scrutiny I discovered that
    both animated file types have only 1 frame! What should I do?!
    Please help!!

    I've experienced the same thing sometime long in the past,
    and I probably did a frame by frame Print Screen to get around it.
    If it's single frame swf, then that's probably all you're going to
    get is one frame as an output.
    You may be able to incorporate a jpeg encoder of some sort to
    take snapshots as the piece animates in some form of loop fashion,
    but I'm not savvy in that dept.

  • How to use single frame in a page

    Hello, i would like to now how to make a frame in a page
    without having two or more, i was used to work with GoLive and
    there i could use the grid an put a single frame and make links to
    other pages that would open in that frame, it worked wel for me,
    but since I switched from golive to dreamweaver CS3 i am not able
    to do so. Is there some one how could tel me how to do so, since i
    use a lot of single frames in my pages,
    greetings

    why are you wanting to use single frames?
    They allow having the initial frame address stay in the
    address bar, and not
    show the linked page's address. The problems they cause
    usually override any
    value.
    Or- if we aren't using the same words the same way, please
    give an example
    site of what you want to do.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • HT200044 how to export a single frame in 10.0.6 - I cannot find option?

    With 10.0.5 There was an option on "share" to pick a single frame from the timeline and export the image as a JPEG or other formats.  I do not find this option on the new version.

    It works now, you need to go back to share and a new option is available that was created by the step you mentioned, listed as share frame one -- when selected, this allows for exporting the frame to the desktop!
    Thanks.
    Jon

  • What's the simplest way to export a single frame from an animated gif as gif?

    i have an animated gif and wish to save a single frame as a non-animated gif.
    in the past i've been achieving this by deleting all the frames i don't wish to export and deleting them before exerting, this seems very clumsy though so i figure there's a more sensible solution in there somewhere, but where?

    Thanks, Bill! Actually version 9 looks a little clearer than that, as it has two bold clear white paddles to mark the edge of the work area.
    I was a little frustrated at first, because whatever I did, it still took a year and exported the entire video.
    Then:
    I caught sight of this teeny tiny box waiting for a tick from me, which said:
    Share Work area Bar Only
    We have lift-off 
    Thanks again. So much quicker than all that deleting ahnd hoping you don't accidentally say "yes" when prompted to save changes!

  • How do I position to panels in a single frame?

    Hi,
    Can someone tell me how i can position two panels in a single frame using the BorderLayout class.
    I have included my code below. When it is run it shows two JPanels positioned at the top and the bottom, a text area to the right, a panel in the center and a panel on the left. I want to get the panel on the left - the yellow panel - to be positioned in the lower third of the center panel. I have tried to use the BorderLayout.SOUTH statement - but this positions the panel across the very bottom which causes the bottom JPanel and part of the text area to disappear.
    Can anyone help with this please???
    Many thanks
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Panels extends JFrame implements ActionListener
         private TopPanel topPanel;
         private BottomPanel bottomPanel;
         private JButton open;
         private JButton close;
         private JButton connect;
         boolean openClicked = false;
         boolean closeClicked = false;
         public Panels()
              super("Panels");
              setSize(1000,600);
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              setVisible(true);
              Container contentArea = getContentPane();
              topPanel = new TopPanel();
              bottomPanel = new BottomPanel();
              JTextArea textArea = new JTextArea("Text Area",20,20);
              JScrollPane textScroller = new JScrollPane(textArea);
              open = new JButton("Open");
              open.addActionListener(this);
              close = new JButton("Close");
              close.addActionListener(this);
              connect = new JButton("Connect");
              connect.addActionListener(this);
              JPanel topBar = new JPanel();
              topBar.setBackground(Color.red);
              topBar.add(open);
              topBar.add(close);
              JPanel lowerBar = new JPanel();
              lowerBar.setBackground(Color.red);
              lowerBar.add(connect);
              bottomPanel.setPreferredSize(new Dimension(100,100));
              contentArea.add(topPanel);
         contentArea.add(bottomPanel,BorderLayout.WEST);
              contentArea.add(textScroller,BorderLayout.EAST);
              contentArea.add(lowerBar,BorderLayout.SOUTH);
              contentArea.add(topBar,BorderLayout.NORTH);
              setContentPane(contentArea);
    public void actionPerformed(ActionEvent e)
         if(e.getSource() == open)
         openClicked = true;
         topPanel.repaint();
         if(e.getSource() == close)
         {closeClicked = true;
         bottomPanel.repaint();
    class TopPanel extends JPanel
         public TopPanel()
         public void paintComponent(Graphics painter)
              super.paintComponent(painter);
              painter.setColor(Color.white);
              painter.fillRect(0,0,getSize().width,getSize().height);
              if (openClicked == true)
              drawTopMessage(painter);
         public void drawTopMessage(Graphics painter)
              painter.setColor(Color.black);
              painter.drawString("This is the top panel", 20,20);
    class BottomPanel extends JPanel
         public BottomPanel()
         public void paintComponent(Graphics painter)
              super.paintComponent(painter);
              painter.setColor(Color.yellow);
              painter.fillRect(0,0,getSize().width,getSize().height);
              if (closeClicked == true)
              drawBottomMessage(painter);
         public void drawBottomMessage(Graphics painter)
              painter.setColor(Color.black);
              painter.drawString("This is the bottom panel", 20,20);
    public static void main(String[] args)
         Panels example = new Panels();

    One solution would be to create a new panel, bothPanels and adding the two panels that you need to this panel.
    Once you have done that, you can add bothPanels to contentArea.add( bothPanels, BorderLayout.CENTER)
    hth

  • Concatenate two single frame swf's into one singleframe swf?

    Hi
    Is it possible to combine multiple swf's into one "single frame" swf?
    I have an flex application, that has a scroller with a swfloader inside, and the swfloader should load the "single frame" swf and it is possible to navigate up and down, via the scroller.
    Any help is appreciated.
    /Allan

    I've experienced the same thing sometime long in the past,
    and I probably did a frame by frame Print Screen to get around it.
    If it's single frame swf, then that's probably all you're going to
    get is one frame as an output.
    You may be able to incorporate a jpeg encoder of some sort to
    take snapshots as the piece animates in some form of loop fashion,
    but I'm not savvy in that dept.

  • Premiere Pro CC 'single frame' export squashes aspect ratio

    Hi,
    When I used the single frame export button to export a single frame from my timeline, the 16:9 ratio gets squashed in.
    The image has a play button graphic on it and that should be round but it comes out oval. 
    When I import the image into Photoshop, it looks normal 16:9 but when I save it as a jpeg and open it up, it's still squashed.
    I would be so grateful if someone could help me sort this out. 
    Cardamada

    Thanks Jim for your quick reply.  I am still wondeirng if there is a better way.  The footage I am editing is 1920 x 1080 DSLR footage.  Anytime I export a frame from Fnal Cut Pro it does it fine.  I moved over to Adobe recently and I'm suprised that it's not working.  I wondered whether there was a way to change my export settings so that it exports with square pixels from Premiere Pro.  Meanwhile I will try to follow your  instructions re square pixles and photoshop.

Maybe you are looking for