Scaling/Zooming ImageElements

Hi,
this post is not only OSMF specific but it would be great if someone can help out with my problem.
I'm currently working on a MediaPlayer which works with VideoElement and ImageElements in a series. The VideoElements are dynamic anyway so I would like to animate the static images. My goal is a "Ken Burns - Effect" with movement and zoom. But first of all I need to find a way to access the right paramters of a ImageElement to manipluate them at runtime. Because ImageElements are static I load them as DurationElements first.
As what I know I need to access the current DisplayObject of the MediaPlayer at runtime. I do this by adding a EventListener on a ImageElement:
imageElement1.addEventListener(MediaElementEvent.TRAIT_ADD, onTraitAdd);
Now in the Listener function I can access the current Element:
var displayObjectTrait:DisplayObjectTrait = event.target.getTrait(MediaTraitType.DISPLAY_OBJECT);
But what I can't do know it to manipluate the current DisplayObject through e.g. :
displayObjectTrait.displayObject.scaleX = 0.5;
Working this way makes nothing happen.
Is there a better way to manipulate the ImageElement-Parameters at runtime? Has someone an idea how to apply a dynmic zoom or scaling effect on ImageElements?

Have you tried using the OSMF layout API?  This might be a simpler approach since you don't have to drill down to the DisplayObject, you only need to set some layout parameters (in the form of a LayoutMetadata) object and assign it to the ImageElement.
For an example of dynamic layout, see "Dynamic Layout" in the ExamplePlayer sample app (source here).

Similar Messages

  • Report page scaling/zoom for paper size and field width?

    Are there ways to design a report, or programmatically set a report to dynamically resize based on factors such as paper size (A4 vs. Letter vs. Legal), orientation (portrait vs. landscape), and field width (e.g fields grow and shrink based on data)?  We are looking at ways to dynamically choose paper size and scale.  This would be similar to how Excel files can adjust for printing depending on paper, and PDF files can zoom in/out for paper size.
    Thanks,
    Kyle

    We don't want to add fields dynamically at runtime.  Instead we want to automatically resize fields at runtime to properly fit data on the page.  Currently with our 400 reports, data fields have gotten longer over the years so important data is being truncated.  We'd like it if fields could properly grow/shrink/scale so that the data is always valid.  We'd like it if the user flips from portrait to landscape, the field widths automatically grow to use the entire page.  Or, if a user goes from Letter to A4, pagination still works properly and the fields get slightly wider to fit the A4 standard.
    What we don't want is to have a version of the report for portrait Letter, portrait A4, portrait Legal, landscape Letter, landscape A4, landscape Legal, etc.  It would be a support nightmare.
    I don't know if it is possible, but I'm hoping it is.  Thanks for the help.
    Kyle

  • Scaling  |  Zoom (i.e. "maintain aspect ratio, scale to fill and crop to remove outside boundary"

    Hi,
    I have a mismatch on the aspect ratio of my source and visual display region.  (And please just assume that I can not conform the visual display region to match the source's aspect ratio.)
    Flash's default gives me ""scale to fit" which maintains my source's aspect ratio but results in "letterboxing" black space.
    Does OSMF (or Flash) have a configurable property that will maintain aspect ratio, scale to fill and crop to remove outside boundary?  Or do I just have to code my own solution (e.g. using masking)?
    I have a diagram here:
    http://flexflashvideo.com/codesamples/2010/zoom_crop.png
    Thanks,
    g

    Have you tried with ScaleMode in OSMF?
         var layout:LayoutMetadata = new LayoutMetadata();
            video.addMetadata(LayoutMetadata.LAYOUT_NAMESPACE, layout);
       layout.scaleMode = ScaleMode.ZOOM;
    Ryan

  • Problem in getting the image coordinates  when i zoom in or zoom out

    Hi,
    i have doubts with scaling (Zoom in and Zoom out) using following code but when i zoom in want to get the x and y coordinates but im getting resized coordinates , pls do the needful
    public class TiffTest extends JFrame implements MouseListener
    public TiffTest(String filename)
    RenderedImage source= JAI.create("fileload",filename);
    SubsampleBinaryToGrayDescriptor sb=new SubsampleBinaryToGrayDescriptor();
    RenderingHints rh=new RenderingHints(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_DEFAULT);
    RenderedOp op=sb.create(source,new Float(0.5),new Float(0.5),rh);
    JScrollPane scrollPane = new JScrollPane();
    displayjai dj=new displayjai(op);
    scrollPane.setViewportView(dj);
    getContentPane().add(scrollPane,BorderLayout.CENTER);
    int screen_width=(int)this.getToolkit().getScreenSize().getWidth();
    int screen_height=(int)this.getToolkit().getScreenSize().getHeight();
    setVisible(true);
    setSize(screen_width,screen_height);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    setExtendedState(JFrame.MAXIMIZED_BOTH);
    dj.addMouseListener(this);
    JAI.create("filestore",dj.ima,"god.tif","TIFF");
    public static void main(String s[])
    new TiffTest("1_org.tif");
    public void mouseClicked(MouseEvent e){System.out.println(e.getX()+","+e.getY());}
    public void mousePressed(MouseEvent e){}
    public void mouseReleased(MouseEvent e){}
    public void mouseEntered(MouseEvent e){}
    public void mouseExited(MouseEvent e){}
    class displayjai extends DisplayJAI
    RenderedOp ima;
    public displayjai(RenderedOp inputImage)
    super(inputImage);
    ima=inputImage;
    setPreferredSize(new Dimension(ima.getWidth(),ima.getHeight()));
    System.out.println(inputImage.getWidth()+","+inputImage.getHeight());
    Thankx
    Kannan

    hi all,
    I am getting the image from the server.but the problem is i am getting the Exception as ArrayOutOfBound exception.
    It was displaying the Image for the first time.and when ever it was going for the second time in to the paint method it was displaying the IOException in reading the stream from the connection.
    can anybody give me the solution in rectifying that exception.
    thanks in advance
    lakshman

  • Blurry when scaling in.. Continually rasterize already on..

    I have a question about After Effects and resolution/pixelation. I'm creating a kinetic typography video, where text comes on to the screen. I am doing a lot of scaling/zooming and when I do, the pixelation/resolution is completely ruined and you can barely even read the text.. I have been doing some research on this and everyone says to turn on continually rasterize all of the vector layers, and they are already and it is still blurring when I zoom in.
    Here is a preview.. Is there anything I can do to reduce the bluriness when I zoom in?

    Can't see the video due to the music copyright restrictions, but I would suspect you are using something that causes rasterization even in AI. Anything from clipping masks to pixel-based effects like drop shadows or Gaussian blur. Anyway, probably perfectly normal and correct the way AE handles it. So unless you change the setup in AI, it will stay this way...
    Mylenium

  • Scaling Dynamic Text Fields

    I have some dynamic text fields inside a movie clip that can
    be scaled (zoomed). When the holder clip is scaled, however, the
    word wrap of the text field changes.
    Is there a way to lock the word-wrap so that it doesn't
    shift?

    Got it-- I just needed to embed the fonts.

  • StylePad demo - scaling it

    Hi, I'm trying to modify the Stylepad demo (located in $JAVA_HOME/demo/jfc/Stylepad) so that it works 100% with a scaled instance of Graphics2D.
    I've seen a bit of discussion around this (scaling/zooming a JTextPane/JTextComponent) - but I have yet to see a solution.
    Just overriding JTextPane's paintComponen() method and serving it a scaled Graphics2D instance opened up a box of problems :) - to which I would appreciate solution suggestions to.
    I've modified StylePad.java's createEditor() method. Here it is:
        protected JTextComponent createEditor() {
               StyleContext sc = new StyleContext();
               final DefaultStyledDocument doc = new DefaultStyledDocument();
                  initDocument(doc, sc);
              final JTextPane p = new JTextPane(doc){
                  public void paintComponent(Graphics g) {
                            Graphics2D g2d = (Graphics2D)g;
                         g2d.scale(0.5,0.5);
                         super.paintComponent(g2d);
                    p.setCaret(new ScaledCaret()); // my custom caret
                    p.addCaretListener(new CaretListener() {
                            public void caretUpdate(CaretEvent e) {
                                p.repaint();
                 MouseInputAdapter mh = new MouseInputAdapter() {
                            public void mousePressed(MouseEvent e) {
                                    p.repaint();
                           public void mouseDragged(MouseEvent e) {
                                    p.repaint();
                    p.addMouseListener(mh);
                    p.addMouseMotionListener(mh);
                    p.setDragEnabled(true);
         /* My own BasicTextPaneUI implementation, commented out for now
            ScaledTextUI sTextUI = new ScaledTextUI();
            p.setUI(sTextUI);
            return p;
        }The first problem I encountered was that the Caret position was all wrong. So, I created my own caret implementation that extends DefaultCaret. Remember that this is just test code to get it working with the scale 0.5,0.5 which I use in StylePad ..
    import javax.swing.text.DefaultCaret;
    import java.awt.*;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseMotionListener;
    public class ScaledCaret extends DefaultCaret {
         * Moves the caret position
         * according to the mouse pointer's current
         * location.  This effectively extends the
         * selection.  By default, this is only done
         * for mouse button 1.
         * @param e the mouse event
         * @see MouseMotionListener#mouseDragged
        public void mouseDragged(MouseEvent e) {
            MouseEvent p = new MouseEvent((Component)e.getSource(),e.getID(),e.getWhen(),e.getModifiers(),(int)Math.round(e.getX()*2), (int)Math.round(e.getY()*2),e.getClickCount(),e.isPopupTrigger());
            super.mouseDragged(p);
         * Tries to set the position of the caret from
         * the coordinates of a mouse event, using viewToModel().
         * @param e the mouse event
        protected void positionCaret(MouseEvent e) {
            MouseEvent p = new MouseEvent((Component)e.getSource(),e.getID(),e.getWhen(),e.getModifiers(),(int)Math.round(e.getX()*2), (int)Math.round(e.getY()*2),e.getClickCount(),e.isPopupTrigger());
            super.positionCaret(p);
    }That fixed the Caret positioning problems - but it still does not blink (once scaled the caret stops blinking).
    The problem I am working with now is the size of the component.
    If you run the StylePad demo with the above code you will experience problems with the painting of the JTextPane .. the ScrollPane obviously thinks its bigger than what it is, and around the JTextPane a lot of "rubbish" is painted.
    My next step was creating a class extending BasicTextPaneUI. I did this, overriding getMaximumSize(), getPeferredSize() and getMinimumSize() to always return a specific dimension. It did not fix the problems I described above..
    Hope someone takes an interest in this problem :)

    Hi again,
    I found out that the scaled painting should be done in the JTextPane's paintComponent method (this will affect all children). Doing them in the view's messed up things ..
    I do however still have problems. Trying to implement your code everything looks pretty messed up.. Here's my EditorKit and ViewFactory if you would be kind enough to take a look at it:
        static class MyEditorKit extends StyledEditorKit implements ViewFactory {
          * Fetches a factory that is suitable for producing
          * views of any models that are produced by this
          * kit.  The default is to have the UI produce the
          * factory, so this method has no implementation.
          * @return the view factory
            public ViewFactory getViewFactory() {
             return this;
             * Creates an uninitialized text storage model (PlainDocument)
             * that is appropriate for this type of editor.
             * @return the model
            public Document createDefaultDocument() {
                return new DefaultStyledDocument();
          * THIS IS COPIED FROM StyledEditorKit
          * Creates a view from the given structural element of a
          * document.
          * @param elem  the piece of the document to build a view of
          * @return the view
          * @see View
          public View create(Element elem) {
             String kind = elem.getName();
             if (kind != null) {
              if (kind.equals(AbstractDocument.ContentElementName)) {
                        return new MyLabelView(elem);
              } else if (kind.equals(AbstractDocument.ParagraphElementName)) {
                  return new MyParagraphView(elem);
              } else if (kind.equals(AbstractDocument.SectionElementName)) {
                  return new MyBoxView(elem, View.Y_AXIS);
              } else if (kind.equals(StyleConstants.ComponentElementName)) {
                  return new MyComponentView(elem);
              } else if (kind.equals(StyleConstants.IconElementName)) {
                  return new IconView(elem);
             // default to text display
                return new LabelView(elem);
         }Here's an example of one of the view's (MyParagraphView since that is the one that is used frequently (always?):
            static class MyParagraphView extends javax.swing.text.ParagraphView {
                public MyParagraphView(Element elem) {
                    super(elem);
                    System.out.println("new MyParagraphView()");
                 * Determines the minimum span for this view along an
                 * axis.  This is implemented to provide the superclass
                 * behavior after first making sure that the current font
                 * metrics are cached (for the nested lines which use
                 * the metrics to determine the height of the potentially
                 * wrapped lines).
                 * @param axis may be either View.X_AXIS or View.Y_AXIS
                 * @return  the span the view would like to be rendered into.
                 *           Typically the view is told to render into the span
                 *           that is returned, although there is no guarantee.
                 *           The parent may choose to resize or break the view.
                 * @see View#getMinimumSpan
                public float getMinimumSpan(int axis) {
                    float f = super.getMinimumSpan(axis);
                    System.out.print("getMinimumSpan() from super ="+f+" .. ");
                    if(axis == View.X_AXIS) {
                        f *= StylePadConstants.X_SCALE_FACTOR;
                    } else {
                        f *= StylePadConstants.Y_SCALE_FACTOR;
                    System.out.println("new ="+f);
                    return f;
                 * Determines the maximum span for this view along an
                 * axis.  This is implemented to provide the superclass
                 * behavior after first making sure that the current font
                 * metrics are cached (for the nested lines which use
                 * the metrics to determine the height of the potentially
                 * wrapped lines).
                 * @param axis may be either View.X_AXIS or View.Y_AXIS
                 * @return  the span the view would like to be rendered into.
                 *           Typically the view is told to render into the span
                 *           that is returned, although there is no guarantee.
                 *           The parent may choose to resize or break the view.
                 * @see View#getMaximumSpan
                public float getMaximumSpan(int axis) {
                    float f = super.getMaximumSpan(axis);
                    if(axis == View.X_AXIS) {
                        f *= StylePadConstants.X_SCALE_FACTOR;
                    } else {
                        f *= StylePadConstants.Y_SCALE_FACTOR;
                    return f;
                 * Determines the preferred span for this view along an
                 * axis.  This is implemented to provide the superclass
                 * behavior after first making sure that the current font
                 * metrics are cached (for the nested lines which use
                 * the metrics to determine the height of the potentially
                 * wrapped lines).
                 * @param axis may be either View.X_AXIS or View.Y_AXIS
                 * @return  the span the view would like to be rendered into.
                 *           Typically the view is told to render into the span
                 *           that is returned, although there is no guarantee.
                 *           The parent may choose to resize or break the view.
                 * @see View#getPreferredSpan
                public float getPreferredSpan(int axis) {
                    float f = super.getPreferredSpan(axis);
                    System.out.print("getPreferredSpan() - from super="+f+"  .. ");
                    if(axis == View.X_AXIS) {
                        f *= StylePadConstants.X_SCALE_FACTOR;
                    } else {
                        f *= StylePadConstants.Y_SCALE_FACTOR;
                    System.out.println("new="+f);
                    return f;
                 * Provides a mapping from the document model coordinate space
                 * to the coordinate space of the view mapped to it.  This makes
                 * sure the allocation is valid before calling the superclass.
                 * @param pos the position to convert >= 0
                 * @param a the allocated region to render into
                 * @return the bounding box of the given position
                 * @exception BadLocationException  if the given position does
                 *  not represent a valid location in the associated document
                 * @see View#modelToView
                public Shape modelToView(int pos, Shape a, Position.Bias b) throws BadLocationException {
                    Rectangle r = (Rectangle)super.modelToView(pos, a, b);
                    r.x *= StylePadConstants.X_SCALE_FACTOR;
                    r.y *= StylePadConstants.Y_SCALE_FACTOR;
                    r.width *= StylePadConstants.X_SCALE_FACTOR;
                    r.height *= StylePadConstants.Y_SCALE_FACTOR;
                    return r;
                 * Provides a mapping from the view coordinate space to the logical
                 * coordinate space of the model.
                 * @param x   x coordinate of the view location to convert >= 0
                 * @param y   y coordinate of the view location to convert >= 0
                 * @param a the allocated region to render into
                 * @return the location within the model that best represents the
                 *  given point in the view >= 0
                 * @see View#viewToModel
                public int viewToModel(float x, float y, Shape a, Position.Bias[] bias) {
                    float newx = (float)(x*StylePadConstants.X_SCALE_FACTOR);
                    float newy = (float)(y*StylePadConstants.Y_SCALE_FACTOR);
                    Rectangle r = a.getBounds();
                    r.x *= StylePadConstants.X_SCALE_FACTOR;
                    r.y *= StylePadConstants.Y_SCALE_FACTOR;
                    r.width *= StylePadConstants.X_SCALE_FACTOR;
                    r.height *= StylePadConstants.Y_SCALE_FACTOR;
                    int i = super.viewToModel(newx, newy, r, bias);
                    return i;
            }What happens is that text elements are displayed on top of other text elements etc.
    All the other views (MyBoxView etc.) contains the same code as the one above. I copied the create() method from StyledEditorKit's ViewFactory.
    StylePadConstants merely contains the x/y scale factor.
    Best regards,
    Bjorn

  • Aspect ratio difference 1.1 vs 2.0

    Now before I start this could be different TVs doing different things.
    However, this could be a difference in the way AppleTV 1.1 vs 2.0 handles video.
    AppleTV1 > software 1.1 > connected LG 32"LCD (1080i setting)
    AppleTV2 > software 2.0 > connected Panasonic 42" plasma (1080p setting)
    Both connected via HDMI.
    I have a movie which is in an aspect ratio of I guess 2.35:1, certainly wider than 16:9.
    If I play this file fullscreen in Quicktime Pro it is certainly much wider than the 16:10 of my iMac monitor.
    On the Panasonic via AppleTV 2.0, the expected black bars top and bottom are preserved.
    Same file via AppleTV 1.1 on the LG and the movie is scaled to fill the 16:9 screen i.e. stretched vertically.
    I have definitely not got HDMI scaling/zooming on on the LG TV set as I can cycle through the Zoom options and get back to original which looks stretched.
    I cannot believe that the TV would automatically stretch wider than 16:9 content to fit as this would play havoc with HDMI playback of such material on DVDs.
    This is bizarre, and I can only assume that AppleTV1 is zooming vertically to fill the screen on this file.
    Anyone with both software versions have a similar file to compare?
    AC
    Message was edited by: Alley_Cat

    OK
    I've swapped the AppleTV over on the Panasonic - AppleTV 1 (1.1 - 1080i) gets the aspect ratio wrong and zooms the movie vertically, whereas AppleTV 2.0 (1080p) gets it right.
    I'm sure I used to have some wider than 16:9 content before and never noticed this problem.
    Perhaps a more important finding:
    1.1 definitely won't play back the 5.1 soundtrack that AppleTv 2.0 will.
    However, as 5.1 movies ALSO have an AAC soundtrack, AppleTV 1.1 will still output this audio track correctly from files that have both - so no real problem running both versions on your network.
    AC
    Message was edited by: Alley_Cat

  • Importing .asf files, blurry in source/sequence monitors and output

    I have a large amount of material to work with in .asf form, 480x360 resolution. I'll be outputting to 480x360 as well, so no scaling/zooming needed at all. Problem is, when I import one of those asfs it immediately becomes blurry, i.e. in the source monitor even before I insert it into the sequence and do any modifications. Comparing the imported files to the originals there is a noticeable difference at the exact same dimensions.
    I've made sure my sequence settings are at 480x360 resolution. Not sure where else to look on this, any suggestions?
    In the past I've done a very similar workflow in PE with no problems, so I'm assuming (hoping??) that there's some easily changed option. Thanks in advance.

    Have tried various other permutations in project setup and output - still no luck.
    I'm wondering if a clue is the behavior of the program monitor - the clip displays clearly in it until I 'select' the video screen, at which point it blurs just like the output. If I click another area of the screen again, the image resharpens, and so forth. Anyone know what mechanism is causing that?

  • Help With JScrollPane and many JLabels...

    I am in the process of designing an 'image browser' applet for a client, but am having some difficulty in deciding how I can most elegantly meet all of the requirements. The specification calls for an applet that can view up to 400 images (all images are small - 120 * 120 px), the view of the images can be scrolled (if not all are in the view) or scaled (zoom in and out on any area), and the images will need to 'animate' or move to new locations as sorting criteria changes. Also, I need to be able to group images into arbitrary n*n arrays and click on any image in the view (rollovers may also be necessary in the future).
    At first, I thought this would be easily solved by putting the images (JLabels?) into as many groups (JPanels?) as necessary to meet the sort criteria, then adding the groups to my main view (JScrollPane w/JPanel) in a GridLayout. My current attempt at a solution scales the groups (JPanels) via. an overridden paintComponent method from within my main scrolling view (using g2d and scale). Unfortunately, I now have many problems that I am having trouble solving:
    1. After I re-scale the JScrollPane (zoom in or out) and then try and scroll, the new images that scroll in are either garbled or just junk (seems like remnants of the original, non-scaled components?).
    2. The scrollbars, at first, were not reflecting the current scaling and how much content is visible, so I overrode the getPreferredSize method in my JScrollPane content object to return (super.getPreferredSize * scaleFactor) - this fixes the appearance of the scroll bars (ie. they accurately reflect how much content there is), but it also offsets all of the images left depending on the scale value (less scale -> images offset further left).
    3. I need pixel-perfect control over the images, so that I can animate the transition from one 'group' to another - I can't see a way to achieve this with my current solution.
    Has anyone tried to do something like this before? What is a good way of accomplishing what I need here? Any code out there that does something similar? Any help would be appreciated, I've been banging my head against the wall over this for days now...
    Thanks in advance,
    Mike P.
    Here is some relevant code:
    /* From BrowserPanel (JPanel associated with my main JScrollPane) */
    public void paint (Graphics g) {
        Graphics2D g2d = (Graphics2D) g;
        g2d.scale(scaleFactor, scaleFactor);
        super.paint(g2d);
    /* From BrowserPanel (JPanel associated with my main JScrollPane) */
    public Dimension getPreferredSize() {
        Dimension origSize = super.getPreferredSize();
        double originalSizeX;
        double originalSizeY;
        originalSizeX = origSize.getWidth();
        originalSizeY = origSize.getHeight();
        double newSizeX = originalSizeX * scaleFactor;
        double newSizeY = originalSizeY * scaleFactor;
        String strX = Double.toString(newSizeX);
        String strY = Double.toString(newSizeY);
        /* Round the string (discard anything after the decimal) */
        strX = strX.substring(0, strX.indexOf("."));
        strY = strY.substring(0, strY.indexOf("."));
        /* Convert string to int... */     
        int x = Integer.parseInt(strX);
        int y = Integer.parseInt(strY);
        return new Dimension(x, y);
    }

    I increased the frame size to 3 lines and noticed the the flickering is a result of the text area painting itself without the scrollbar and then repainting itself with the scrollbar. I don't know why this happens, but a work around is to use:
    ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS,

  • Exact import settings for .mov files via MPEG Streamclip?

    Ok, as I mentioned in this other thread , I'm looking to import some files recorded at an odd resolution into FCE.
    Resizing my 512x288 files to 720x480 looks like it works, as well as with my 640x480 ones (don't know how it'll ultimately mess with the quality)... but I did do a test using some footage from 3 different video sources with different native resoultions, a)720x480 Sony DV Cam, b) 512x288 captured by helmet cam on Archos PMA 430, and c) 640x480 captured on Canon SD600, as well as .jpeg photos at 640x480 res.
    I changed the odd sizes (Archos & Canon) to 720x480 using MPEG Streamclip, resampling the sound uncompressed at 48 khz, using the Apple DV/DVCPRO NTSC compression option. Importing these files into FCE, I mixed them and the Sony standard footage, and a few pictures up on a timeline, rendered it and exported it to a QT file, then burnt a CD. It appears to have worked to my satisfaction.
    My question is, before I go and convert about 60 5-10 minute clips to this 720x480 resolution for use in a full length documentary, are there any settings I should be ticking off on the MPEG Streamclip interface to maximize the likelihood that the final project will work as well as the test did?
    Below are the options I selected in the test, which seemed to work:
    MPEG STREAMCLIP
    Compression: Apple DV/DVCPRO-NTSC
    Quality: 100%
    Sound: Uncompressed Stereo 48 KHZ
    Frame Size: 720x480
    Frame Rate: 29.97
    Checked boxes for:
    -Frame Blending
    -Better Downscaling
    -Interlaced Scaling
    Zoom: 100%
    X/Y: 1
    Center: 0,0
    Field Dominance: Upper field first
    That's about it. I tried doing similar conversions in a trial version of DIVX Converter pro, but the quality was noticibly lower than in MPEG streamclip. Maybe I just had the wrong settings in it.
    Anyway, Tom Wolsky has mostly got me on the right track in the last post "...so the material needs to be a .mov QuickTime file in DV NTSC, at 29.97fps, audio should be Linear PCM with a sample rate of 48KHz, and frame resolution of 720x480 using the CCIR601 digital video aspect ratio... be warned you're scaling up a very, very heavily compressed video stream, so it's going to look less than optimal when you make it DV. I can't believe they can do 192kbps at that frame rate, when DV, which is heavily compressed as well, is 3.5MB/sec."
    I have no idea if what I described in my test is heavily compressed or not, so couldn't really say how the settings I mentioned above affect Tom's latter advice.
    Anyway, any help would be welcome before I encode all these files. Thanks.
    iMac 17-inch 1.83GHz Intel Core Duo   Mac OS X (10.4)  

    I'm kind of confused because the only settings I could find on the Handycam for audio are 12 khz and 16 khz, and though I think I filmed them at 12, I've captured the footage at both within FCE... I'm not sure either have shown any probs when imported at 48 khz as yet. Not sure if that's because they are a multiple of 48 or I just got lucky. Either way, 1) does the audio bit rate the footage was captured at (12 khz) change to 16 if changed on the camcorder (or is it solely what the original was filmed in, period) prior to capture on FCE, 2) and if so or if not, how serious of a problem will it pose, if I do nothing and keep the FCE settings at the normal NTSC 48khz, in later stages of production considering there will be a lengthy timeline?
    iMac 17-inch 1.83GHz Intel Core Duo Mac OS X (10.4)

  • Horizontal scrollbar of waveform chart in tab page resets to end when tab page switched

    I've got a VI in LV 2012 with a chart in one of two pages of a tab control.  Whether compiled to an executable or not, when the waveform chart contains data that is no longer being updated and the x-axis range doesn't show the last point of data, the horizontal scroll bar auto-adjusts to show that last point if you switch pages (back to the chart) on the tab control.  I've tried turning off Autoscaling but that doesn't stop the effect. 
    Additional issues: 
    On some of these attempts at reproducing this, the X-Axis will even change scaling, zooming in on the data.
    When data is pushed left by this bug to allow displaying the furthest data point, if the leftmost area of the chart was blank before the data was pushed left, the data pushed left into the formerly blank area will not be displayed.  This happened only when the X-Axis was manually autoscaled prior to pushing the data off the right edge of the chart, and only if the x-axis scale was not changed.  If the tab pages are again switched at this point away and back to the chart, the data re-appears.
    The chart is a stacked plot if that makes a difference,  Also, the tab control is not linked to any event handlers.
    Also, the scrollbar works fine if you scroll such that the rightmost data points are on the chart along with blank area to the right, whether there is more data off the left edge of the chart or not.
    Last, the Y-Axis of each stacked plot is unaffected by any of this.
    I hope this isn't a duplicate - I didn't find it in the forums.
    Thanks,
    Erik
    Attachments:
    Flaw Demo.vi ‏120 KB

    Alex,
    Thanks for the quick response on this.  Again, the charts are awesome except for these minor fiddling details.  Sorry about the terminology confusion - I didn't find anything in the Help system naming the legend buttons, and unfortunately I can't edit the prior post.  When I said "AutoScale LocK" I meant "Scale Lock", and "AutoScale Once" I meant "Autoscale".
    Here are the issues, hopefully clarified:
    1.  If any chart elements have Scale Lock set, pressing the AutoScale button for any plot causes these other plots to autoscale as well.  Note these are not plots with multiple Y scales, they're stacked plots with separate y-scales for each plot.  Changing the "Advanced->Auto Adjust Scales" parameter had no effect on this issue.
    2.  If none of the chart elements have Scale Lock set in the scale legend, pressing the Autoscale button for the X-Axis has no effect if the x-axis was previously set to show all the data history but then panned such that some data falls of either side of the chart.
         This may have been confusing, so here's a breakdown of the steps to re-produce the problem using the VI I previously attached.
    a.  AutoScale all elements of the chart, and turn off Scale Lock on all elements
    b.  Move the data to the right in the chart, so the left half of the chart area has no data (e.g., set the X-Axis range to -5 to 6 seconds)
    c.  Press the X-Axis AutoScale button.  The X-Axis range will not change from where it was in (b).
    3.  The Y-Axis will also auto-scale when returning to the Chart tab if Scale Lock is enabled for the plot with the fix for the x-axis scale in place (restoring the Xscale.Range parameters from a local variable).  If the fix is not performed, this doesn't happen.
    4.  Pressing the Scale Lock button on one of the plots causes the X-Axis scale to be lost IF there is data past the maximum displayed X-Axis range.  It looks like it set the X-Axis to the same problem range as before the fix was in place.  I don't know how to build an event case for this, except for possibly "Mousedown?".
    One more:
    5.  Enabling Scale Lock on any plot auto-scales any other plot that has Scale Lock enabled (assuming the user changed the Y-Axis range from the previously auto-scalled range).  Obviously this is linked to #1 above, but worth noting.
    Thanks again, Alex!
    Erik

  • Slow Motion on EX-1

    I'm shooting a short comedy with the Sony EX-1, likely for web/DVD. I'd probably shoot the whole thing in 1080p24 BUT I need a few shots in slow-motion by "overcranking" to 60fps - and that is only possible in 720p24.
    So, any suggestions as to whether I should (a) do normal shots in 1080p24, and slow-motion shots in 720p24, then mix in FCP; or (b) do everything in 720p24, thus avoiding any mixed format issues?

    I guess the reason is to capture at the best quality possible in case I want to move to the big screen or use the higher res version one day. Also, it's nice to have the extra pixels in case I want to do some scaling/zooming during the edit.
    You're right, of course, that I'd be up-rezzing the 720p only to compress it again for web/DVD. I'm not sure how much that will muddy it up, but maybe I'll see. (I have another couple days to decide which way to go). That said, I may end up down-rezzing the 1080p, in which case I'll wonder whether it would have been smarter to capture in 720p in the first instance. (Hmm, would there be a difference between "captured as 1080p and down-rezzed to 720p in FCP" footage versus "captured as 720p in the first instance" footage? I'll have to search the boards for that one.)
    Thanks again for your insight and advice!

  • Zooming in and then zooming out in AS2 (Without scaling the image)

    Basically I want to know if there is a way to go from a zoomed in version of something, and then seeing the whole image in another frame. (By pressing a button)
    Let's say there's a tree, I would bascially like (upon pressing a button which I can do) to zoom out and see the whole scenery. Is there a way I can do this without actually changing the size of the image?

    There are various components already made on the internet such as v-cam, you can basically control the stage/view, scaling the v-cam keeps the objects on the stage the same, but scales the camera.
    Check this out, it has links to both an as2 and an as3 version.http://www.fluidanims.com/FAelite/phpBB3/viewtopic.php?f=43&t=3369

  • Game not handling screen scaling when using zoom on Internet explorer on Windows 8

    Hi,
    I'm completely stuck trying to fix a bug in one of our games where any user with Windows 8 playing using Internet explorer have issues with screen scaling and input when their browser is not at 100% zoom level.
    Today, I've tracked it down to a bug in Flash player that was reported 9 months ago, and which seems to have been fixed in flash player 11.9 ([MSFT 3612555][Win 8] - High DPI Displays - Corrects an issue where some content was not scaling with zoom changes). However, it is still occuring for our users. I have the latest flash player installed (13.0.0.206), and the latest flex sdk installed (4.6). Additionally, I'm targeting version 12 when compiling. I'm not sure what to do next, has anyone come across this problem in the past?
    Thanks,
    Graeme.

    Easy solution found.
    It was using the WDS boot image known as "wdsmgfw.efi".
    For proper UEFI mode booting with PXE, remove the original wdsmgfw.efi and make a copy of the file bootmgfw.efi in your RemoteInstall\Boot\x64 folder, and rename that copy of bootmgfw.efi to wdsmgfe.efi.

Maybe you are looking for

  • Automated process to set metadata properties of documents in KM

    Hi, I want to upload about thousand files in KM and set their metadata properties. There are five metadata properties among which two are links, one is thumbnail, and two are multivalued check boxes. Is there any tool/process available so that I can

  • Is there a way to disable mail?

    hello...i have never used mail...and don't think i need an application to view my web-based email...so i'm asking if there is a way to disable the application mail from opening when i click on someone's email address? i have not set up mail on my new

  • Doubt in type of project

    Hi Gurus I am in training period.They said it is a rollout project. But ni ow they are creating a new company code. Then can i think it as a implementation project. Because as far as i know for rollout project the company code will not be created onl

  • Adding an aweber form to an image

    I'm creating some images for my site that are links. I need to know how to place form code(aweber javascript) so the form shows up in the image. Thanks!

  • About Adobe flex

    sorry irrelavant forum...... Edited by: jyotsna dm on Oct 12, 2009 6:07 AM