Author Topic: Canon 100D / SL1  (Read 377632 times)

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6175
Re: Canon 100D / SL1 (Beta-4b)
« Reply #700 on: September 26, 2017, 11:13:27 PM »
Will try.
Did a pull request but will change to this if working. Just a minute.

*Confirmed working audio. Sweet!

nikfreak

  • Developer
  • Hero Member
  • *****
  • Posts: 1143
Re: Canon 100D / SL1 (Beta-4b)
« Reply #701 on: September 26, 2017, 11:27:41 PM »
Thanx Danne.
70D.112 & 100D.101

IDA_ML

  • Hero Member
  • *****
  • Posts: 706
Re: Canon 100D / SL1 (Beta-4b)
« Reply #702 on: September 27, 2017, 07:23:49 AM »
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

  • Hero Member
  • *****
  • Posts: 3366
  • 5D3 | M1 | 7D | 70D | SL1 | M2 | 50D
Re: Canon 100D / SL1 (Beta-4b)
« Reply #703 on: September 27, 2017, 09:26:57 AM »
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

  • Hero Member
  • *****
  • Posts: 528
Re: Canon 100D / SL1 (Beta-4b)
« Reply #704 on: September 27, 2017, 06:39:47 PM »
           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

  • New to the forum
  • *
  • Posts: 2
Re: Canon 100D / SL1 (Beta-4b)
« Reply #705 on: September 27, 2017, 07:20:13 PM »
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

  • Contributor
  • Hero Member
  • *****
  • Posts: 6175
Re: Canon 100D / SL1 (Beta-4b)
« Reply #706 on: September 27, 2017, 07:50:08 PM »
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

  • Freshman
  • **
  • Posts: 96
Re: Canon 100D / SL1 (Beta-4b)
« Reply #707 on: September 27, 2017, 07:55:32 PM »
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

  • Contributor
  • Hero Member
  • *****
  • Posts: 6972
Re: Canon 100D / SL1 (Beta-4b)
« Reply #708 on: September 27, 2017, 08:12:59 PM »
... price for 2nd hand 100D/SL 1 in Germany: 200/210€.
Photogs and videographers: Assist in proof reading upcoming in-camera help!. Your input is wanted and needed!

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6175
Re: Canon 100D / SL1 (Beta-4b)
« Reply #709 on: September 27, 2017, 10:22:14 PM »
@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

  • Developer
  • Hero Member
  • *****
  • Posts: 3740
Re: Canon 100D / SL1 (Beta-4b)
« Reply #710 on: September 28, 2017, 12:23:37 AM »
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!
5D3.* 7D.206 700D.115 EOSM.203 EOSM2.103 M50.102

IDA_ML

  • Hero Member
  • *****
  • Posts: 706
Re: Canon 100D / SL1 (Beta-4b)
« Reply #711 on: September 28, 2017, 01:50:56 AM »
Very exciting development with the wonderful 100D !  I will test as soon as I can.  Thank you so much !

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6175
Re: Canon 100D / SL1 (Beta-4b)
« Reply #712 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

DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 3366
  • 5D3 | M1 | 7D | 70D | SL1 | M2 | 50D
Re: Canon 100D / SL1 (Beta-4b)
« Reply #713 on: September 28, 2017, 08:29:17 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

  • Contributor
  • Hero Member
  • *****
  • Posts: 6175
Re: Canon 100D / SL1 (Beta-4b)
« Reply #714 on: September 28, 2017, 08:51:35 AM »
crop_rec sure needs focus pixels maps  :P

Here´s a sample MLV:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/100D_crop_rec.MLV

DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 3366
  • 5D3 | M1 | 7D | 70D | SL1 | M2 | 50D
Re: Canon 100D / SL1 (Beta-4b)
« Reply #715 on: September 28, 2017, 09:23:31 AM »
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

  • Contributor
  • Hero Member
  • *****
  • Posts: 6175
Re: Canon 100D / SL1 (Beta-4b)
« Reply #716 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?

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Emergencies only
Re: Canon 100D / SL1 (Beta-4b)
« Reply #717 on: September 28, 2017, 10:26:35 AM »
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

  • Hero Member
  • *****
  • Posts: 3366
  • 5D3 | M1 | 7D | 70D | SL1 | M2 | 50D
Re: Canon 100D / SL1 (Beta-4b)
« Reply #718 on: September 28, 2017, 10:30:24 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

  • Contributor
  • Hero Member
  • *****
  • Posts: 6175
Re: Canon 100D / SL1 (Beta-4b)
« Reply #719 on: September 28, 2017, 10:58:38 AM »
@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

  • Developer
  • Hero Member
  • *****
  • Posts: 1143
Re: Canon 100D / SL1 (Beta-4b)
« Reply #720 on: September 28, 2017, 05:01:54 PM »
...
@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.
70D.112 & 100D.101

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6175
Re: Canon 100D / SL1 (Beta-4b)
« Reply #721 on: September 28, 2017, 05:45:04 PM »
Question.
How about changing this:
Code: [Select]
static const char crop_choices_help_700d[] =
"Change 1080p and 720p movie modes into crop modes (one choice)";

to this in crop_rec.c:
Code: [Select]
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

  • Developer
  • Hero Member
  • *****
  • Posts: 1143
Re: Canon 100D / SL1 (Beta-4b)
« Reply #722 on: September 28, 2017, 06:23:03 PM »
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:

Code: [Select]
....
        .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:
Code: [Select]
(is_movie_mode() && video_mode_resolution == 1)
At least until a solution for MV1080 is found.
70D.112 & 100D.101

canneloni

  • Freshman
  • **
  • Posts: 96
Re: Canon 100D / SL1 (Beta-4b)
« Reply #723 on: September 29, 2017, 09:37:50 AM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Emergencies only
Re: Canon 100D / SL1 (Beta-4b)
« Reply #724 on: September 29, 2017, 10:42:26 AM »
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.