Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: wolf on May 16, 2013, 12:22:47 PM

Title: 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 16, 2013, 12:22:47 PM
I'd like to ask if someone could help porting DNG pics to 550D.

Quote
I've posted a porting guide for DNG silent pics here:
http://www.magiclantern.fm/forum/index.php?topic=5240.msg32128#msg32128

Like a1ex said I took a screenshot of "Show EDMAC" before and after I pressed "Don't click me!"
before:(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FaxiP8Tt.png%3F1&hash=3111232241db8ba50a24a23c65be8002) after:(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FW4wHUVk.png%3F1&hash=b9c8976831fa1242acaeb5180a115a9c)

1. fill in the "blanks" in raw.c
#if defined(CONFIG_550D)
#define RAW_LV_EDMAC ? ? ? ? ?
#endif

What is the right address?
Title: Re: 550D porting 14bit RAW DNG silent pics
Post by: a1ex on May 16, 2013, 01:22:47 PM
EDMAC #16 (1888x1181) seems to be the one. That is c0f26008.
Title: Re: 550D porting 14bit RAW DNG silent pics
Post by: Greg on May 16, 2013, 02:20:59 PM
That is c0f26008.
Works on 500D  ;D
Title: Re: 550D porting 14bit RAW DNG silent pics
Post by: wolf on May 16, 2013, 02:45:26 PM
Thanks a1ex.

2.
Code: [Select]
/**
 * Photo-mode raw buffer address
 * On old cameras, it can be intercepted from SDSf3 state object, right after sdsMem1toRAWcompress.
 * On new cameras, use the SSS state, sssCompleteMem1ToRaw.
 *
 * See state-object.c for intercepting code,
 * and http://a1ex.bitbucket.io/ML/states/ for state diagrams.
 */

#if defined(CONFIG_5D2) || defined(CONFIG_EOSM) || defined(CONFIG_650D) //FIXME: 650D is untested
#define RAW_PHOTO_EDMAC 0xc0f04A08
#endif

I mirrored http://a1ex.bitbucket.io/ML/states/ and tried to grep c0f and C0F without result to find the site with the value.

@Greg
What did you use for
Code: [Select]
#define RAW_PHOTO_EDMACDo we need it anyway?



Title: Re: 550D porting 14bit RAW DNG silent pics
Post by: Greg on May 16, 2013, 03:18:22 PM
I use the values 5D II

Code: [Select]
#ifdef CONFIG_5D2
#define RAW_PHOTO_EDMAC 0xc0f04A08
#endif

#ifdef CONFIG_500D
#define RAW_PHOTO_EDMAC 0xc0f04A08
#endif

CAM_COLORMATRIX1  :
www.cybercom.net/~dcoffin/dcraw/dcraw.c

Code: [Select]
#ifdef CONFIG_500D
int dynamic_ranges[] = {1104, 1094, 1066, 1007, 933, 848, 737, 625};
#endif


#ifdef CONFIG_500D
    //~ { "Canon EOS 500D", 0, 0x3479,
    //~ { 4763,712,-646,-6821,14399,2640,-1921,3276,6561 } },

    #define CAM_COLORMATRIX1                       \
     4763, 10000,      712, 10000,    -646, 10000, \
    -6821, 10000,    14399, 10000,    2640, 10000, \
    -1921, 10000,     3276, 10000,    6561, 10000
#endif


#ifdef CONFIG_500D
skip_top    = 24;
skip_left   = 74;
#endif


(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs7.postimg.org%2F4ei3bb2kp%2Fsample.jpg&hash=9802916c28a6c89fbc8ef0fc5e58829e)
Title: Re: 550D porting 14bit RAW DNG silent pics
Post by: wolf on May 16, 2013, 06:44:34 PM
Yeah.. :-) Thanks for helping.

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F9KhBNHX.png&hash=4f683756523aacf29507079b50e78c77)

Code: [Select]
$ diff magic-lantern/src/raw.c raw.c
36,40d35
< #if defined(CONFIG_550D)
< #define RAW_LV_EDMAC 0xC0F26008
< #endif
<
<
57,59c52
< #ifdef CONFIG_550D
< #define RAW_PHOTO_EDMAC 0xc0f04A08
< #endif
---
>
143,154d135
< #ifdef CONFIG_550D
< //~ { "Canon EOS 550D", 0, 0x3dd7,
< //~ {  6941,-1164,-857,-3825,11597,2534,-416,1540,6039 } },
<     #define CAM_COLORMATRIX1                        \
<       6461, 10000,     -1164, 10000,    -857, 10000,\
<      -3825, 10000,     11597, 10000,    2534, 10000,\
<       -416, 10000,      1540, 10000,    6039, 10000
< #endif
<
<
<
<
253,258d233
<         #ifdef CONFIG_550D
<         skip_top        = 26;
<         skip_left       = 152;
<         skip_right      =  0;
<         #endif
<
377,380d351
<     #endif
<
<     #ifdef CONFIG_550D
<     int dynamic_ranges[] = {1157, 1154, 1121, 1070, 979, 906, 805, 707};

Title: Re: 550D porting 14bit RAW DNG silent pics
Post by: mk11174 on May 16, 2013, 06:58:29 PM
Yeah.. :-) Thanks for helping.

Hey Wolf! Care to share your bin so I can test this feature?

Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 16, 2013, 07:10:47 PM
Sure
http://www.file-upload.net/download-7600974/autoexec.bin.html
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: mk11174 on May 16, 2013, 07:38:40 PM
Sure
http://www.file-upload.net/download-7600974/autoexec.bin.html
Awesome, Thanks!
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: ashtrai on May 16, 2013, 07:41:28 PM
Whats the easiest way to try this out on a 550D? Replace the autoexec_bin file on my card is a given, but what other files (modules etc) do I need?
Title: Re: 550D porting 14bit RAW DNG silent pics
Post by: Greg on May 16, 2013, 08:43:41 PM
Code: [Select]
[quote author=wolf link=topic=5446.msg35908#msg35908 date=1368722674]
<     #ifdef CONFIG_550D
<     int dynamic_ranges[] = {1157, 1154, 1121, 1070, 979, 906, 805, 707};
These values ​​are probably wrong

Try these values ​​for the 550D:
1095, 1092, 1059, 1008, 917, 844, 744, 645
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 16, 2013, 09:05:44 PM
I took them from
http://www.dxomark.com/index.php/Cameras/Camera-Sensor-Database/Canon/EOS-550D-pre-production
but it's the (pre-production model)

the commercial model is not available.

I'll try your values.
Thanks
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 16, 2013, 09:49:27 PM
Great Wolf ! Many thanks ! You are great !  8)

Do your mods are (or will be) integrated into the official unified builds ? Let me know ! Many thanks !
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: tihon on May 16, 2013, 10:11:59 PM
Can you upload any tetst?:) Please
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 16, 2013, 10:29:49 PM
500D raw silent pic + intervalometer :
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 16, 2013, 10:40:14 PM
Full resolution frame example on 550D (1736 x 1156 pixels) (1 second fixed exposure, independent of the exposure time you set) -> https://dl.dropboxusercontent.com/u/46130896/sample.jpg

Max speed is about a frame every 2 seconds on 550D with a 30 MB/s 8Gb Sandisk SD card

To take silent dng, go to camera settings on ML menu and enable silent pics (ON), then put the rotating knob of the camera into M (manual), then push the liveview button (the red one) then keep half pressed the shoot button to start silent-shooting. Release it to stop the sequence.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 16, 2013, 10:49:09 PM
Some questions :

[1] Do the capture resolution can be selected ?
[2] Do the exposure time can be selected ?
[3] Do there is hope to run a little realtime movie (at least at 24fps) by tweaking something (resolution or exposure for example, or other things) ?

Many thanks !
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 16, 2013, 11:01:00 PM
https://bitbucket.org/Gr3g01/ml-500d-raw-dng/commits/db5ba05b8725cbba232f6cd71172877a051b70c1
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: tihon on May 16, 2013, 11:20:49 PM
It would be nice to have 1280x400 as 600d RAW DNG with 24 fps. It should be posible

Quote
Max speed is about a frame every 2 seconds on 550D with a 30 MB/s 8Gb Sandisk SD card
Not bad for timelapsers)))
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 16, 2013, 11:27:23 PM
How do I find these values?

Code: [Select]
+/** experimental EDMAC research **/
ConnectWriteEDmac
ConnectReadEDmac
SetEDmac
EDMAC_RegisterCompleteCBR
StartEDmac
PopEDmac
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 16, 2013, 11:33:50 PM
It would be nice to have 1280x400 as 600d RAW DNG with 24 fps. It should be posible

Yes ! It would be great ! Let's pass the ball to Wolf...   :P
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 17, 2013, 01:17:00 AM
500D :
(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fimg441.imageshack.us%2Fimg441%2F5556%2F500dr.jpg&hash=dffd791eaa6e0a878f0c956d60df7e7c)

500D max image buffer is 2000 x 999?
This is RAW_PHOTO_EDMAC
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: a1ex on May 17, 2013, 01:21:06 AM
On 5D2, that edmac is reused for something else (and that's the reason for capturing it from the state objects).
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: ecek2 on May 17, 2013, 06:18:21 AM
with zoom, picture size is 2368x1080 4.68MB. but almost everything green

https://dl.dropboxusercontent.com/u/81225910/ML/10140010.DNG
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: a1ex on May 17, 2013, 08:09:25 AM
Skip offsets need to be adjusted then (they are too big).
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: 3pointedit on May 17, 2013, 08:45:42 AM
Wow, great for timelapses. Can the frame be dumped from a long accumulation (longer exposure) via shutter overide or is that fixed elsewhere? Can speed ramping occur?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 17, 2013, 01:52:12 PM
Code: [Select]
        #ifdef CONFIG_500D
        skip_top    = 24;
        skip_left   = zoom ? 64 : 74;
        #endif

https://bitbucket.org/Gr3g01/ml-500d-raw-dng/commits/21483751dc854271e271d95c0d46475221c89fae
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 17, 2013, 03:19:33 PM
Hi Greg ! Do your latest modifications works ? No more greenish color with zoom and full height frame ?  ???
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 17, 2013, 04:18:59 PM
100% crop :
(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fimg7.imageshack.us%2Fimg7%2F9117%2Ftestchs.jpg&hash=5d6f04afd6ffe6f3bb2c759b3a414efa)


Hi Greg ! Do your latest modifications works ? No more greenish color with zoom and full height frame ?  ???

500D zoom 5x - http://img845.imageshack.us/img845/4383/zoomt.jpg
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 17, 2013, 06:22:48 PM
Wonderful, Greg ! Compliments !
Now Wolf should correct his 550D code by following your example, and refresh his pull request ! Great !
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 17, 2013, 06:51:27 PM
@Greg -> awesome :-)

How did you find the right zoom skip?
When I take a zoom silent pic I get no borders, but it doesn't work with 0 zoom.

Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 17, 2013, 06:57:11 PM
Turn off the skip and send me dng.
Full frame and zoom 5x

550D - https://bitbucket.org/Gr3g01/ml-500d-raw-dng/commits/9cc339b9ceb9a6e4d1b35f49d7a9155a79ddba7b
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: tihon on May 17, 2013, 07:09:00 PM
Hi, again.

Do you think that 1280 x 400 24fps continious raw  is possible for 550d?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 17, 2013, 07:10:26 PM
@ Greg
http://www.file-upload.net/download-7604947/48660001.DNG.html
http://www.file-upload.net/download-7604950/48660002.DNG.html
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 17, 2013, 08:03:22 PM
@ Greg
http://www.file-upload.net/download-7604947/48660001.DNG.html
http://www.file-upload.net/download-7604950/48660002.DNG.html

Try this:
Code: [Select]
        #ifdef CONFIG_550D
        skip_top    = 26;
        skip_left   = zoom ? 0 : 152;
        skip_right  = zoom ? 0 : 2;
        #endif
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 17, 2013, 08:24:31 PM
Still pink.
I tried

skip_right  = zoom ? 0 : 1; 

Still pink also.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 17, 2013, 08:38:37 PM
Still pink.
I tried

skip_right  = zoom ? 0 : 1; 

Still pink also.

This value must be 2, this is the full frame. (1734 x 1156)
Check for 5x and 10x. For 500D 10x gives bad results.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 17, 2013, 08:53:46 PM
On 10x same pink.
I don't mind, still satisfied with the no-zoom DNG :-)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 17, 2013, 09:18:28 PM
This should work, from the top is 26px.
http://img37.imageshack.us/img37/3961/test2wo.jpg

5x also be pink?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Shizuka on May 17, 2013, 09:33:24 PM
Still pink.
I tried

skip_right  = zoom ? 0 : 1; 

Still pink also.

C:\>dcraw -T -v -v 48660002.DNG
Loading Canon EOS 550D image from 48660002.DNG ...
Scaling with darkness 0, saturation 15000, and
multipliers 2.651050 1.000000 1.388727 1.000000

>darkness 0
this is your problem, needs to be 2048 or something close to that

dcraw.exe -k 2048 is what you need

autodetect_black_level() produces a value of 0/0 here. Hard code it to some reasonable value, like 2048.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: a1ex on May 17, 2013, 09:47:14 PM
If you have the black borders defined properly, the black level will be autodetected. If not, just hardcode something.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: 1% on May 17, 2013, 10:21:21 PM
On 600D when I turned debug on it would either detect what looked to be the correct level or return 0, hit or miss. It seemed to get better in later builds. before raw histo looked funny.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 17, 2013, 11:08:24 PM
500D looks good :
Code: [Select]
Loading Canon EOS 500D image from 2.DNG ...
Scaling with darkness 1791, saturation 15000, and
multipliers 2.378967 1.000000 1.255631 1.000000
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 18, 2013, 02:53:24 AM
I tried different even values without success and don't understand to hardcode it.
At least the 550D users can use zoom raw the way Shizuka discribed.
Title: Re: [solved] 550D &amp; 500D porting 14bit RAW DNG silent pics
Post by: nanomad on May 18, 2013, 09:27:52 AM
Pull request anyone? :D
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 18, 2013, 11:13:27 AM
already requested
https://bitbucket.org/hudson/magic-lantern/pull-requests
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: nanomad on May 18, 2013, 03:31:35 PM
Merged, thanks :D
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: 1% on May 18, 2013, 03:59:17 PM
You should add 600D too. https://bitbucket.org/OtherOnePercent/tragic-lantern-2.0/commits/all'

I think its only a few changes to raw.c, consts, and features.h
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 18, 2013, 05:33:46 PM
I turned on the 500D Silent Picture Burst.
26 images 1590x1060
46 images 1590x636

Raw video 500D 1590x636 rezised 1920x1080
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 18, 2013, 11:01:04 PM
Great.
How many fps do you get?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: scrax on May 18, 2013, 11:22:43 PM
You should add 600D too. https://bitbucket.org/OtherOnePercent/tragic-lantern-2.0/commits/all'

I think its only a few changes to raw.c, consts, and features.h
I've tried but failed, I can't even compile your source, don't know why.

this is the error:


Ok just updated source and now after a make clean, make 600D worked...
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 18, 2013, 11:31:07 PM
Great.
How many fps do you get?

26 images 1590x1060 - 20FPS
46 images 1590x636 - 30FPS

Magiclantern.sym file is empty. I wanted to turn on the modules.

Code: [Select]
[ SYMBOLS  ]   magiclantern.sym
/bin/sh: 1: gawk: not found
I need to install  ;)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 18, 2013, 11:59:47 PM
Great Greg ! We should compile the same sources also for 550d, it shouldn't be so different, right ?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 19, 2013, 12:13:44 AM
Now I need to find the 500D:

Code: [Select]
RegisterEDmacCompleteCBR
RegisterEDmacAbortCBR
RegisterEDmacPopCBR
RegisterEDmacCompleteCBR
RegisterEDmacAbortCBR
RegisterEDmacPopCBR
ConnectWriteEDmac
ConnectReadEDmac
SetEDmac
SetEDmac
StartEDmac
StartEDmac

UnregisterEDmacCompleteCBR
UnregisterEDmacAbortCBR
UnregisterEDmacPopCBR
UnregisterEDmacCompleteCBR
UnregisterEDmacAbortCBR
UnregisterEDmacPopCBR
PopEDmac
PopEDmac
:o


Great Greg ! We should compile the same sources also for 550d, it shouldn't be so different, right ?
https://bitbucket.org/Gr3g01/ml-500d-raw-dng/commits/16b158c998d8b3002a9ddc3fab61e6c9541b037e
You can try the 550D should work.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 19, 2013, 12:51:36 AM
Enabled, but not tested.

Code: [Select]
#define FEATURE_RAW_HISTOGRAM
#define FEATURE_RAW_ZEBRAS
#define FEATURE_RAW_SPOTMETER
#define FEATURE_SILENT_PIC_RAW_BURST

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FI0N1Miv.png%3F1&hash=a670a43e01d912db42a6d73ff9d71781)

@Greg: are you able to view DNG on your 500D?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 19, 2013, 01:00:57 AM
@Greg: are you able to view DNG on your 500D?

Preview after taking dng?
Such as 422 Preview?
I do not have this feature.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: stevehallvideo on May 19, 2013, 01:32:24 AM
I know this will probably be the wrong place but im desperately trying to find the firmware update, this could be an incredibly stupid question but where can i find it?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: internetjoke on May 19, 2013, 04:03:34 AM
PLEASE if it were possible to create 845 x 720 raw (or 1268 x 1080) it would be great for all of us with 2x anamorphic lens as it would keep its vertical resolution and can be stretched to sweet sweet raw 2:35:1. (1690x720).
or just any 1.1755 x 1 ratio
 at 24fps.

Please put this feature in! It would be.... superb :o

thank you
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: andlas on May 19, 2013, 07:43:26 AM
Perhaps there is no "sd" to "cf" converter, but I have seen converters from "sd" to "sata" and "ssd drives" could be great to expand recording time for raw dng files three o four times.
 
http://www.cablematic.com/search/sd-sata/2_dot_5-SATA_hyphen_HDD-Adapter-_open_parenthesis_1xSD-to-SATA_close_parenthesis_/?pag=1
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Atrakt on May 19, 2013, 10:27:24 AM
Hi ! I've tested the nightly build of the 19 May on my 550D, and for the silent pic in RAW, I have some magenta frames every 4-5 frames, here is one of them :

https://www.dropbox.com/s/tveiqepbvrw5pkh/00000148.jpg

I'm shooting in LV in Video mode in 1920x1080 @ 25FPS with silent pics on and intervalometer set to "Crazy", the DNG is 1734x1156.

Hope this help you ! ;)

P.S : Greg your test is so promising!

EDIT : I also have a kind of dead pixels on my DNG, I've checked on H264 MOV and in Photo mode and it's not here... (it's a little green dot)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 19, 2013, 12:02:14 PM
EDIT : I also have a kind of dead pixels on my DNG, I've checked on H264 MOV and in Photo mode and it's not here... (it's a little green dot)

Can you send an example image?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Atrakt on May 19, 2013, 12:21:30 PM
Sure, here it is :

https://www.dropbox.com/s/ecafxhy5klnbhyb/33620007.jpg

https://www.dropbox.com/s/oeakqybsfg0rlha/33620007.DNG

Sometimes is green, sometimes is white...

And this is a 400X zoom :

https://www.dropbox.com/s/gmfwsmjwob8pita/400x_zoom_pixel_bug.jpg
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: a1ex on May 19, 2013, 12:23:17 PM
ML does not correct bad pixels.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Atrakt on May 19, 2013, 12:27:54 PM
I know, but I don't think is a bad pixel on the sensor... maybe a little bug with the nightly, because it's the first time I see it on the silent pic RAW. But my knowledge in dev it's very basic, maybe I'm wrong! ;)

P.S. : sorry for my bad english  ;)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 19, 2013, 12:31:37 PM
Turn ML off, take a normal raw then you can be sure.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: derkiki on May 19, 2013, 12:51:18 PM
Could someone please post the 550D binary with burst enabled. I'm too dumb to compile.
Thx
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: nanomad on May 19, 2013, 12:55:35 PM
Turn ML off, take a normal raw then you can be sure.

No. because the CR2 files have the bad pixles info baked in (so they won't show up)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 19, 2013, 01:03:26 PM
OK, I see ... was a bad tip.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Atrakt on May 19, 2013, 01:06:23 PM
Agree with Nanomad, in CR2 the pixel won't show up...
I have tested with and without ML, and I have tested my RAW with Pixel Tester and it doesn't detect any Dead/hot Pixel, but in the DNG it does it immediatly!

So, my sensor is Dead?  :'( (Maybe it's time to buy a new camera body!!)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Andy600 on May 19, 2013, 01:10:23 PM
I've got a few green dots/dead pixels. They show up much worse in an image viewer than in AE. It's not a huge issue if you have photoshop. You can use the spot healing brush and batch process the DNGs. We're dealing with what are effectively moving photographs now ;)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 19, 2013, 08:44:06 PM
Now I need to find the 500D:

Code: [Select]
RegisterEDmacCompleteCBR
RegisterEDmacAbortCBR
RegisterEDmacPopCBR
RegisterEDmacCompleteCBR
RegisterEDmacAbortCBR
RegisterEDmacPopCBR
ConnectWriteEDmac
ConnectReadEDmac
SetEDmac
SetEDmac
StartEDmac
StartEDmac

UnregisterEDmacCompleteCBR
UnregisterEDmacAbortCBR
UnregisterEDmacPopCBR
UnregisterEDmacCompleteCBR
UnregisterEDmacAbortCBR
UnregisterEDmacPopCBR
PopEDmac
PopEDmac
:o

How do I find these values?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 19, 2013, 10:15:56 PM
Is there a DNG raw image preview on any model like the 422 preview?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: 3pointedit on May 20, 2013, 06:02:59 AM
With nightly build i tried shooting at various video settings but could only get useable frames from 1080 25. Had to turn off global draw as many frames were pink noise.

I tried variable frame rate (@3fps) but the DNG files seem to be corrupt as I cannot get Raw Therapee to load them. Infact it seems to have crashed. I was hoping for long shutter speeds, oh well.

NB. I also tried loading the DNGs into Blender's compositor but it only accesses the embeded jpeg :(
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: 3pointedit on May 20, 2013, 07:28:52 AM
Comparing 550D DNG files to HDR capture, I get better frame rate in HDR mode (@1/2fps of record setting) compared to 2fps for DNG ;) . And a similar dynamic range. But it's not all good news for HDR as the RAW capture has much more sharpness and better color rendition. However, while the frame ratio is taller in DNG recording there are fewer lines available to record. So there seems to be more moire effects(?).

And much more noise in the DNGs which I found difficult to remove in post (even at 100iso). Shame I can't have just a bit more detail in the h264 file.

Here is a screeny comparing the result of HDR merge of 2 frames and a RAW DNG:
(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FmCQ2LyFl.jpg%3F1&hash=a87b052e2c494bf5508cfd18ef571441)

http://imgur.com/mCQ2LyF
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Atrakt on May 20, 2013, 10:26:06 AM
The nightly build of this night is great! no more dead/hot pixels on my DNG! Great work, big THX!

I've compiled the raw burst for the 550D, I've 19 Frames max @ 1734X1156, but I'm not a Dev, so It's possible I've make some mistake ;)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 20, 2013, 10:47:19 AM
Enabled, but not tested.

Code: [Select]
#define FEATURE_RAW_HISTOGRAM
#define FEATURE_RAW_ZEBRAS
#define FEATURE_RAW_SPOTMETER
#define FEATURE_SILENT_PIC_RAW_BURST

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FI0N1Miv.png%3F1&hash=a670a43e01d912db42a6d73ff9d71781)


Have you simply enabled the defines, without any other code modifications ? If yes, I can apply your modifications + compile and test these functions, thanks !
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: LeviBetz on May 20, 2013, 01:31:22 PM
Hi guys! I just joined, been using ML since I bought my used 550D. Now i'd like to give this raw thing a try, but I'm a bit confused. How the hell are you getting it to run on your 550Ds? I can't find source code let alone a build with raw (i've got the silent photos though). Although I found the nightly build. And that dang sokoban game sucked up a good couple hours haha (I'm stuck at level 5). Anyone care to help out a noob? :P
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 20, 2013, 01:38:28 PM
Hi guys! I just joined, been using ML since I bought my used 550D. Now i'd like to give this raw thing a try, but I'm a bit confused. How the hell are you getting it to run on your 550Ds? I can't find source code let alone a build with raw (i've got the silent photos though). Although I found the nightly build. And that dang sokoban game sucked up a good couple hours haha (I'm stuck at level 5). Anyone care to help out a noob? :P

Do you search for a source code or for a ready-to-use ML to Mount on your camera ? And what function are you searching for ? If you can precisely answer to these question, I can help you !  ;)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: derkiki on May 20, 2013, 02:15:44 PM
The nightly build of this night is great! no more dead/hot pixels on my DNG! Great work, big THX!

I've compiled the raw burst for the 550D, I've 19 Frames max @ 1734X1156, but I'm not a Dev, so It's possible I've make some mistake ;)

Hi Atrakt,
could you post your compile with burst for the 550D please? I don't know how to compile.
Thanks a lot.
+ Fantastic work everyone!
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 20, 2013, 02:31:05 PM
https://bitbucket.org/Gr3g01/ml-500d-raw-dng/commits/16b158c998d8b3002a9ddc3fab61e6c9541b037e
You can try the 550D should work.

Why you have commented out the define FEATURE_SILENT_PIC_RAW ? What if I want to keep this along with FEATURE_SILENT_PIC_RAW_BURST ? So, to make sometime timelapses and sometime also videos with burst mode ! Do it's not possible ?  :o
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 20, 2013, 02:37:34 PM
Why you have commented out the define FEATURE_SILENT_PIC_RAW ? What if I want to keep this along with FEATURE_SILENT_PIC_RAW_BURST ? So, to make sometime timelapses and sometime also videos with burst mode ! Do it's not possible ?  :o

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fimg59.imageshack.us%2Fimg59%2F5006%2Fvram0.png&hash=2ef12469acd50d6a0a234cf69f76068f)

 ;)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: mk11174 on May 20, 2013, 03:17:50 PM
The nightly build of this night is great! no more dead/hot pixels on my DNG! Great work, big THX!

I've compiled the raw burst for the 550D, I've 19 Frames max @ 1734X1156, but I'm not a Dev, so It's possible I've make some mistake ;)
Hi, was wondering if you can share your bin for me to try as well?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 20, 2013, 03:31:31 PM
Ok boys ! Here it is ! The 550D  .BIN with RAW Zebras, histo & company + RAW BURST DNG !
https://dl.dropboxusercontent.com/u/46130896/autoexec.bin

Take care :

[1] Confirmet as Atrakt, 19 frames confirmed in burst mode ! it shows one-by one the RAM memorized DNGs in Black&White while saving them to SD. How we can change resolution and FPS here ????  :o

[2] RAW visualizations (zebras and histogram and spotmeter) seems EQUAL to the normal ones, according to my tests. Please, make tests as many as possible also you all ! the .BIN is here !  ;)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Atrakt on May 20, 2013, 03:35:48 PM
I need to recompile my BIN cleanly because I have some crashes at startup...
when it's stable, i give you my modules and bin ...
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: derkiki on May 20, 2013, 03:56:24 PM
Great, thanks.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: derkiki on May 20, 2013, 04:07:54 PM
@dlrpgmsvc
Works, thanks!!
To change res, goto movie mode + change resolution in canon menu. Don't know how to change fps.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: 1% on May 20, 2013, 04:12:54 PM
If you have enough memory to boot into allocatemem with 640K then you'll have raw rec.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: derkiki on May 20, 2013, 04:50:34 PM
@1% Can you explain how to do that pls?
Allocatemem shows 2033K
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 20, 2013, 06:19:09 PM
canon main dial on video mode - 640x480x50fps video settings by canon menu - 1734x694 actual dng resolution - 24fps ml video override - 31 frames burst recorded - ml global draw off - canon record audio on or off no difference

if canon main dial is on M mode, only 19 frames are recorded

[1] Canon video settings are no-influent over the DNG RAW burst resolution: how we can set it in order to increase or decrease it so it can record more images and so for more time ?

[2] Once in a while (once every 2-3 bursts), a single screwed-up DNG is recorded inside the burst sequence, like this -> https://dl.dropboxusercontent.com/u/46130896/screwed_up.jpg    the borders of the subjects are barely visible.
How we can solve this ? Perhaps the other ports have already solved this...  ;)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: 1% on May 20, 2013, 06:27:32 PM
Look at how I boot 6D/600D/EoSM
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 20, 2013, 08:24:20 PM
edmac test 500D :

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fimg849.imageshack.us%2Fimg849%2F4135%2Ftestmy.png&hash=8c8d675e71b900c949b116a226a8461e)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 20, 2013, 09:10:38 PM
Raw Rec works on 500D.  ;D
I tested 960x540 20FPS
During recording, no live preview.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 20, 2013, 09:22:10 PM
Raw Rec works on 500D.  ;D
I tested 960x540 20FPS
During recording, no live preview.

Plz ! show us your commits, just to port on 550D !  :P  Thnkz !  ;)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 20, 2013, 10:08:07 PM
Wow

During recording, no live preview.

Did you disable the LV to make it faster or is it a general issue?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: ashtrai on May 20, 2013, 10:11:55 PM
550d edmac stubs for raw_rec have been committed to the git. Shouldn't be long now, right wolf?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 20, 2013, 10:55:23 PM
I'm sorry, but what Greg did is beyond my skills but I'm sure you guys can do it. On the other hand I was never disappointed with the footage quality of the 550D. And let's face it, the 550D is not the first choice if you want to do raw video also this resolution (960x480) looks quite impressive to me.
http://www.magiclantern.fm/forum/index.php?topic=5247.msg37195#msg37195
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: internetjoke on May 20, 2013, 11:27:22 PM
Is
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: LeviBetz on May 21, 2013, 12:48:43 PM
Do you search for a source code or for a ready-to-use ML to Mount on your camera ? And what function are you searching for ? If you can precisely answer to these question, I can help you !  ;)

Probably a compiled version would be best, but regardless I haven't found either haha. I have done a tiny bit of C programming though. And I'm looking for the raw video feature.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 21, 2013, 01:07:12 PM
I'm sorry, but what Greg did is beyond my skills but I'm sure you guys can do it. On the other hand I was never disappointed with the footage quality of the 550D. And let's face it, the 550D is not the first choice if you want to do raw video also this resolution (960x480) looks quite impressive to me.
http://www.magiclantern.fm/forum/index.php?topic=5247.msg37195#msg37195

You need to enable edmac.
https://bitbucket.org/Gr3g01/ml-500d-raw-dng3/commits/66619cd642ad311392882b5f3aaadc48a421c048

Turn on modules in the makefile.user

Copy raw_rec.mo to ML / modules / raw_rec.mo
Copy platform/550D/magiclantern.sym to ML / modules / magic.sym

960x480 24FPS works on 500D
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: JoshuOne on May 21, 2013, 02:27:24 PM
Greg, could you explain exactly how to do that? I am not sure how to enable edmac... I am using the most recent nightly and I am really not sure if this is something that must be done on the 500D or on the computer, any help is greatly apreciated...
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: mk11174 on May 21, 2013, 02:30:49 PM
You need to enable edmac.
https://bitbucket.org/Gr3g01/ml-500d-raw-dng3/commits/66619cd642ad311392882b5f3aaadc48a421c048

Turn on modules in the makefile.user

Copy raw_rec.mo to ML / modules / raw_rec.mo
Copy platform/550D/magiclantern.sym to ML / modules / magic.sym

960x480 24FPS works on 500D
Guess not fully ready for 550, when I enable that and the module all compiles fine but if start in movie mode it just keeps resetting cam then lcd goes blank and card light stays on.

If I try in M mode and go into ML before I turn on live view I can goto load modules now and it says at bottom.
tcc: error: undefined symbol raw_set_geometry
tcc: error: undefined symbol __aeabi_idivmod


I just tried same thing with 500D, I have both cams of coarse, I get same tcc errors except I just noticed when the error appears if I press the trash can a console of lots more tcc errors show and just like the 550D says failed to link module????

Fixed the TCC: Error, was just gawk needing to be installed. Raw_Rec seems to work on 500D, and now can enable module on 550D but only by going to M mode without turning on live view, if you try to start cam in Movie mode it starts and blacks out then red light comes on.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 21, 2013, 06:12:27 PM
960x540 (20MB/s) is not enough to use it.
Even when scaled lanczos to 1920 does not look good.

We have to find a way to reduce the file size. Or buy new camera.
The 650D should work 1280x720 24FPS
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: internetjoke on May 21, 2013, 06:45:26 PM
is it capable of 960 x 480 like the 600d?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 21, 2013, 07:04:01 PM
is it capable of 960 x 480 like the 600d?

500D can only 20FPS in full HD, this is a limitation.
So is 960x540 FPS raw.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: internetjoke on May 21, 2013, 07:36:04 PM
can the 550d do 24fps at any resolution raw? what is the maximum resolution for 24fps raw?

Thanks
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on May 21, 2013, 08:03:45 PM
I do not know, I do not have a 550D.
It should be the same as the 600D.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: CFP on May 21, 2013, 09:31:11 PM
can the 550d do 24fps at any resolution raw? what is the maximum resolution for 24fps raw?
960x480 24FPS works on 500D
Since 960 X 480 at 24 fps works on 500D and 600D I'm sure that 550D will handle it too :D

On my 600D I can shoot continuous at these resolutions:

- 720 X 720 = 0.52 Megapixel (1 : 1 aspect ratio)
- 960 X 540 = 0.52 Megapixel (16 : 9 aspect ratio)
- 1280 X 400 = 0.51 Megapixel (16 : 5 aspect ratio)

Higher resolutions will stop after a few seconds. I guess on the 500D and 550D you'll get very similar results.

Upscaling these resolutions to a width of 1920 will give you an image that looks fairly comparable to 1920 X 1080 H.264 in terms of detail and sharpness, but it'll have way more dynamic range and better colors then the default videos. I did a few comparisons and I have the impression that there's still a bit more sharpness in the 1920 X 1080 H.264 videos. But that was under bad lighting conditions ...

For those who want to do some comparisons on their own: Keep in mind that you have to change the focal length to get comparable results! Because the crop factor increases with these resolutions above. They are only crops of the sensor. Here are the crop factors you'll get with the raw resolutions:

Width | Cropfactor | Multiple of H.264 crop

1734 = 1.60 | 1
1280 = 2.17 | 1.36
960 = 2.89 | 1.81
720 = 3.85 | 2.41

So if you shoot a video in 1920 X 1080 H.264 at 55mm and you want to compare it with a 960 X 540 raw video you have to change the focal length to 30mm (55 / 1.81 = 30). At least if my math is correct  ;D

And btw. I wouldn't upgrade to a 650D if I would want more frames. The old but gold 50D takes CF cards and might be able to record 1592 X 682 (21 : 9) or maybe even 1592 X 895 (16 : 9)! That wouldn't even affect the crop factor since 1592 is the full width of the LiveView image :D
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Andy600 on May 21, 2013, 09:37:57 PM
@CFP - I'll tell you tomorrow re: 50d when mine arrives ;D It should (on paper) be an improvement on the 600d but it's an older sensor etc so I don't know yet. Hopefully I'll be able to post some comparisons if the card that's coming with it is fast enough.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: CFP on May 21, 2013, 09:59:31 PM
@CFP - I'll tell you tomorrow re: 50d when mine arrives ;D
Great! (https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fforum.chip.de%2Fimages%2Fsmilies%2Fbw_smilies%2Fgut.gif&hash=ae29d936353492a13d439fb129d7b04e) Thanks a lot, I'm really looking forward to your results.

I guess the 50D Magic Lantern H.264 video will be a step back from the 600D Canon H.264 since the 18 MP APS-C cameras have a width of 1734 and the 50D has only 1592 ... So it needs more upscaling to become 1920. No issue with raws using something powerfull like Photoshop but inside the camera with its slooow DiG!C 4 it might look worse :(

As far as I know the older 15 MP sensor inside the 50D is better then the newer 18 MP sensor inside the 600D & 60D in terms of noise and dynamic range but worse in terms of detail ... Guess you'll see if that's right tomorrow  :)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Andy600 on May 21, 2013, 10:16:33 PM
Yes, H.264 will likely not be as good as the 600d but if it can do fairly long takes without any cropping in raw (I'm only talking 30secs or so) there's no need for H.264 for me personally. The Digic 4 processor is the same as in the 600d no?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: ashtrai on May 21, 2013, 10:17:53 PM

For those who want to do some comparisons on their own: Keep in mind that you have to change the focal length to get comparable results! Because the crop factor increases with these resolutions above. They are only crops of the sensor. Here are the crop factors you'll get with the raw resolutions:

Width | Cropfactor | Multiple of H.264 crop

1734 = 1.60 | 1
1280 = 2.17 | 1.36
960 = 2.89 | 1.81
720 = 3.85 | 2.41

So if you shoot a video in 1920 X 1080 H.264 at 55mm and you want to compare it with a 960 X 540 raw video you have to change the focal length to 30mm (55 / 1.81 = 30). At least if my math is correct  ;D


Is this for recording raw in 1080p mode? Does the cropfactor change when you use the 480p videomode to record raw?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: CFP on May 21, 2013, 10:32:14 PM
Is this for recording raw in 1080p mode? Does the cropfactor change when you use the 480p videomode to record raw?
No. In 1080p, 720p and 480p mode the cropfactor should always be the same like I posted.
Only the 5X crop and the digital 3X zoom (600D only) will increase the crop factor even more.

But in 720p you have less horizontal resolution then in 1080p and 480p mode.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: mk11174 on May 21, 2013, 11:04:15 PM
As of now the 550D can't do any raw video, once the build is set up with modules turned on, the camera will crash and restart once movie mode is on or live view is on. But you can turn on the module in Manual mode at least to at least see the module can be turned on, but once you turn on the lcd the camera reboots and then crashes. Anyone know what still needs to be configured? Are there things that still need to be coded for it to work or is it just a bug with the 550D?

Silent Picture Raw Burst seems to work nice though.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 21, 2013, 11:16:11 PM
Silent Picture Raw Burst seems to work nice though.

Unfortunately not ! Once in a while, there is a screwed up frame inside the burst ! See my previous report in this thread, and so I'm seeking someone that can help to iron out this problem, like the one you pointed out about the raw video rec ! Lets hope together !  :-\
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: a1ex on May 21, 2013, 11:17:35 PM
This might be related: https://bitbucket.org/hudson/magic-lantern/commits/90309b750838
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 21, 2013, 11:31:08 PM
This might be related: https://bitbucket.org/hudson/magic-lantern/commits/90309b750838

Good ! So, when your commits will be merged (or do it's yet merged ?) the problem of the screwed up frames in burst should disappear ? Or do we must integrate your commits in another module ?

Or are you referring to the LiveView with raw_video problem ? Or do your commits are related to both problems ?

Many thanks a1ex !!!  :)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: mk11174 on May 22, 2013, 12:17:44 AM
This might be related: https://bitbucket.org/hudson/magic-lantern/commits/90309b750838
No, doesn't seem to help, I was not seeing an issue with the silent picture raw burst because I was in 1920x1080 mode, when switching to 1280x720 or 640x480 I see ever few frames at the start of the capture during burst, those get that weird color noise to them. 1920x1080 seems just fine so far.

Also I noticed I only get 28 frames in 1280x720 and 640x480 and 17 frames in 1920x1080, what is weird, with this bin file, http://www.magiclantern.fm/forum/index.php?topic=5446.msg37751#msg37751  I got 31 frames and 19 frames???
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 22, 2013, 02:11:20 AM
Also I noticed I only get 28 frames in 1280x720 and 640x480 and 17 frames in 1920x1080, what is weird, with this bin file, http://www.magiclantern.fm/forum/index.php?topic=5446.msg37751#msg37751  I got 31 frames and 19 frames???

I think A1ex made a good job, because now I can see no more problems at 640x480 in burst pics, and the bin file you refer to is mine, and was compiled before the A1ex modifications. So these modifications avoids the screwed up pics but you lose 2 or 3 frames, and this is probably due to the memory alignments and timings that prevent the pics malformations !

Please, mk11174, can you confirm this by compiling the very last sources with the silent pics raw dng burst modifications and then make you also tests with 550d ? Many thanks !

Also, I made a pull request about 550d burst pics, so we will be aligned also with the bins and the tests ! I hope it will be accepted fast !  ;)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: mk11174 on May 22, 2013, 04:06:26 AM
Please, mk11174, can you confirm this by compiling the very last sources with the silent pics raw dng burst modifications and then make you also tests with 550d ? Many thanks !

No, I still get messed up frames occasional in both 1920x1080 and 640x480, but for sure happens more in 640x480, but not all the time either, sometimes it actually seems like the bug is gone but then it shows up again.

I do notice, it is always the 3rd and 4th frame that is messed up from each capture, the 3rd frame is only like a tiny section at bottom of image and 4th frame is full of colored noise, like a effect added to the image.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: mk11174 on May 22, 2013, 06:22:03 AM
Also, I made a pull request about 550d burst pics, so we will be aligned also with the bins and the tests ! I hope it will be accepted fast !  ;)
He already has Silent Picture Raw Burst added a few builds ago for all cameras now. If you compile the latest build it will be in the menu. https://bitbucket.org/hudson/magic-lantern/commits/929adbf32a8ae0e5e65dcbe817b22b2a39355e96
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 22, 2013, 10:29:37 AM
He already has Silent Picture Raw Burst added a few builds ago for all cameras now. If you compile the latest build it will be in the menu. https://bitbucket.org/hudson/magic-lantern/commits/929adbf32a8ae0e5e65dcbe817b22b2a39355e96

You are right ! Every day we learn something... one sees that the modifications are not there in the Platform-specific and thinks there aren't... ok.

They can however accept this pull just to sync the local 550D Platform files to the "all" section, for more clarity for who, like me, will dig only into the local Platform files to make modifications  :'(
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Fauxto on May 22, 2013, 10:47:49 AM
I was thinking, isn't there a plugin that interpolates bad frames on a clip?

You know, if you just got like 6 pink frames in a ten second clip maybe there's a plugin in which you can mark those frames and the software then interpolates a brand new image from the adjacent ones.

If there's not much movement the result will get unnoticed by the accasional viewer...
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: mk11174 on May 22, 2013, 10:51:14 AM
I would like to get Raw_Rec going like it is on the 500D, I know it is not the best cam for it, but just cool to have the features just for fun. It bugs me that the older 500D can do it but the 500D can't so far. I just wish I could figure out what else the port needs to get it going, I don't know if its something in the code that still needs to be added or if it is something we can debug to figure out. I just don't understand why live view won't load when turning on TCC and MODULES. Funny how I can load the Raw module if I don't turn live view on, so I am guessing it can't be the module. Hoping someone can guide us in the right direction so we can try debugging if possible.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Atrakt on May 22, 2013, 10:59:39 AM
(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs22.postimg.org%2F54zf061pt%2FVRAM0.png&hash=a98273eda107ae96953f82137545f0d0)
Edmac work on 550D but I'm unable to compile the bin with TCC and modules, I have several error with TCC but I don't understand why.. I have Gawk installed.. So, wait and see for the moment ;)
For now, I'm going to play with the MKII and the raw feature :p
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: mk11174 on May 22, 2013, 11:16:20 AM
Edmac work on 550D but I'm unable to compile the bin with TCC and modules, I have several error with TCC but I don't understand why.. I have Gawk installed.. So, wait and see for the moment ;)
For now, I'm going to play with the MKII and the raw feature :p
I can compile when I turn on the TCC and MODULE, I am using the updated tip and setup my makefile and internal file for EDMAC, it all compiles with no errors, just warnings but same warnings I get on 500D compile and 500D raw_rec worked fine. Is there something I need to adjust somewhere else to try it since mine seems to be compiling?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Atrakt on May 22, 2013, 11:35:52 AM
What dou you mean by "I am using the updated tip" ?  ::)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: mk11174 on May 22, 2013, 11:46:21 AM
What dou you mean by "I am using the updated tip" ?  ::)
Just mean the latest changeset, sorry, the one where alex posted all the ETTL stuff.

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs16.postimg.org%2Fm31r0lqzp%2FVRAM12.png&hash=419d55fd2940c45c17411f11e9fe6fb2)

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs2.postimg.org%2Fq3f8f3415%2FVRAM0.png&hash=086f234de17532314e0b34117688be21)

See, loads module fine, but cant turn on live view or it crashes, and it does show up in other menu once loaded.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: Atrakt on May 22, 2013, 11:56:17 AM
ok, I'm using the same... weird! maybe I re try to compile it this afternoon...
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: ifkey on May 22, 2013, 12:13:25 PM
Just mean the latest changeset, sorry, the one where alex posted all the ETTL stuff.

See, loads module fine, but cant turn on live view or it crashes, and it does show up in other menu once loaded.

Please tell me where you download the ML where you can install the modules.
You got 24p on 550d?
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 22, 2013, 12:13:53 PM
Ok boys, I started a new thread for 550d raw video recording, just to keep this thread clean and only for on-topic (silent pics) : --> http://www.magiclantern.fm/forum/index.php?topic=5582.new#new

Please, lets converge all our efforts there ! Thanks !  ;)
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: mk11174 on May 22, 2013, 12:26:34 PM
Ok boys, I started a new thread for 550d raw video recording, just to keep this thread clean and only for on-topic (silent pics) : --> http://www.magiclantern.fm/forum/index.php?topic=5582.new#new

Please, lets converge all our efforts there ! Thanks !  ;)
Good idea, sorry.
Title: Re: [solved] 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 22, 2013, 12:27:18 PM
For Wolf : can  you change the prefix of this thread from [solved] to [to be corrected] or remove it ? It's misleading, so people is ported to think it has been solved, but in reality there is still a little bug (the occasional bad frames) to be solved yet. Many thanks !  ;)
Title: Re: 550D & 500D porting 14bit RAW DNG silent pics
Post by: wolf on May 22, 2013, 01:09:14 PM
Sure
You're welcome.
Title: Re: 550D & 500D porting 14bit RAW DNG silent pics
Post by: dlrpgmsvc on May 26, 2013, 01:12:18 PM
All interested into porting DNG silent pics only on 550D, please converge here -> http://www.magiclantern.fm/forum/index.php?topic=5718.new#new     ;)
Title: Re: 550D & 500D porting 14bit RAW DNG silent pics
Post by: lonestar on June 27, 2013, 06:28:45 PM
what is the max size for 500D silent pics?
Title: Re: 550D & 500D porting 14bit RAW DNG silent pics
Post by: Greg on June 30, 2013, 01:54:32 PM
what is the max size for 500D silent pics?
1590x1060, crop 1:1 2000x838
Title: Re: 550D & 500D porting 14bit RAW DNG silent pics
Post by: lonestar on July 01, 2013, 08:51:48 AM
1590x1060, crop 1:1 2000x838

Thanks, will it be possible to adjust to higher resolution, for timelapse card speed and buffer should be no problem.