Magic Lantern Forum

Using Magic Lantern => Raw Video => Topic started by: scottsockett on September 07, 2022, 12:53:42 AM

Title: Canon t2i 12bit or 10bit?
Post by: scottsockett on September 07, 2022, 12:53:42 AM
Bare with me because I am fairly new to the Magic Lantern world.  I have it installed on my Canon EOS M, and I have no issues.  However I just installed it on my Canon T2i and I can't seem to find a build that will let me go down to 12bit or 10bit, and unfortunately the 14bit is too high of a mbps for my SD card.  Which also makes no sense to me because I am using a Sandisk Extreme Pro which is supposed to have a write speed of up to 100mbps.  So i don't know if there is a setting to lower the bit rate on RAW, or if i am missing a setting to let my sd card write faster.  If anyone has some advise for me, it would be much appreciated.
Title: Re: Canon t2i 12bit or 10bit?
Post by: Walter Schulz on September 07, 2022, 03:40:32 AM
SDcard interface in T2i/550D is limited to 25 MByte/s (theoretical) transfer speed. In RL you will get around 20.
Title: Re: Canon t2i 12bit or 10bit?
Post by: theBilalFakhouri on September 07, 2022, 11:54:28 AM
dfort had a test build for 550D/T2i which includes 10/12 bit depths for RAW video, unfortunately I couldn't find it.
Title: Re: Canon t2i 12bit or 10bit?
Post by: Walter Schulz on September 08, 2022, 09:35:06 AM
I think I found the code:
https://archive.softwareheritage.org/browse/origin/directory/?branch=branch-closed-heads/550D_10bit_12bit/0&origin_url=https://bitbucket.org/daniel_fort/magic-lantern&snapshot=102b88a84830a6000187157d40b28a5b77e43cda
Title: Re: Canon t2i 12bit or 10bit?
Post by: theBilalFakhouri on September 08, 2022, 03:32:06 PM
I couldn't build from that source code, also can't see commits, that archive misses .hg folder which is required for building and seeing commit history.

I wanted to ask dfort if he still his a copy for his repo, it seems he deleted his account on the forum? and his posts showing him as guest, example (https://www.magiclantern.fm/forum/index.php?topic=16054.msg155923#msg155923).
Title: Re: Canon t2i 12bit or 10bit?
Post by: Walter Schulz on September 08, 2022, 03:53:21 PM
Ping Danne and ask. He saved some (all?) of dfort's repositories/builds.
Title: Re: Canon t2i 12bit or 10bit?
Post by: theBilalFakhouri on September 09, 2022, 09:35:16 PM
I asked Danne, he didn't find it.
Title: Re: Canon t2i 12bit or 10bit?
Post by: reddeercity on September 10, 2022, 06:30:37 AM
I have it i do believe , have to look for it in my achieve of magic lantern old files
in fact i usually keep D4 developments builds and Log files and any reverse engineering
Maybe i should charge for it ?  :P
it seems to be acceptable now days to charge for what is normally free
Title: Re: Canon t2i 12bit or 10bit?
Post by: reddeercity on September 10, 2022, 06:42:15 AM
Ok , looks like i have found it .
10bit_12bit_raw_twk_crop_rec.2016Dec01.550D109.zip (https://bitbucket.org/reddeercity/crop_rec_5d2_50d/downloads/magiclantern-10bit_12bit_raw_twk_crop_rec.2016Dec01.550D109.zip)
No Charge Free as the birds  :P
Title: Re: Canon t2i 12bit or 10bit?
Post by: theBilalFakhouri on September 10, 2022, 09:16:57 AM
Quote from: reddeercity on September 10, 2022, 06:30:37 AM
it seems to be acceptable now days to charge for what is normally free

Have you read selling forks under GPL?

Charging for a dev effort, time and hard work is what's normal, ML not used to do that, I agree. And nope my time isn't "normally free", if your time was like this, it's up to you and it's a personal choice. ;)
Title: Re: Canon t2i 12bit or 10bit?
Post by: theBilalFakhouri on September 10, 2022, 09:21:40 AM
Quote from: reddeercity on September 10, 2022, 06:42:15 AM
Ok , looks like i have found it .
10bit_12bit_raw_twk_crop_rec.2016Dec01.550D109.zip (https://bitbucket.org/reddeercity/crop_rec_5d2_50d/downloads/magiclantern-10bit_12bit_raw_twk_crop_rec.2016Dec01.550D109.zip)

Thanks, waiting scottsockett and Walter tests..
Title: Re: Canon t2i 12bit or 10bit?
Post by: theBilalFakhouri on September 10, 2022, 09:33:46 AM
I think this 10-bit/12-bit is a old one?
Maybe there is newer.

I got dfort source code from Danne and dfort, will check it soon.
Title: Re: Canon t2i 12bit or 10bit?
Post by: Walter Schulz on September 10, 2022, 09:39:00 AM
Haven't heard from OP since. Don't know if he/she wants to proceed with info given about 550D's limited storage interface bandwidth. 10 bit will give some 29 percent advantage in pixel count -> some 13 percent in vertical and horizontal pixels. Hardly making a difference IMO.
Title: Re: Canon t2i 12bit or 10bit?
Post by: Skinny on September 12, 2022, 06:39:25 PM
This build almost works :)
12 bit ok, but 10 - top 1/3 part of a frame shifts out of place all the time, so the image is broken. It behaves differently with FPS changes, so... I don't know :) Some registers values are not right?

For me 10 bits makes a lot of difference. For example, 1600x670 using 14 bits I can only record for 4 seconds, using 10 bits - for 8 seconds.
If this time could be increased to ~10...12 sec for me it can be enough to actually use RAW on this camera..
Title: Re: Canon t2i 12bit or 10bit?
Post by: bhiter010 on January 03, 2023, 05:48:01 PM
Quote from: reddeercity on September 10, 2022, 06:42:15 AM
Ok , looks like i have found it .
10bit_12bit_raw_twk_crop_rec.2016Dec01.550D109.zip (https://bitbucket.org/reddeercity/crop_rec_5d2_50d/downloads/magiclantern-10bit_12bit_raw_twk_crop_rec.2016Dec01.550D109.zip)
No Charge Free as the birds  :P
actually looks like it is the right thing