Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - GregoryOfManhattan

#151
Tragic Lantern / Re: Raw video on 50d and 40d
May 29, 2013, 10:08:39 PM
@JulianH if footage is looking good, we will need a few more 50D testers to review build.
#152
Tragic Lantern / Re: Raw video on 50d and 40d
May 29, 2013, 07:29:11 PM
had a chance to test a little bit more the unified merge build and see that it records well up to around 1437 frame - 60 seconds.
this merged code can record with graphics overlay enabled at a wide variety of bit rates, just crashes if recording goes past 60 seconds.

the interface is different now and to record,
-live view on
-modules enable raw_rec
-frame rate 24
-Raw Rec - turn off sound adjust width and aspect ratio as desired
- hit live view
- half press shutter to start a regular video (may not be required)
-stop regular video
- now hit live view again to record raw
- turn off before frame 1437 or the camera crashes.

http://pic.twitter.com/rrxmC8OupA
#153
Tragic Lantern / Re: Raw video on 50d and 40d
May 29, 2013, 03:59:35 PM
code notes on src/raw.c - posting these so the community can confirm values
@Smeangol - great job figuring this out, getting the values and adjusting the code to make it possible to try .raw on 50D

there are 6 conditionals for each camera type.
Smeangol has inserted values for 5 of these 6 - leaving out the QR_mode (only needed for playback i think).

the comment on the color matrix is "CONFIG_50D // not found yet"
are these values are correct ?


1. LiveView raw buffer address
same as 5D2
#if defined(CONFIG_5D2) || defined(CONFIG_50D)
#define RAW_LV_EDMAC 0xC0F04508

2. Photo-mode raw buffer address
same as 5D2
#define RAW_PHOTO_EDMAC 0xc0f04A08

3. Color matrix should be copied from DCRAW.
#ifdef CONFIG_50D // not found yet
    //~{ "Canon EOS 50D", 0, 0x3d93,
   //~{ 4920,616,-593,-6493,13964,2784,-1774,3178,7005 } },
    #define CAM_COLORMATRIX1                       \
     4920, 10000,      616, 10000,    -593, 10000, \
    -6493, 10000,    12964, 10000,    2784, 10000, \
    -1774, 10000,     3178, 10000,    7005, 10000
#endif

4. raw_update_params - adjust EDMAC RAW file sizes for each camera which have "unused areas, usually black"
#ifdef CONFIG_50D
skip_top    = 22;
skip_left   = 72;
skip_right  = 0;
skip_bottom = 0;
#endif

5. (QR_MODE) // image review after taking pics-  Raw buffer size for photos (using FFT to guess the period of the image stream.)
/*        #if defined(CONFIG_50D) NEED Raw dump to get correct values
        width = 5344;
        height = 3516;
        skip_left = 142;
        skip_right = 0;
        skip_top = 50;
        #endif */

6. Dynamic range, from DxO
#ifdef CONFIG_50D
int dynamic_ranges[] = {1140, 1106, 1051, 965, 872, 772, 679};
#endif
#154
Tragic Lantern / Re: Raw video on 50d and 40d
May 29, 2013, 03:42:39 PM
@Andy600 yes agree very early and experimental

@JulianH with the 2013May23 build - i'm getting crashes or lock ups on 3 out of 4 takes. the good news is that most of the .raw files can be processed. this is on a lexar 1000x 32G card - at various resolutions and resulting bit rates 1592x720, 1592x540, 1320x720
like your anamorphic video - do you reset the camera pull battery after every shot?
#155
Tragic Lantern / Re: Raw video on 50d and 40d
May 29, 2013, 01:05:52 PM
@KahL what i have is less stable than currently available.




#156
Tragic Lantern / Re: Raw video on 50d and 40d
May 29, 2013, 06:32:05 AM
have merged a set of edits to enable 50D to record raw video with today's commits 7183:8ba641e4a5ef
hoping to get more stability than i experienced with the build in Post#2 of this thread.
with that autoexec.bin and modules, i can hit 4GB limit, but have frequent crashes.

with the latest code, there are now many more resolution options combined with aspect ratio selection.

in tests with the latest unified code, i can get hundreds of frames at the 1592x896 (57 MB/s) on komputerbay 64G card

adjusting resolution down to less than 50 MB/s , 40 or even 30 and i'm still not hitting the 4GB limit -
seems to stop a little past 1400 frames the tests i've made and ML crashes the resulting files yield Error: This ain't a lv_rec RAW file

stopping recording before 1400 frames works at the moment and the raw files can be processed.

fun to be able to edit and install software on your camera.

in terms of code modifications, in modules/raw_rec/raw_rec.c 
don't know the coding convention in magic lantern to handle the case of the 50D, where there is no audio, in module code - so just deleted the if (sound_rec == 1) sections since i was getting an undefined symbol on  WAV_StartRecord


#157
Tragic Lantern / Re: Raw video on 50d and 40d
May 27, 2013, 11:08:44 PM
hi all - first post - thank you for efforts and information.
just installed ml 50D from this thread - crashing @1592x720 with lexar 1000x 32G
will turn off all overlays, switch to jpg for photo, and let you know.

Andy600 and Smeangol,
are the autoexec.bin and modules linked on the 2nd post to smeangol.com/ still the best to use for the 50D?
i see the fork https://bitbucket.org/smeangol/smeangols-sneaky-magic-lantern/commits/all with commits on 25.05.2013
the files in the Modules folder were compiled 18-23.
is there another fork or more recent code i could (should) try?