Image flickering

I'm using a different thread to create an animation in which image moves one pixel at a time after every 80 milliseconds or so.but the image flickers every time it is drawn at new coordinates.
can anybody help me out.
thanks in advance

You aren't using double buffering and overriding update(), are you?
The article http://www.cfxweb.net/article.php?sid=169 might be of interest to you.

Similar Messages

  • DVD Slideshow Images Flickering

    I was a Window user. Now I am a new MAC user. I bought iMac mainly to do slideshows and video. I heard that MAC is great for slideshows and videos. iLife is great. But.. There is always a but. This is a big BUT and I sincerely hope that going to MAC is not a disappointment. Here goes.
    The slideshows in iPhoto 08 and iDVD 08 are great but after burning into DVD the images flickers.
    Some part of the picture flickers not the whole picture. Even the add on text on the picture flickers.
    In Windows I used Ulead Movie Factory, it had the same problem until Ulead implemented Anti Flicker option. Selecting this option makes the DVD pictures perfectly still like viewing your photos on the computer.
    Is there an Anti Flicker setting in iDVD or iPhoto?
    I am not producing DVD slideshow at the moment until I can find a solution as this flickering thingy is infuriating. A still picture must be still and not flickering on certain part of the picture/image. Railway tracks flickers madly, leaves on a tree flickers, blinds flickers, the face flickers, etc
    Please helppppppp. Frustrated. I cannot go back to Windows and I do not want to. I am sure others must have this problem too. I pray that I have done something wrong else there won't be a solution until Apple can fix it. Prayyyy
    Thanks. Sorry for being so long winded.

    Guys,
    I am back. Sorry for taking so long. My wife has been grumbling about me spending so much time on the computer, blah, blah..
    Again thank you all for all the suggestions. I have look at Photo to Movie tutorial. It is pretty good but I think Fotomagico is better. Yet to try it. Soon I hope.
    As what Howard Topoff said, Ken Burns causes the Flickering and he is correct. I created a slideshow in iPhoto without Kenburns and send to iDVD. There are no flickers what so ever. The quality I got is as per Ulead DVD Movie Factory. Now, at least I am getting the same quality as before. I expect it to be better but hey... It is really a pity as I like Ken Burns a lot.
    One thing maybe you guys can explain. iPhoto send to iDVD(not exporting) by creating a QT movie. I dragged the QT movie to Toast which has the option to tell you what type of file it is. Toast reported that the QT movie file is MPEG 4 video, 720x540 AND 13.5 fps. I would expect the fps will be around 25 or 30. Shouldn't iPhoto be sending out as high quality as possible so that iDVD will be able to recode it to suit PAL or NTSC? Unbelievable.
    It is silly for iPhoto export option which can only export the biggest is large 640x480 and iDVD will have to recode it to 720 x 576 for PAL TV.
    I have started to learn iMovie. iMovie has at least the option to set what QT quality is required when I Export Using Quicktime option. I can set whether it is PAL/NTSC/H.264,etc., frame rate, progressive or interlace, aspect ratio, etc. iPhoto has none of these. Is this an Apple oversight? I am doubtful.
    Hey, rightly or wrongly, I am beginning to be a sceptic when it comes to Apple's intentions as those things that are missing are basics that should be part of the software.
    Hopefully in a few days time, I can post more, not if my wife can help it. Nag, nag, nag.
    F Shippey, PAL is 720 x 576. I will try a few photos by resizing as per your suggestions but first I would like to look at iMovie.
    Cheers.

  • Thunderbolt display image flickering problem

    Hi Sir,
    I bought thunderbolt display yesterday. I think there can be problem that added. Sometimes i see image flickering. I havent see before display.
    https://www.dropbox.com/s/692wjw2zfnhss26/IMG_0733.MOV
    Can I learn your ideas.
    Thanks.
    Deniz

    Hello Deniz YILMAZ,
    The following article can help resolve many issues that you may encounter with your display.
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/HT1573
    Cheers,
    Allen

  • Stop image flickering

    I'm trying below script to display image with XML updated status checking.
    But image flickering every 2sec.
    how can i stop flickering without stop Timer.
    var sampleId:Number = 100;
    var myXML:XML;
    var myLoader:URLLoader = new URLLoader();
    var myTimer:Timer = new Timer(5000);
    myTimer.addEventListener(TimerEvent.TIMER, timerListener);
    myTimer.start();
    function timerListener(e:TimerEvent):void
              trace("Timer is Triggered");
              var myLoader:URLLoader = new URLLoader();
              myLoader.load(new URLRequest("xmlfile.xml"));
              myLoader.addEventListener(Event.COMPLETE, processXML);
    function processXML(e:Event):void
              myXML = new XML(e.target.data);
              for (var i:uint=0; i<myXML.*.length(); i++)
                        if (myXML.Message[i].@EventId == sampleId)
                                  //trace(myXML.Message[i]);
                                  if (myXML.Message[i] == "Welcome")
                                       msgLoader.load(new URLRequest("http://www.website.com/images/image1.jpg"));
                                       addChild(msgLoader);
                                  if (myXML.Message[i] == "Completed")
                                       msgLoader.load(new URLRequest("http://www.website.com/images/image2.jpg"));
                                       addChild(msgLoader);

    sorry i type wrong previous code, & not 2sec, every 5sec.
    updated below.
    var sampleId:Number = 100;
    var myXML:XML;
    var msgLoader:URLLoader = new URLLoader();
    var myTimer:Timer = new Timer(5000);
    myTimer.addEventListener(TimerEvent.TIMER, timerListener);
    myTimer.start();
    function timerListener(e:TimerEvent):void
         trace("Timer is Triggered");
         var myLoader:URLLoader = new URLLoader();
         myLoader.load(new URLRequest("xmlfile.xml"));
         myLoader.addEventListener(Event.COMPLETE, processXML);
    function processXML(e:Event):void
         myXML = new XML(e.target.data);
         for (var i:uint=0; i<myXML.*.length(); i++)
         if (myXML.Message[i].@EventId == sampleId)
              //trace(myXML.Message[i]);
              if (myXML.Message[i] == "Welcome")
                        msgLoader.load(new URLRequest("http://www.website.com/images/image1.jpg"));
                        addChild(msgLoader);
                   if (myXML.Message[i] == "Completed")
                        msgLoader.load(new URLRequest("http://www.website.com/images/image2.jpg"));
                        addChild(msgLoader);

  • Parts of image flickers on photos

    Parts of an image flickers on photos after burning dvd. I made a Movie using imovie 08 with 2mp photos. Used ken burns effect. Some vertical and horizontal lines may flicker, e.g. roof tops, railings, etc. Not all photos have this result. Do not notice it when viewing full screen on imovie where I made the movie. Is this the old dot crawl problem or a refresh rate issue? I used pinnacle ultimate on an old pc and did not have this issue on the final dvd product.

    That flicker is common with the Ken Burns effect. Importing your photos in with the Ken Burns effect turned on seems to help a bit, but won't totally get rid of it. Usually you notice it more on the iMovie preview playback than on the final product, which, however, does not seem to be your case. I can't recall offhand the tech explanation, but someone on this formum can tell you that.
    On the Apple website you can buy Photo to Movie, which is an app that purportedly has a smooth Ken Burns type zooming effect together with a lot of other good slide show effects. Photomaggico is another good plug-in app. Both work well with iMovie.

  • Image flickers when repainting

    Hello,
    I'm trying to make an applet where a line moves sideways as the slider is moved. The code below is working but the image flickers when repainting:
    import java.awt.Graphics;
    import java.awt.Color;
    import java.awt.Scrollbar;
    import java.awt.event.*;
    public class testSlider extends java.applet.Applet implements AdjustmentListener {
      int w, h; // Applet width and height
      Scrollbar sb;
      boolean scrollChanged = false;
      int xUnit, yUnit;
      public void init(){
        //field variables initialization
        w  = this.getSize().width ;
        h  = this.getSize().height ;
        xUnit = (int) Math.round(0.1*w);
        yUnit = (int) Math.round(0.1*h);
        sb = new Scrollbar(Scrollbar.HORIZONTAL, xUnit, 1, xUnit, 9*xUnit);
        //add Scrollbar
        sb.setBounds(5, 9*yUnit,this.getWidth() -15, 15) ;
        this.setLayout(null);
        this.add(sb);
        sb.addAdjustmentListener(this ) ;
      public void paint(Graphics g){
        System.out.println("paint...") ;
        g.setColor(Color.GRAY ) ;
        g.fillRect(0,0,w, h);
        g.setColor(Color.BLACK) ;
        //set new Origin
        g.translate(w/2, 8*yUnit) ;
        if (scrollChanged ) {
          g.setColor(Color.YELLOW  ) ;
          g.drawLine(sb.getValue()-w/2, -7*yUnit, sb.getValue()-w/2, 0  );
      //AdjustmentListener method override
      public void adjustmentValueChanged(AdjustmentEvent e){
        scrollChanged=true;
        repaint();
    Can someone tell me how to prevent this flickering?
    Thank you very much.

    g.fillRect(0,0,w, h);This needs to modify quite a few pixels so it is going to be on the slow side.
    Try this: store the coordinates of the previous line you drew. When repainting, if you have drawn a line previously, first draw the old line with the background color, then draw the new line, and finally store the coordinates of the new line so you can paint over it later.
    I haven't tried that myself though.
    An alternate is to use double buffering. Google: java double buffering. But that may be slowish and CPU intensive because that too needs to touch a lot of pixels.

  • Hello I bought a new 11 inch 2012 macbook air. Recently, i have been watching youtube and movies from my laptop. I have seen some green images flickering when playing videos. Does anyone have any solution or the cause of the problem ? Thank you

    Hello I bought a new 11 inch 2012 macbook air. Recently, i have been watching youtube and movies from my laptop. I have seen some green images flickering when playing videos. Does anyone have any solution or the cause of the problem ? Thank you

    Hello I bought a new 11 inch 2012 macbook air. Recently, i have been watching youtube and movies from my laptop. I have seen some green images flickering when playing videos. Does anyone have any solution or the cause of the problem ? Thank you

  • Having major issues with Adobe Media Encoder (AME) - exporting with weird image flickering/colour anomalies, crashing regularly, freezing during encode...!

    Hi Guys
    I am having some real issues with Adobe Media Encoder (AME) at the moment.  It appears that I am unable to encode an h.264 for Vimeo from a Premiere Pro Project file at the moment without at least some weird image issues that are not supposed to be there.  These include weird flickering, colour changes, artefacts etc.  This is if I am lucky...often I am unable to get the process to complete as the application either crashes and tells me there has been a problem or it simply freezes and I have to force quit the application and often restart my machine.
    The problem seems to not to just be with h.264 for the web encodes but also with BluRay h.264 as well. As yet I haven't seen if there is a problem with MPEG-2 for DVD so I will check this out too!
    Does anyone else see this happening or does anyone know what might be the problem?
    I thought the Premiere Pro project might have been corrupt so tried a different project but the same issues were happening here too.
    Any help would be really gratefully received.
    Cheers
    EDIT - I have just found this online which is exactly the problem I am having! Thanks a bloody bunch Apple! 10.9.3 causing headaches for Mac Pro users | MacIssues
    Message was edited by: Alex Cameron

    Agreed, I now have a project to GET OUT, and AME crashes consistently 1/3 into the render. It appears to halt all processing after (real time) 00:02:30
    Am seriously considering uninstalling CC as I am beginning to find other issues in some apps, and going back to CS6/MC just so I can get work out. Durn it Adobe this is AWFUL!!
    Alright, let's try to be constructive instead of throwing rocks... but the frustration level is high, and I have material on deadline. Let's get with this, guys...
    What OS Win7, 64-bit
    What version of AME/PPro (Please be specific by getting the full version number in the About Adobe Media Encoder screen) 8.2.0.54 Ppro: 8.2.0 (65)
    When is it crashing (Again, the more detail here about where it was in the encoding process the better) roughly 1/3 into the sequence, always on exactly the same frame - tried replacing the clip with something different to see if it was a timeline error, and NO EFFECT.
    What is your source (PPro project or media file (what kind?)) PPro
    If the source if a PPro project, does it work when exporting directly from PPro? NO
    What format are you exporting to? H.264, QT, WM, tried everything my client can play.
    Do other formats work? MPEG2, QuickTime, etc? NO
    Have you tried with GPU rendering on? How about turning it off by switching to Software-only mode? Mine doesn't have any choice, it's software-only.
    Have you tried disabling Native Sequence Loading? (AME Preferences: General > Enable Native Sequence Loading) No effect
    Other things I tried: uninstalling/reinstalling AME, setting cache to a fast local disk.

  • Only import sound  - another problem the image flickering

    Hello
    My problem is that when I import AVI files into Encore, it's only sound that comes with - The video track is empty.
    If I play the same movie with Media Player does is both play sound and picture.
    What am I doing wrong?
    The first DVD I made, I could well do in Encore, but when I played it on my DVD player flickering image. - What should I change to fix this problem ?
    I can see the "Quality settings" the source is 720x480 29,97 fps, but the AVI i'm importing is 720x576 25 fps ?
    T

    steenmikkelsen2 wrote:
    Ok - I have imported from the camera to AVS Video editor via USB, then Adobe Promiere can't capture via USB, but need a FireWire connection, (1394)  mabye I shall buy a FireWire adapter sow I can capture direct to Premiere -
    is there one of you who can recommend FireWire adapter (1394) that I use with Premiere and my analog camcorder?
    Oh Dear - AVS uses a library called ffmpeg, which is largely based on reverse engineered commercial codecs and is not - ever - guaranteed to be DVD compliant in it's output.
    What looks like has happened to me is that the encore project appears to be NTSC (720x480) and I suspect the flickering issues are caused by changing frame rates in that dodgy conversion utility.
    Can you please confirm the following:
    1 - Project settings in Encore
    2 - Camera settings
    3 - Settings used in AVS - including codec used?
    Analogue to digital via FireWire capture can be done if you have a special box to do this.

  • Splash image flickering

    Hello
    I have create a program that start with a splash image defined in the manifest.mf file with the statement SplashScreen-Image: data/images/splash.jpg.
    When i run the program with jre 1.6.0 I see an undesidered flickering of the splash image.Can anyone help me?
    thanks

    what is the advantage of the native splash over
    making one yourself? The spash screen comes up before the JVM and as the app is loading.
    I guess its just there to pacify people who think the JVM and App Startup
    is too slow. I know people at my job have actually said to me when
    running a Java app "why does it load sooo much slower than a VB
    app?" when in actuality it came up in an eye blink.
    I guess VB apps load in half an eye blink, lol.
    Do you have any code that manipulates the java.awt.SplashScreenI thought that because the SS comes up before the JVM (or concurrently
    or whatever) that you couldnt control it?

  • Image flickering when animating scale

    Hi,
    Firstly i use flash 8.
    I animate a jpeg growing bigger, and its a large image over
    1600x1200. It flickers. Is there a way to prevent that?
    Best
    Andrew

    I'd say that has to do with your render settings in Motion and FCP. Without looking at them, I can't say for sure, but here's some things to be aware of.
    In MOTION:
    You can increase the quality by rendering in 16-bit, or even 32-bit.
    There are 3 render settings: Draft, Normal, Best. Default is usually set to Normal.
    Field rendering in Motion can produce poor results with progressive frame footage. Frame blending also.
    IN FCP:
    If your sequence settings are set to High Precision YUV, then that means FCP is using floating bit math for the render.
    It's possible that the Motion settings are set low, and the FCP settings are set high.
    Andy

  • How do I stop images flickering when zooming in?

    I've imported a 32bit jpeg into Director MX. I'm trying to
    slowly zoom into the image, to create a slow Ken Burns style zoom
    effect. When I play my movie, the image is flickering and the zoom
    does not appear smooth. Does anybody know a way around this? Maybe
    I'm doing something wrong...
    Any help greatly appreciated! Thanks.

    How are you performing this zoom? Are you using keyframes
    across the
    score, or using Lingo?
    If you are using the score, then you may want to try
    different frame
    rates, to see if you can smooth out the animation. You may
    also be
    seeing a problem with the refresh rate of your monitor.
    If you are using Lingo, then you might try changing the
    amount of image
    size change at each step, and/or changing the frame rate to
    smooth out
    the animation.
    Rob
    Rob Dillon
    Adobe Community Expert
    http://www.ddg-designs.com
    412-243-9119
    http://www.macromedia.com/software/trial/

  • Image flickering on 2nd monitor

    Ever since I installed ML on my MacBook Pro 13", the image on my external monitor (Gateway 20") has been flickering, making it impossible to work on — any idea what to do about it?

    I am having a similar issue - I have a mid 2010 13 macbook pro with a 22 inch AOC monitor connected via minport to vga.  The external monitor filckering artifacts - almost like refresh atrifacts in random parts of the screen.  It happens constantly and did NOT happen in Lion. After some testing is seems to happen in the higher resolutions including 'best for display' setting of 1920x1080.  What chnaged in Mountain Lion display driver?

  • FF36: Sites with background image flickers/flashes when going back to tab after 2 minutes.

    Figure I'll mention this here as well.
    When viewing websites with background images, such as twitter.com or my own website at www.markheadrick.com and I change to another tab for 2 minutes (this amount of time is repeatable anyway) I get a flicker of a black background before the page is fully drawn. If I have multiple tabs with the same background image, only the first tab will show the flicker. It's like it's loosing the image in memory or something. It has done this with Firefox in Safe Mode and with a new, clean profile. It has also done this with Hardware Acceleration off.
    Windows 7 Pro 64bit w/ NVidia 550ti and 314.22 drivers. Newer drivers are more problematic which is why I have stayed with these.
    Again, only pages with background images seem to show this flicker. Did not happen with Firefox 35 on my system.
    I created a bug for it here: https://bugzilla.mozilla.org/show_bug.cgi?id=1137082
    Thanks,
    Mark H

    I tried, but could not see and problem.
    Hello,
    In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see [[How do I create a screenshot of my problem?]]
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. This will help us to visualize the problem.
    Thank you!

  • AIR 3.5 images flickering on Kindle Fire

    We are writing a game for the android platform.
    During the course of the game, as more and more memory is used up, more characters and sprites are added to the screen, suddenly many of the sprites on the screen start to flicker. It only does this on the kindle fire, and not on our other android devices.
    Granted, memory usage is a little on the high side, but when researchign this I came across this:
    http://mac.softpedia.com/progChangelog/Adobe-AIR-Changelog-24145.html
    Adobe AIR 3.4.0.2410 Beta 2:
    · AIR app exhibits severe flickering on Kindle Fire(3290739)
    Now, no where after this does it mention that this has been fixed.... I am currently using 3.5.0.840
    I tested the beta Air 3.6 but the game would crash immediately on start up on the devices.
    Does anyone know anything about the flickering on the kindle and what causes it and what I can do to fix it?
    Cheers
    Dave

    You're on SoftPedia. Here's a list of all the release notes version to version:
    http://www.adobe.com/support/documentation/en/air/releasenotes.html
    In the official 3.4 release notes ( http://helpx.adobe.com/en/flash-player/release-note/fp_114_air_34_release_notes.html ) there is no mention of this being a "Known Issue". It's also not listed in Fixes.
    You can go back to version 3.3, 3.2, etc and try to locate it but I checked from beta 3.6 all the way back to version 3.0/FP11.0 and searched the page for "Kindle" and nothing was found.
    Also the wording doesn't suggest "what" exactly is flickering. You're saying your display list is exhibiting the issue but that line item suggests the entire app itself might flicker so I don't think they're related. Besides, I'd only stick with Adobe's official notes.
    I checked the bugbase too and couldn't find anything in 3.4 or 3.5 about "Kindle". 3.3 did list an issue with stageHeight being reported improperly on OS 2.3 ( https://bugbase.adobe.com/index.cfm?event=bug&id=3315186 ), but that has nothing to do with it.
    The reason I mention is if it doesn't exist in the bugbase and isn't in release notes, you should add this bug to the bugbase:
    https://bugbase.adobe.com
    It really helps to create a brand new test project that reproduces the issue each time. If you're saying you're adding a ton of display objects and that's all it takes then make a single complex symbol in the library and instantiate it a ton of times. If the number of items is the problem as you suggest (eating up RAM) then the issue will be reproducable. Then include that reproducable test project in your bug report so it will get tested quicker.
    Otherwise if you can't reproduce it, it's probably actually an issue somewhere in your own code.

Maybe you are looking for

  • How can I tell if an Object Input Stream has more objects to read?

    I have a utility that I'm working on where objects are sent via the network as a complete file. I read the objects, update some, and send them back. I never know how many objects are in the file. I cache the file locally prior to performing this oper

  • Sun Ray Smart Card User Authentication

    Hello All, I recently installed SRSS 4.1 I created 6 users for testing, 3 of which use SRWC to connect to Windows VM's. My problem is with the smart cards. They are required for the user access the SunRay and that part works, however it doesnt seem t

  • Dynamic Tables (insertrow/deleterow)

    I have a rqmt to accept a variable number of data points using a form. I want to use dynamic tables to allow the user to add or delete table rows as needed (via Javascript). Example - View Rendered with: <tr> <td><input type="text" name="dataARow1" s

  • Is it possible to erase contents on a RW disc and reburn new material?

    I have a large number of RW CD's that have obsolete material. Can these materials be erased and the discs reused again to burn new material? Thanks.

  • Customer & prospect master changes?

    Hi Experts, I have an issue, my user has authorisation of Tcode XD01, XD02, & XD03 (create, change, display) customer master. using same codes, prospect master created & quotations created using prospect master, but this user can create/change custom