Canon 100D / SL1

Started by nikfreak, October 19, 2015, 10:41:29 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Danne

Will try.
Did a pull request but will change to this if working. Just a minute.

*Confirmed working audio. Sweet!

nikfreak

[size=8pt]70D.112 & 100D.101[/size]

IDA_ML

Quote from: nikfreak on September 26, 2017, 08:14:35 PM
Guess it could make IDA_ML happy.

It would not make only me happy, Nikfreak, but all the 100D owners that use Magic Lantern.  Especially if it is included into the Experimental build with 10/12-bit MLV recording.  Thank you and Danne for that!

DeafEyeJedi

It never gets old with the SL1, doesn't it? Incredible work in progress @Danne and @dfort for getting this ball rolling with working audio. Thanks @nikfreak for sticking with us through thick and thin!
5D3.113 | 5D3.123 | EOSM.203 | 7D.203 | 70D.112 | 100D.101 | EOSM2.* | 50D.109

OlRivrRat

           Great work Guys ~

   Noticing that "raw_twk.mo" & "raw_rec.mo" are being left out of recent SL1 Nightlys,

are they not needed ?
ORR~DeanB  ~~  80D-ML  &  SL1+ML  &  5D2+ML  &  5DC+ML  &  70D+ML(AliveAgain)

jtice

Having trouble getting this to work.

What I have done.
Went to Canons site, downloaded latest firmware, installed that, no issues.
Downloaded Magic Lantern, copied it to the SD card, turned on the camera, told it to update firmware,
it loads Magic Lantern, tells me to reboot camera.
Once I turn the camera off, and back on, nothing happens, and the red LED stays on steady, even turning the camera off will not turn off the LED.
I have to pull the battery out. Even after that the camera will not boot.
I had to format the SD card, put the ML files back on it, and have it uninstall ML.
The camera now boots and works again, but ML is not on it of corse.

Any tips?

Danne

I have lossless working on 100D:
https://bitbucket.org/hudson/magic-lantern/pull-requests/864/crop-rec-4k-eos100d-lossless/diff

Thanks dfort for pointers, explanation and files. Thanks A1ex for lossless.c

canneloni

You guys are just amazing! Thanks so much for all your work!
100D.100B ; Canon 18-55 STM ; Canon 50 1,8 II ; Canon 75-300 4,0 - 5,6 III ; Sigma 17-50 2,8

Walter Schulz

... price for 2nd hand 100D/SL 1 in Germany: 200/210€.

Danne

@Walter. Got mine for even less in Sweden  :P
I added crop_rec 3x3 720p as well. Nikfreak already had the code changes.
https://bitbucket.org/hudson/magic-lantern/commits/e90a5d0164ee9ecc2c2bc6663fd5097923a544a6

dfort

Quote from: Danne on September 27, 2017, 10:22:14 PM
added crop_rec 3x3 720p

Have you tried the focus pixel map files that I published for crop_rec on the 100D? It is all theoretical because I didn't have a 100D with a working crop_rec module when I created them. Then again you showed me some images from the 100D that didn't have any visible focus pixels. So focus pixels might be a non-issue on that camera? Something must have changed since I last had my hands on that little puppy.

Focus pixel storm!

IDA_ML

Very exciting development with the wonderful 100D !  I will test as soon as I can.  Thank you so much !

Danne

Thanks dfort. Will check those maps of yours.

@Nikfreak. When running crop_rec module camera has to be set to mv720p mode to work, otherwise it´s in mv1080p and some register doesn´t seem to change. To be expected? One third of the image, pure white and "raw detect error" when hitting record.
http://www.magiclantern.fm/forum/index.php?topic=20597.msg190628#msg190628

DeafEyeJedi

Quote from: Danne on September 28, 2017, 08:25:56 AM
Thanks dfort. Will check those maps of yours.

@Nikfreak. When running crop_rec module camera has to be set to mv720p mode to work, otherwise it´s in mv1080p and some register doesn´t seem to change. To be expected? One third of the image, pure white and "raw detect error" when hitting record.
http://www.magiclantern.fm/forum/index.php?topic=20597.msg190628#msg190628

I can also confirm the pure white image on the lower third as well as the raw detect error while in mv1080p.
5D3.113 | 5D3.123 | EOSM.203 | 7D.203 | 70D.112 | 100D.101 | EOSM2.* | 50D.109

Danne


DeafEyeJedi

Also notice crop_rec 1800x1008p Dual-ISO files aren't responding to cr2hdr properly as the stripes are still present after rendering within Switch.

Sample MLV: https://bitbucket.org/DeafEyeJedi/magic-lantern/downloads/SL1_12-bit_lossless_Dual-ISO_1800x1008p_Sample.zip
5D3.113 | 5D3.123 | EOSM.203 | 7D.203 | 70D.112 | 100D.101 | EOSM2.* | 50D.109

Danne

Has to do with either cr2hdr or a corrupted file. Have you tested with non lossless files?

a1ex

cr2hdr has a couple of parameters hardcoded for full-range files, so I don't expect it to work with lower bit depths yet (unless you somehow rescale the raw data back to 14-bit range).

Another issue is worrying me: EXIF white level is way above the real clipping point. Can you use raw_diag to find out the white level in LiveView?

If you have the patience to run the following test, would be great; otherwise, even just a few snapshots will be very helpful.




General testing conditions:

- make sure the image has some overexposure (any amount will do)
- enable RAW Diagnostics (default settings)
- optionally enable RAW Diagnostics -> Dump RAW Buffer (to save the analyzed frames as DNG)
- disable Global Draw
- press half-shutter for about one second to analyze the current LiveView frame

Basic tests:
- analyze one LiveView frame at every ISO (including intermediates)
- write down the white level (as printed on the top right corner)

How to run:

For RAW Video in [ "OFF", "12-bit lossless" ]:
  For movie mode in [ "1080p any FPS", "720p any FPS", "5x zoom", "3x3 crop_rec", "Movie crop mode" ]:
    Run the basic tests.

Note the raw_diag screenshots won't record the RAW Video state, but it will be obvious from the white level.

Results: 2 matrices of white level values (5 rows x as many columns as ISO values).

Additional test:
- try one ISO (any of them) at various apertures (ideally from f/1.4 to f/8, if your lens allows it), in any mode. I don't expect changes here.

Ideally, this test should be coded as a Lua script and ran on all other camera models.

DeafEyeJedi

Quote from: Danne on September 28, 2017, 09:31:40 AM
Has to do with either cr2hdr or a corrupted file. Have you tested with non lossless files?

Not sure. Just tested again in 12/14-bit lossless and 14-bit (uncompressed) both in Dual-ISO and rather strange things are happening. Will get back on this after I get some sleep.  :o

More samples:

https://bitbucket.org/DeafEyeJedi/magic-lantern/downloads/M27-2205_samples.zip

https://bitbucket.org/DeafEyeJedi/magic-lantern/downloads/M28-0003_samples.zip

https://bitbucket.org/DeafEyeJedi/magic-lantern/downloads/M28-0004_samples.zip
5D3.113 | 5D3.123 | EOSM.203 | 7D.203 | 70D.112 | 100D.101 | EOSM2.* | 50D.109

Danne

@deafeyejedi
Please do all tests with cr2hdr directly. Drag it to terminal and then drag the dng file and hit enter. Also disable vertical stripes and cold pixel fix to exclude those to your tests.

File number 4 works. I don´t think it´s specific to eos 100D when it fails. Probably other dualiso related error in conjunction with lossless compression. I suggest you start a new thread or post about it in the dualiso thread instead.

*Check A1ex post above. Missed it totally.

nikfreak

Quote from: Danne on September 28, 2017, 08:25:56 AM
...
@Nikfreak. When running crop_rec module camera has to be set to mv720p mode to work, otherwise it´s in mv1080p and some register doesn´t seem to change....
http://www.magiclantern.fm/forum/index.php?topic=20597.msg190628#msg190628

Yes, exactly. 720p was ok for me, too.
[size=8pt]70D.112 & 100D.101[/size]

Danne

Question.
How about changing this:
static const char crop_choices_help_700d[] =
"Change 1080p and 720p movie modes into crop modes (one choice)";


to this in crop_rec.c:
static const char crop_choices_help_700d[] =
    "Only works in 720p movie mode";


Or can we tweak any register to jump right into 720p mode when selecting crop_rec?
Behaviour is the same for 700D and 100D at the moment when in mv1080p.

nikfreak

probably a good idea to unify help text as well as choices for all working aps-c cams.
Can't speak for other cams but without trying myself I guess restricting to something like:


....
        .name       = "Crop mode",
        .priv       = &crop_preset_index,
        .update     = crop_update,
       #if defined(CONFIG_EOSM) || defined(CONFIG_700D) || defined(CONFIG_100D)
        .depends_on = DEP_MV720,
       #else
        .depends_on = DEP_LIVEVIEW,
       #endif
....

could work where DEP_MV720 is defined as:
(is_movie_mode() && video_mode_resolution == 1)

At least until a solution for MV1080 is found.
[size=8pt]70D.112 & 100D.101[/size]

canneloni

I now have the same problem as nex. Yesterday everything worked fine, now somehow only July Build works. I'm not nearly as skilled as nex and have no clue about QEMU or compiling. I tried some different things though. I tried several SD Cards but none of them worked. I also tried to uninstall ML with EOS Card 1.4 and with the working July build. And i installed Canon Firmware 1.0.1 again and tried installing ML again but nothing worked.
100D.100B ; Canon 18-55 STM ; Canon 50 1,8 II ; Canon 75-300 4,0 - 5,6 III ; Sigma 17-50 2,8

a1ex

If any of you is able to run the latest build, can you run the stubs API test from selftest.mo? Might give some clues.