Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: wolf on August 31, 2013, 08:04:28 PM

Title: Silent pic pink frames 550D
Post by: wolf on August 31, 2013, 08:04:28 PM
Does anybody know, how to avoid "pink frames" with silent pics on a 550D.
I tried to record pictures for a timelaps triggered by a wired remote shutter and got quite a couple of unusable frames.
Same with Intervalometer.
Are silent pics working on other models without problems?

Any advice someone?
Thanks.


Title: Re: Silent pic pink frames 550D
Post by: blankensop on September 05, 2013, 09:35:43 PM
Did the same as you did, the only difference is the camera, I'm using a 5DII. Silent Pics (Simple) + Intervalometer (1 shot / sec). The pink frames appeared when I switched off Global Draw. Before I had no problems, but pink frames appeared during normal video recording. Global Draw was on in these cases.

So my result was: Global Draw = on -> pink frames during silent pictures/intervalometer, Global Draw = off -> pink frames during normal video recording. I have to investigate further, if I can find a combination of settings which works ...
Title: Re: Silent pic pink frames 550D
Post by: wolf on October 09, 2013, 08:12:59 PM
I think I found a solution for the silent pink frame problem.
When pressing HS a Canon bottom panel appears which I think disturbs the sp fetching.
As a workaround I set a 500ms delay in silent.c to give the Canon bottom panel time to disappear before taking the picture.

400 frames in a row and more 100 frames rows tested so far without one pink frame on a 550D.

Maybe my explanation is wrong but it seems to work and I hope it will work in the future too. ;-)
Title: Re: Silent pic pink frames 550D
Post by: escho on October 09, 2013, 08:26:57 PM
I would like to test this on my 600d. Can you post the line with your changing, please?

Edgar
Title: Re: Silent pic pink frames 550D
Post by: wolf on October 09, 2013, 09:16:33 PM
sure.


[static unsigned int silent_pic_polling_cbr(unsigned int ctx)
{
    static int silent_pic_countdown;
    if (!display_idle())
    {
        silent_pic_countdown = 10;
    }
    else if (!get_halfshutter_pressed())
    {
        if (silent_pic_countdown) silent_pic_countdown--;
    }

    if (lv && silent_pic_enabled && get_halfshutter_pressed())
    {
        if (silent_pic_countdown) // half-shutter was pressed while in playback mode, for example
            return 0;


                     msleep(500);   //added this line



        silent_pic_take(1);
    }
    return 0;
}


edit: I triggerd in movie mode with a wired remote with 50ms signal length.
Title: Re: Silent pic pink frames 550D
Post by: barepixels on June 30, 2014, 07:01:15 AM
Am having pink frame problem on my 5DII.  Can someone help me and compile Wolfs code above?  Am not a coder and do not know how to change it to .mo file.  Thank you