Magic Lantern Forum

Using Magic Lantern => Raw Video => Topic started by: developerphp on July 18, 2016, 10:28:41 PM

Title: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 18, 2016, 10:28:41 PM
All kind time of day. Today, faced with the problem. when trying to use raw_rec or mlv_rec with FPS override on eos 700d crashes error DETECT RAW ERROR . eos 600d everything works fine. tried to change different USB drive, to no avail.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: a1ex on July 18, 2016, 10:30:22 PM
Modules Debug -> Show Console

Any errors there?
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 18, 2016, 10:31:41 PM
(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fpp.vk.me%2Fc633629%2Fv633629093%2F39cb4%2FAmMZ13UzVhw.jpg&hash=5f2a7bdbe90a25651bc3605aea2b2e99)
(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fpp.vk.me%2Fc633629%2Fv633629093%2F39cbe%2Fi_1EuUOdPLA.jpg&hash=1ca74c75a22dc24608b246cfabbc88da)
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 18, 2016, 10:48:44 PM
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 18, 2016, 10:57:16 PM
rolled on magiclantern-Nightly.2016Feb24.700D114.zip , everything works fine
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: a1ex on July 18, 2016, 10:58:50 PM
Upload a silent picture from LiveView, taken with the old version, at the FPS override setting that causes the error.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 18, 2016, 11:24:46 PM
then better rollback to the old version )))
on magiclantern-Nightly.2016Feb24.700D114.zip everything seems to be working stably
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: a1ex on July 18, 2016, 11:33:43 PM
Without the info I've asked, I'm not able to fix the new version, sorry.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 18, 2016, 11:47:43 PM
sorry . I do not know much English. working with a translator. Don't quite understand what I need to do.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: a1ex on July 19, 2016, 12:02:43 AM
Load the 'silent' module, enable it (simple mode, default settings), go to LiveView, enable FPS override at the setting that causes the error, press shutter halfway to take a picture and upload the DNG.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 19, 2016, 12:14:27 AM
https://yadi.sk/i/_sGkYNqutQxKY
https://yadi.sk/i/yMTxDZVVtQxKc
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: a1ex on July 19, 2016, 12:30:08 AM
... and take the lens cap off or turn on the lights ;)
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 19, 2016, 12:38:13 AM
https://yadi.sk/i/qFRFCjnGtQy5F
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: a1ex on July 19, 2016, 12:58:38 AM
Was this at 2.5 FPS as in your screenshot? There's nothing wrong with it...
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 19, 2016, 04:49:26 AM
yes, was. silent in the mode of a photo works normally.

and problems begin with raw_rec and mlv_rec together with fps.

everything works for magiclantern-Nightly.2016Feb24.700D114.zip well.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: mk11174 on July 19, 2016, 05:47:08 AM
I cant repeat that RAW DETECT error on my cam, I tried with both mlv_rec and raw_rec on at same time, also tried one at a time, tried with default ML settings and also added cropmarks, just not giving error, not sure why he is getting it? I was using latest nightly.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 19, 2016, 08:30:49 AM
matter in that. that there is only an error of DETECT RAW ERROR.
and in a debager in a cycle lines run
black 5/5:.................................................................
on eos 600d everything works remarkably at the last night assembly.

whether there can be it the hardware problem? or it is improbable?
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 19, 2016, 08:32:21 AM
though everything works at old assembly normally
Please try to update the native camera firmware and reset the loader.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: mk11174 on July 19, 2016, 08:49:16 AM
I was testing with new firmware and latest nightly ML build, not old one, and am not getting any kind of Raw Detect Error.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: a1ex on July 19, 2016, 08:53:13 AM
@mk11174: can you compile a version with this enabled in raw.c?

Code: [Select]
        if (0) // change to 1
        {
            /* for debugging: if black check fails, save the bad frame as DNG */

That way, developerphp will be able to save exactly the DNG frames that are causing trouble.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 19, 2016, 08:56:27 AM
Then after work, do a hard reset, update the firmware loader re-set and accomplish your goal on the results.))
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: mk11174 on July 19, 2016, 09:14:10 AM
Ok alex, will, do

https://bitbucket.org/mk11174/700d114/downloads/magiclantern-Nightly.2016Jul19.700D114.zip (https://bitbucket.org/mk11174/700d114/downloads/magiclantern-Nightly.2016Jul19.700D114.zip)
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 19, 2016, 12:33:42 PM
I would like to learn more. when updating nightly build to newer or vice versa if you need to update the boot loader in the camera or not?


maybe the problem is that have not updated it. Only updated files themselves.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 19, 2016, 05:13:51 PM

at frame rates of 10 and above all works. but if the frame rate is below 7, the recording does not start.

no other errors.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 19, 2016, 05:50:47 PM
with the assembly magiclantern-Nightly.2016Feb13.700D114 also noticed that if you set the recording speed of 2.5 frames per second, but the debugger frame rate is 11, and the error (DETECT RAW ERROR) no.

Video frame rate is also higher than for the debugger 11, to put the 10 settings.
If I correctly understood,
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: mk11174 on July 20, 2016, 12:16:34 AM
If I were you, I would start fresh, format card on PC, restore CANON factory settings, then try newest nightly and update firmware again just to be sure, but that part should be fine since its clearly loading your autoexec.bin file. But you need to run firmware update anyway to make card boot once formatted.

But see how that works first.

Because I am from US, tried exactly what you did while NTSC, then saw you use PAL, so I tried PAL, I cant get it to do that error, or any error.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 20, 2016, 05:37:17 AM
all did, to no avail. Problem If only I then can close the topic, I will shoot on canon eos 600d

I did a firmware update, sblos. nothing helped
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: mk11174 on July 20, 2016, 05:52:44 AM
Ok, so u say an old version works, why not go back and download and try each version after the good one, until you start getting error,  that will make it much easier to figure out because we can then see the changes made that may have caused it. But you need to look at every version up until it starts. Maybe to go quicker you can start by skipping every 5 builds, then if error happens work your way backard.

Also, what modules are you loading with mlv_rec,  do u have any other modules enabled and what other settings have you changed from default.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 20, 2016, 07:15:35 AM
all I tried to standard settings only raw_rec or mlv_rec.

on Date: 2016-02-13 04:12:35 +0300 there were no errors, but the frame rate at a value of 2 frames per second 11 frames vseravno remained on the debugger.
I come home, check it later.

and I wanted to find out what these words mean in the cycle?

black 5/5: stdev foo large (19394/100, ref 2577/100)
black 5/5: stdev foo large (19394/100, ref 2577/100)
black 5/5: stdev foo large (19394/100, ref 2577/100)
black 5/5: stdev foo large (19394/100, ref 2577/100)
.................................................. ......

as soon as this begins the cycle, after which the error occurs (DETECT RAW ERROR)

loop occurs when setting the value 8azy and below.

such vchechatlenie that is a ban on below 11 fps.


h 264 writes properly without errors
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 20, 2016, 07:19:34 AM
whether different hardware on my 700d and above?
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: mk11174 on July 20, 2016, 07:59:56 AM
You said earlier that FEB 24 was working, you rolled back to it? Now you say FEB 13 works as the latest, I need you to go here https://builds.magiclantern.fm/#/ (https://builds.magiclantern.fm/#/) select the 700D.114 for your camera and choose Show older builds. At the top of list is the newer ones of course, I need you to find the newest one that works without error. I dont even see one in the list that matches your date and time. This is really important to find the newest one that you can use without error so we know the exact build that the error starts?
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: a1ex on July 20, 2016, 08:00:27 AM
@developerphp: waiting for bad*.dng files obtained with this build:

https://bitbucket.org/mk11174/700d114/downloads/magiclantern-Nightly.2016Jul19.700D114.zip (https://bitbucket.org/mk11174/700d114/downloads/magiclantern-Nightly.2016Jul19.700D114.zip)
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 20, 2016, 08:16:19 AM
through silent and make a photo throw you.
or a course of action?
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 20, 2016, 08:34:54 AM
(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs33.radikal.ru%2Ftempfiles%2F822ebe9f9eaa496ca4ba77e79501cdab%2F-88693455.jpg&hash=35ad10fd98c8c25b72d849d35b47530f)

new assembly is not checked, the camera only in the evening to be with me.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: a1ex on July 20, 2016, 08:35:36 AM
Can you reproduce the error with the build from mk11174?

If yes, look on the card and upload these files.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 20, 2016, 09:29:15 AM
yes I can.
Coming home from work and throw off files to the forum.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 20, 2016, 05:17:01 PM
Good day to all. I'll start from the beginning.
1. take off your bad files https://yadi.sk/d/u_RDmldQtUJpR
2. assembly magiclantern-Nightly.2016Apr11.700D114.zip no errors, and since Date: 2016-04-12 03:12:20 +0300 fly error.
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2F2.downloader.disk.yandex.ua%2Fpreview%2F5263e8650858ae7418f12e2e408be0165e21b9940e3db373db58c4c3dbf17a8f%2Finf%2FBdEjc2iVYHyqrSz4rvyhLNLPT2LeQjkSkgjgwRwlBGMh6aVnbWr3fEwCCkbmw4koJcI56dBjsew66Ux6eNrSsw%253D%253D%3Fuid%3D0%26amp%3Bfilename%3D%25D0%2591%25D0%25B5%25D0%25B7%2520%25D0%25B8%25D0%25BC%25D0%25B5%25D0%25BD%25D0%25B8-1.jpg%26amp%3Bdisposition%3Dinline%26amp%3Bhash%3D%26amp%3Blimit%3D0%26amp%3Bcontent_type%3Dimage%252Fjpeg%26amp%3Btknv%3Dv2%26amp%3Bsize%3DXXL&hash=2d8e6f5f4658f5913d3fd4e9f226a9ef)
3. have a lead. If the scene is bright, everything works just fine. But if the light cycle appears in the frame is small, the debugger and the error takes off
black 5/5: stdev foo large (19394/100, ref 2577/100)
black 5/5: stdev foo large (19394/100, ref 2577/100)
black 5/5: stdev foo large (19394/100, ref 2577/100)
black 5/5: stdev foo large (19394/100, ref 2577/100)

once in the frame appears more light, the error disappears.

Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 20, 2016, 05:19:09 PM
in magiclantern-Nightly.2016Apr11.700D114.zip firmware do not appear line black 5/5: stdev foo large (19394/100, ref 2577/100)

and it works in all lighting conditions.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: a1ex on July 20, 2016, 07:41:20 PM
Please zip individual files.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 20, 2016, 08:03:31 PM
https://yadi.sk/d/xOEVJxj3tUbSz
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: a1ex on July 23, 2016, 11:58:25 PM
Bump. Sorry, can't download large files.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 24, 2016, 06:55:22 AM
https://yadi.sk/i/OI0WdxJVtZpEY
https://yadi.sk/i/e1Uhf2KjtZpEa
https://yadi.sk/i/MTh8E8ETtZpEc
https://yadi.sk/i/XABuUkn9tZpEe
https://yadi.sk/i/mqJ7UMq7tZpEg
https://yadi.sk/i/DdXCfT9dtZpF5
https://yadi.sk/i/rn5vhrH3tZpFT
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: a1ex on July 24, 2016, 08:50:56 AM
Looks like the black level check fails because of some hot pixels.

I expect this issue on most other cameras, not just 700D.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on July 24, 2016, 09:08:24 AM
on canon eos 600d everything works fine in the latest firmware . is there any solution to this problem in the new assemblies ?
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: a1ex on July 24, 2016, 01:01:30 PM
The solution requires robust estimators for black level and noise (for example, median and MAD instead of mean and stdev) in autodetect_black_level_calc (raw.c). Any help regarding their implementation is welcome.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on August 15, 2016, 05:29:51 AM
today confirmed the operation of the new firmware, now everything works without oshibok.ogromnoe thanks for fixing the problem.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: Walter Schulz on August 15, 2016, 06:57:45 AM
I'm a little bit confused. As far as I can "decipher" change logs there was no change for autodetect_black_level_calc in raw.c ...
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: a1ex on August 15, 2016, 07:40:41 AM
Indeed, the issue was not fixed.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on August 15, 2016, 07:50:15 AM
interesting. today I come home from work one more time to test the new firmware and the old. On the results will unsubscribe. A few hours today tested the new firmware. everything works fine.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on August 15, 2016, 08:42:40 PM
I was wrong, the problem persists. in low-light bug is still there.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: KateyZ on August 26, 2016, 10:46:38 AM
Hi there,

I don't want to open a new topic, but I have the same Error on my 50D when I want to shoot RAW in Crop mode.
As soon as I am in crop mode and hit the record button, it shows me the "RAW DETECT ERROR" stuff and the green RAW in the info bar on the bottom of the screen turns into a grey RAW.

RAW shooting in normal mode (not crop) works great.

I am running the "magiclantern-Nightly.2016Aug24.50D109.zip" firmware.

Cheers,

Kate
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: developerphp on December 17, 2016, 06:44:34 PM
Good evening. I would like to know if there is still a problem with the black 5/5: stdev foo large (19394/100, ref 2577/100)
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: a1ex on December 17, 2016, 09:56:43 PM
Yes, see reply #44.
Title: Re: canon eos 700d RAW DETECT ERROR
Post by: breaker on November 12, 2017, 07:39:51 PM
Hi! Have anyone with acknowledge had the chance to look into this issue?

If there is anything i can test and/or upload just let me know :)