Video Scaling / Resize problems

Hi there,
Using the new Sprint release, i have suddenly Problems setting the correct Layout Attributes.
Thats what i'm trying:
for x elements:
                    video = new VideoElement
                        ( new NetLoader()
                            , new URLResource(new URL("file://"+filepath))
                    LayoutUtils.setRelativeLayout(video.metadata, 100, 100);
                    LayoutUtils.setLayoutAttributes(video.metadata, ScaleMode.LETTERBOX, RegistrationPoint.CENTER);
                    serialElement.addChild(video);
end for                   
                mediaPlayer.media = serialElement;
                controlBar.element = serialElement;
                container.addMediaElement(serialElement);
No Error, No Result. In the last Sprint everything worked fine.
As a test I did the following:
                 mediaPlayer.media = serialElement;
                 controlBar.element = serialElement;
                LayoutUtils.setRelativeLayout(serialElement.metadata, 100, 100);
                LayoutUtils.setLayoutAttributes(serialElement.metadata, ScaleMode.LETTERBOX, RegistrationPoint.CENTER);
These four lines worked like expected only for the first video.
Every help is appreciated.
Best Regards

Frostis333, 
It looks like your example is correct, from what I can see.  Are there are other videos in your serial composition?  If so, you'll need to apply the LayoutUtils.setRelativeLayout and LayoutUtils.setLayoutAttributes to those elements as well as the first element.  If you are, have you tried to play the broken media elements alone, not in a composition?   If there are connections problems, etc.. try listening to the MediaErrorEvent from the video element.  If possible, please try to upload your complete example.

Similar Messages

  • Preview Application Resizing Problem

    Preview Application Resizing Problem
    Microsoft platforms have two significant advantages. The first is the concept of an operating system that can function with hardware that ranges from cellular phones to desktop computers. The second is that Microsoft has excellent software development tools
    for creating and testing computer programs.
    Software compatibility across hardware platforms requires not only meeting CPU and memory requirements. Application programs must be able to automatically adjust Window and control sizes to meet the needs of available window sizes, video display unit sizes
    and screen resolutions, switching between vertical and horizontal viewing, vertical and horizontal scrolling, changes in font sizes , and variations in the available screen space due to usage of vertical and horizontal toolbars.
     Software developers must be careful that resizing doesn’t squeeze controls too close together or make them so small that they cannot be finger or stylus selected when used with touch screens.
    Some of the required automatic resizing options are provided by the Microsoft software compilers and the Windows operating system.  Softgroup Component’s “.NET  Forms Resize” is an example of one of the third party applications that provide advanced
    resizing functionality.
    Many of the resizing functions are programmer options and, if not properly enabled, an application may not have the required resizing functionality. At the current state of the art, application programs are highly variable in their capability to do the “intelligent
    resizing” that is required to handle different display environments.
    A case in point is the Microsoft Preview Application for Windows 10. When entering lengthy comments, the send button becomes positioned off the end of the program window. It is possible to scroll to the button, but the display automatically resets when scroll
    is released. The result is that the text cannot be sent. You can try a "blind" TAB to the SEND button. This appeared to work after several tries, but the comment was apparently not received,
    RERThird

    Hi,
    What do you see when you open the same PDF file in Acrobat Reader? Are the words still squeezed than?
    Dimaxum

  • Pixelated video and upscaling problems with ringing artifacts on Youtube since Flash player 10.3

    Pixelated video and upscaling problems with ringing artifacts on Youtube since Flash player 10.3. Flash palyer 10.2 was the last version without the listed problems.
    For anyone interested you may see here what 'ringing artifacts' means : http://en.wikipedia.org/wiki/Ringing_artifact
    More about Image artifacts/errors related to video scaling here :  http://en.wikipedia.org/wiki/Video_scaler
    Test configuration :
    Windows 7 x64
    Intel HD Graphics with lastest available drivers from manufacturer.
    Any solution from Adobe?

    Could you please open a new bug report on this over at bugbase.adobe.com?  Please post back with the URL so that others affected can add their comments and votes.
    Thanks,
    Chris

  • Horrible video skip / lag problem - once per second in all apps!

     I built a new system last month (my first AMD) and I am having a really aggravating problem. In all games and all video playback I get an annoying skip once per second, every second. It affects sound during gameplay but not during movie or mp3 playback. It even happens with the visualization mode in Windows Media Player.
    My system is as follows: MSI K8N Neo4-F, A64 3200+ venice core, MSI 6800GT 256MB PCI-E, two sticks of Corsair valueselect DDR400 512MB each, 500 watt PS, 160GB 7200 SATA HDD. Most recent NVIDIA drivers for everything. WinXP Pro with SP2 and all updates, DX9C. Nothing overclocked, all settings standard.
    I have tried the following solutions:
    1) BIOS upgrades, started with 1.4, installed 1.5, MSI tech support gave me 1.6b2 and I installed that. No luck with any of them.
    2) Memory, installed per MSI directions, but I've tried all legal combinations, including one stick at a time. No change.
    3) full format and reinstall of WinXP. No luck.
    4) Switching between WinXP IDE drivers and NVidia drivers, with and without RAID drivers, No luck.
    5) Removal of 6800GT PCI-E card and replacing with Ancient 8MB PCI Permedia2 video card. Problem still persists.
    6) Disable onboard sound and LAN. No luck.
    7) Running Fedora core 4 on second partition. Installed Nvidia video drivers, tried some games. THIS WORKS! No hitch, no skip, no nothing. Framerates are noticably slower but very stable. In WinXP I saw framerates bounce all over the place, from 230 FPS down to about 70 with one game. That same game on Linux ran smoothly at about 166 FPS with only occasional slight drops. The big FPS drops in Windows usually came right after one of the skips but didn't occure after every skip.
    Right now I'm stumped. Linux uses totally different drivers for sound, LAN and SATA support. Some of those drivers don't fully use the Nforce4 chipset's features, maybe that's part of the difference.

    Thanks TireSmoke:
    I had found that sticky, but I took your advice and went thorugh it in detail last night.  Lots of great info, fixes tweaks and tools, sadly none of them fixed my problem.  The lag problem most people are reporting is not really like the wierd problem I am having.  I have tried the recoommended fixes with ablsolutely no change in my system's behavior.
    I am beginning to suspect a faulty motherboard component.
    Russ_XP:
    I think you are correct about fast writes.  I googled the heck out of that last night and couldn't find any reference to enabling or disabling fast writes on PCI-E.
    The drive is SATA-1.  The Neo4-F is not SATA-2 enabled (there is a hack for it though).  From memory I think it's a Western Digital WD1600-something, 7200 RPM dirve.  I've tried it on both SATA buses and tried disabling the unused bus in BIOS.
    I'm pretty sure I can dig up an old PATA drive somewhere and give that a try.
    Gpalmer:
    True enough, and I don't have these problems under Fedora.  Sadly this is a cross-platform game development box, I need both XP and Fedora working.
    Black_God:
    Nope, this is a clean install.  Although I wonder, could any of the built in XP update and security tools be causing this?  I have disabled Windows firewall and virus protection monitoring.

  • Adobe Connect 9 Training Course Video gets resized after being published from Captivate 6

    Hello!
    I have an FLV that I have published to Adobe Connect 9 from Adobe Captivate 6.
    I have set the size of the video to the dimensions that best display the FLV with player controls.
    However, when I publish to Adobe Connect 9, the video is resized to a smaller size and looks heavily pixelated.
    Is there a way to keep the dimensions and quality without Adobe Connect 9 resizing it?
    Here are the settings in Captivate 6:
    Here is the first screen for the preferences:
    Here is the second screen in Preferences:
    Here is what it looks like when viewed from Captivate 6 in a web browser:
    Here is what it looks like after it has been published and uploaded into the training in Adobe Acrobat 9:
    If you notice in the image above the video is smaller and the CMS logo is very pixelated due to Adobe Connect 9 resizing it.
    I am not sure how to keep the dimensions that I have from Captivate 6 and have it reflect after it has been published to Adobe Connect 9.
    And is there more functionality that I am not able to access since I am using a 30-Day trial.
    Thanks for taking the time to read and assist!
    Angelo

    You are correct that this is a known issue.  There was a fundamental change to the way objects are added to the timeline that came in with Cp6.  The result is that objects such as your SWF animations are only loaded at the time they are added to the timeline, and this causes the slide flickering you witness.  There's not really a lot you can do to get rid of it other than rebuilding all of your animations to be a single animation that once loaded will continue unabated until finished.

  • Youtube videos I placed in a site made in Muse, don't have sound and don't auto play in my Android phone. Can anyone tell me why? The same video has no problems when I watch it at the youtube site on my phone. It has sound on an iphone, but doe

    Hello. The Youtube videos I placed in a site made in Muse, don't have sound and don't auto play in my Android phone. Can anyone tell me why? The same video has no problems when I watch it at the youtube site on my phone. It has sound on an iphone, but doesn't auto play either. Thanks!

    Hi Mariana,
    Please make sure you have the autoplay checkbox selected from the fly-out options:
    Regards,
    Akshay

  • [SOLVED] GNOME 3.8 annoying window resize problem

    Hello all fellow early-adopters :-)
    A very annoying quirk I've noticed, moving from GNOME 3.6 to 3.8, is that it no longer remembers, nor retains, the size/positions I set for many of my application windows. For example, my mail client (Evolution) is sized to fill most of my screen (centrally), with Empathy and Skype as long narrow windows on both sides - giving me a nice, broad "communications" overview on that particular desktop (with dev tools etc open on others).
    On 3.6, this layout was retained during my session, as well as next time I started these apps up.
    In GNOME 3.8, not only does it insist that these windows are always started as small little bunched-up windows that I need to resize, but every time a window displays a notification/warning (message in internal yellow bar inside the window - such as loss of internet connection, mail retrieval failure etc) it resizes the windows spontaneously to a stupid, small size that overlays the other windows. This is driving me crazy!
    Where can I learn a bit more about how window sizing / positioning works in GNOME 3.8, or is it finally time to switch to awesome wm? I want to love GNOME 3.8, I really do. It's so slick, but so... unpolished.
    I want to dig in an assist with problems like these, but I need some pointers to some background material first to understand the problem. Is it the window manager? Is it the app?
    ** UPDATE: Doing a full system upgrade, as of May 18, 2013, has resolved this annoying problem. My windows now stay where they belong, and start with the same size they were closed with. GNOME is now pleasant to use again :-)
    Last edited by dawid.loubser (2013-05-21 13:37:25)

    dawid.loubser wrote:Thanks for the suggestion drtebi - I'll give it a try.
    I really like GNOME 3.x though (and would like to understand the windowing behaviour), but if the annoying quirks are insurmountable, I will happily switch.
    Man I love GNOME 3.x. I admire the courage they had to change, basically, everything, and I find myself more productive with my GNOME 3 Arch box than with my good ol' Slackware KDE 4 box. I just hate those bugs - for example I filed a task in their bugtracker for this window resize problem I have with gedit. If it's a love/hate relationship, I think it's marriage ^_^
    With the 3.8 upgrade, deadbeef was having a similar problem with window size/position. I just recompiled it against the latest GTK+3 package upgrade (that came after the 'big upgrade' here on Arch) and it was fixed. But not with gedit
    bwat47 wrote:
    Man I really hope this gets fixed soon, because aside from this one incredibly annoying issue I am loving gnome 3.8.
    I get the feeling gnome badly needs more beta testers, sizable regressions like this in "stable" releases happen way too often sad.
    I get the exact same feeling. Well bugs exist everywhere, there's no denying. But I think it would be wiser to 'alternate' the nature of each major stable release - one focusing on new features and one focusing on fixing bugs. For example if the only new features in GNOME 3.10 were the AppsFolder full implementation and the introduction of gnome-calendar, and the rest of the development cicle being devoted to fix bugs, I'd be more than happy.
    Like Fedora and Ubuntu, the fixed 6-month release cycle colaborates with the bugs. They don't do like Debian or Slackware which are released 'when they are ready'.
    EDIT: fout (yet) another bug. At least with facebook chat (haven't tested with other telepathy plugins) the buddy tray icon appear duplicate. Anybody with the same issue?
    Last edited by lmello (2013-05-02 14:06:06)

  • Nokia 808 Video mode - Jerking problem

    The Jerking only happen when video mode happen on all setting 1080p,720p,360p. So I guess someone really happen in the hardware itself. Yes I tried touch screen zoom in this video and also volume button in the middle of the video. Both having the jerking 2 to 3 times starting from 1/3 of the zooming.
    Zoom function is work perfectly find on photo taking mode tested on 8mp 5mp 2mp.
    I have taken a sample here
    http://www.youtube.com/watch?feature=player_embedded&v=kYsYaQRkrYw
    I don't think its normal to have the jerk. Is my set having problem?

    ok guys. I had sent my set to Nokia service centre for repaired. It factory reset everything and upgrade to FP2. Now the camera looks smoother I notice video stablisations 'on' will cause the shaking of video zoom.
    On video mode ,the jerking problem is back.
    To fix the problem I try to go to picture mode and off the stablisation and test swype the zoom afew times and back to video mode the problem is gone.
    So the problem is:
    It will jerk everytime I try to zoom in video mode. Picture mode not so obvious since it zoom very fast and don't takes video. Only video mode will be affected.
    temporary solution found
    go to picture mode and off the stablisation and test swype the zoom afew times and back to video mode the problem is gone for a while.
    If i try to use the zoom often like 30times or more, somehow it triggle it to cause the jerking and have to disable stablisation and go picture mode and swype zooming afew times which somehow will recover from the unstable zooming. back to video mode and test it should be ok now.
    Is anyone out there having the same issue too?

  • HELP!! Lumia 710 Video recording/saving problem

    So I'm having my Nokia Lumia 710 from 2012 February. I tried to record videos but there are 2 different ways how my phone handles it
    1. After making a video, it freezes (The screen freezes, the last picture of the video is visible, it's probably saving) and than, the video is gone. The phone locks itself, and the video+music library doesn't contain my video
    2. The phones saves my video (happened only a few times...) , but when I'm looking it back (on PC and on phone) it's lagging, and pictures fall out... Seconds fall out from the video, but the sound is running. The picture freezes sometimes, and the sound is running.
    The longer the video, the bigger problem. 
    HELP ME PLEASE!!! 

    I'm experiencing the same problem (1) with my Lumia 800. It started recently and does not always occur.

  • Video/DVD conversion problems and questions

    I have been using i-tunes for a couple years. The music libary and its functionality is superb however after getting an Iphone I have been trying to fully understand the concept of the required video/dvd conversion before itunes will accept them.
    I have used a couple different programs to convert content into Mpeg-4 itunes acceptable format. However when attempt to snyc video to my iphone several issues arise. First I have had content in my movie/video libary that for whatever reason will not transfer to the phone. Sometimes itunes will transfer a specific video and then on a later snycing, it will leave that same content out. Bizarre. I had 4 videos loaded into itunes and at one point I had all of them on the phone. During my last snyc session although they were checked, in the movie libary, they were not transferred.
    I have been using the itunes conversion option even after its been coverted into Mpeg-4, is this neccessary ? I have ripped a full length purchased dvd and loaded it onto Itunes, however it will not sync to the phone. Should I be able to load an entire movie if I have the available space or is there a capacity limit ?
    Can someone describe a process from start to finish, that will decode/convert video/dvd's into Itunes acceptable format that will also allow snycing to my I-phone without all of these constant issues ?
    Thanks !
    S ~

    Ok folks let's disengage the panic button. This is more of a means of sorting out a movie/video clip snync problem than trying to circumvent legalities and or discuss copyright violations none of which are present.
    i/tunes seems to make up it's own mind regarding which vid clips are transferred to the iphone even when all selections are formatted and are checked. No error message, no indicators, some files move while others do not.
    Any ideas ?

  • Video record stutter problem!

    I have a n95 8gb (v20.0.16) an when i start recordin it starts to stutter after about 10 seconds.
    I'm not the only one to have this problem many more people do!
    I read somewere that somebody posted on this forum about this problem and the post was deleted.
    plz don't do so
    i tried reformating,defragmenting,and reinstalling firmware and nothing .. the problem persists
    ANY advice will be read and used!

    hmmm u should update ur phone since the newest fw version for the n95 8gb for now is fw ver 30. Update it and it should solve ur problem. If it doesn't solve your problem, then wait for a certain time. It will recover by itself. Really, believe me. I just don't use the video for a certain time when the red light keep on blinking when i recording. After a certain time, it recover by itself. That was a miracle for me. HAHA. Or there is a temporarily method. Just change the saving video path to ur phone memory and it's all done. You can record video without any problem.

  • Illustrator Resizing Problems

    I am having reduction resizing problems in Illustrator CS6.  E.G. Straws & lemon wedge rinds become significantly proportionately wider when reduced.   Also, numerical text does not skew with everything else.  I have a CC membership w/PS & Ai installed.  There are no other Adobe items on my 8 month old imac, Lion 10.7.4 except Flash player & the Adobe Applications Manager.  Additionally, I have no 3rd party plug-ins & deleting the prefs file does not fix the problem.  Any help on this matter would be greatly appreciated. 

    sgem,
    And untick Align to Pixel Grid if ticked (you can do it in the Transform panel, or search for it in the Helpfile).
    Hi Steve. Still summer?

  • DV resize problem with QuickTime's iPod 320 x 240 export

    Just a heads up for those with new 5th generation iPods who plan on converting their DV movies for display on the iPod. It seems that the iPod 320 x 240 export does not resize DV correctly. Here is a link concerning this problem:
    Waymen, "Possible resize problem with iPod 320 x 240 Export?" #1, 03:02am Oct 13, 2005 CDT

    This article show a workaround to have DV export correctly in QuickTime Pro
    http://docs.info.apple.com/article.html?artnum=302955

  • Problem in layout when scaling/resizing

    Hi,
    Does anyone knows how I can solve present on the image?
    [http://paginas.fe.up.pt/~jgonca/screenshot.png]
    Here goes the detailed info:
    - What you see in the little window is a 3x3 XGrid (JFXtras), where I placed 4 black resizable rectangles that fill the cells where they are located;
    - The gauge that you can see in the center is from the MemeFX library ( [http://code.google.com/p/memefx/] ). If you don't know the library, the gauges were created in inkscape or illustrator and were exported to fxz files. In this example, the gauge suffered a scaling to 0.5 either in width and height using scaleX and scaleY vars;
    - In the command line, you can see the 3 bound types from the gauge;
    - In the javaFX code I tried to override the layoutInfo variable to see if the gauge layoutbounds changed, but my attempt was unsuccessfull.
    The problem is that the gauge layoutBounds and BoundsinLocal are not being updated, causing the visible white space around the gauge, since the layout manager (XGrid) thinks that the gauge still has 280x200.84 px.

    I already reduced the white space a bit by placing the gauge in a group, but the best solution was to eliminate the white space at all...
    [http://paginas.fe.up.pt/~jgonca/screenshot_2.png]

  • Scaling / Resizing Catalyst Components in Builder

    Hi,
    I'm looking at setting up the proper workflow for a large project. We envision multiple developers and multiple designers on the project.
    The major sticking point now is scaling and resizing the components generated by Catalyst once they're in Builder. One would think that once you've skinned, for example, a scrollbar in Catalyst that you could then resize it in Builder to match different layouts.
    However, as I suspect you already know, the sizes do not change at all in Builder.
    We can get into the source code in builder and add in a bunch of width/height = 100% attributes, but these break down at the point that there are Paths defined in the code. The Path elements would need to be re-coded to scale.
    So, I really have two questions:
    1) What exactly does "Convert to Optimized Graphic" do? Will this recreate all Paths to standard shapes that will scale?
    2) Is there a better system coming in the next Beta? If so, can you describe it a bit?
    Thanks a lot,
    Kirk

    This morning I sat down to use catalyst for the first time. I am preparing for a talk at Flash on The Beach in Brighton this year and I was hoping to be able to show how a view build in Catalyst could be injected into an app using Robotlegs.
    I watched http://tv.adobe.com/watch/adc-presents/create-spark-component-skins-using-flash-catalyst and thought that looked cool.
    I also watched http://tv.adobe.com/watch/flash-catalyst-cs5-feature-tour/sending-your-project-to-a-develo per, and saw the component library output looked awesome.
    So I started to build an interface, first by creating a custom button component (much like the first video) and then distributing those buttons in a completely custom button holder component. It is this button holder that would be injected, and in the holder each button would have an id so that references to them could be obtained after injection into the application.
    From the videos above this looked eminently doable and quite a good workflow. Designer design and layout components that get built into a library, and developers use those components in an application without actually recoding the components.
    This sounded great, but imagine my dissapointment when I discovered
    1) A custom component can not be resized in the design view of Catalyst - you have to create another component class with a different size!
    2) A component/skin developed in Catalyst can not even resize when imported into Flash Builder unless you recode it.
    3) You can't name instances of components in the design view.
    So my plan was completely foiled. I mean, surely a button skin/component can not be considered a button skin/component unless it can be resized!
    I like Flex and I think Flex 4 is a big step forward, however I have never met a designer who liked it. Designers cannot effectively layout applications themselves using Flex. In fact where I work they are pushing to prevent ANY future flex development because of the problems with designers not being able to do this (we make and maintain some very highly skinned Flex 3 applications). I am the only front end Flex developer there and anytime I start to develop in Flex it is seen as very awkward and a problem.
    I hoped that Catalyst would solve some of these problems, but it unfortunately fails dismally because of the above problems that I mentioned.
    These three things would go a long way to improving developer design workflow for Flex and Catalyst. Any ideas for if/when this functionality might be included?

Maybe you are looking for