Magic Lantern Forum

Using Magic Lantern => Raw Video => Topic started by: smeangol on May 18, 2013, 12:55:47 AM

Title: Raw Burst on the 50D
Post by: smeangol on May 18, 2013, 12:55:47 AM
Since the 50D got a CF Interface, it is a interesting partner for upcoming raw video :)
www.smeangol.com/autoexec.bin - NOW new with RAW Video!

To enable you need to copy [Modules]
http://www.smeangol.com/MODULES.zip
to your ML directory on your CF card -
Then go to the ML menu .. at the Top are the different categories .. like movie , debug, etc .. on the right side there will be a "M" .. go there and activate the "modules" -
Then go to the movie menu ..you will have to scroll down until you see new entries. Have fun!
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 19, 2013, 07:19:16 PM
Have you shot with it? Interested to see what the DNGs look like and how many you get
Title: Re: Raw Burst on the 50D
Post by: nanomad on May 19, 2013, 07:32:37 PM
submit a pull request or post a patch so that  I can merge your code into the main repository :)
Title: Re: Raw Burst on the 50D
Post by: a1ex on May 19, 2013, 07:39:53 PM
Patch here. Needs some cleanup, since 50D does not support display filters.


diff -r 33e2dcdef271 modules/raw_rec/Makefile
--- a/modules/raw_rec/Makefile Fri May 17 19:17:25 2013 +0300
+++ b/modules/raw_rec/Makefile Sat May 18 07:53:44 2013 +0100
@@ -6,6 +6,7 @@
MODULE_NAME=raw_rec
MODULE_OBJS=raw_rec.o

+
# include make environment
include $(TOP_DIR)/Makefile.top
include $(TOP_DIR)/Makefile.inc
diff -r 33e2dcdef271 platform/50D.109/Makefile
--- a/platform/50D.109/Makefile Fri May 17 19:17:25 2013 +0300
+++ b/platform/50D.109/Makefile Sat May 18 07:53:44 2013 +0100
@@ -63,6 +63,9 @@
beep.o \
vsync-lite.o \
afma.o \
+ raw.o \
+ chdk-dng.o \
+

#include generic rules and definitions
#TOP_DIR defined in upper Makefile
diff -r 33e2dcdef271 platform/50D.109/features.h
--- a/platform/50D.109/features.h Fri May 17 19:17:25 2013 +0300
+++ b/platform/50D.109/features.h Sat May 18 07:53:44 2013 +0100
@@ -3,6 +3,12 @@
// 50D movie hacks
#define FEATURE_MOVIE_RECORDING_50D
#define FEATURE_MOVIE_RECORDING_50D_SHUTTER_HACK
+#define FEATURE_RAW_ZEBRAS
+#define FEATURE_RAW_HISTOGRAM
+#define FEATURE_RAW_SPOTMETER
+// silent pic
+#define FEATURE_SILENT_PIC_RAW_BURST
+//#define FEATURE_SILENT_PIC_RAW  ---> Set Burst or single not both! 
//~ #define FEATURE_LVAE_EXPO_LOCK // unreliable, and we have full manual controls now

// no audio at all
diff -r 33e2dcdef271 platform/50D.109/internals.h
--- a/platform/50D.109/internals.h Fri May 17 19:17:25 2013 +0300
+++ b/platform/50D.109/internals.h Sat May 18 07:53:44 2013 +0100
@@ -113,3 +113,6 @@

/** We can record movies in regular photo modes - M, P, Tv, Av... */
#define CONFIG_NO_DEDICATED_MOVIE_MODE
+
+
+/** Here comes the sun! ... raw video .. not yet*/
diff -r 33e2dcdef271 src/raw.c
--- a/src/raw.c Fri May 17 19:17:25 2013 +0300
+++ b/src/raw.c Sat May 18 07:53:44 2013 +0100
@@ -24,7 +24,7 @@
  * To find it, call("lv_save_raw") and look for an EDMAC channel that becomes active (Debug menu)
  **/

-#if defined(CONFIG_5D2) || defined(CONFIG_600D)
+#if defined(CONFIG_5D2) || defined(CONFIG_600D) || defined(CONFIG_50D)
#define RAW_LV_EDMAC 0xC0F04508
#endif

@@ -33,6 +33,8 @@
#define RAW_LV_EDMAC 0xC0F26208
#endif

+
+
/**
  * Photo-mode raw buffer address
  * On old cameras, it can be intercepted from SDSf3 state object, right after sdsMem1toRAWcompress.
@@ -50,6 +52,10 @@
#define RAW_PHOTO_EDMAC 0xc0f04808
#endif

+#if defined(CONFIG_50D)
+#define RAW_PHOTO_EDMAC 0xc0f04A08 // definetly false, has to be found :)
+#endif
+
static uint32_t raw_buffer_photo = 0;

/* called from state-object.c, SDSf3 or SSS state */
@@ -133,6 +139,15 @@
      -975, 10000,     2039, 10000,    6148, 10000
#endif

+#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
+
struct raw_info raw_info = {
     .api_version = 1,
     .bits_per_pixel = 14,
@@ -230,6 +245,13 @@
         skip_right  = 0;
         skip_bottom = 1;
         #endif
+
+ #ifdef CONFIG_50D
+        skip_top    = 22;
+        skip_left   = 72;
+        skip_right  = 0;
+        skip_bottom = 0;
+        #endif
         
         dbg_printf("LV raw buffer: %x (%dx%d)\n", raw_info.buffer, width, height);
         dbg_printf("Skip left:%d right:%d top:%d bottom:%d\n", skip_left, skip_right, skip_top, skip_bottom);
@@ -338,6 +360,10 @@
     #ifdef CONFIG_6D
     int dynamic_ranges[] = {1143, 1139, 1122, 1087, 1044, 976, 894, 797, 683, 624, 505};
     #endif
+
+ #ifdef CONFIG_50D
+    int dynamic_ranges[] = {1140, 1106, 1051, 965, 872, 772, 679};
+    #endif

     #ifdef CONFIG_600D
     int dynamic_ranges[] = {1146, 1139, 1116, 1061, 980, 898, 806, 728};
@@ -350,6 +376,8 @@
     #ifdef CONFIG_EOSM
     int dynamic_ranges[] = {1121, 1124, 1098, 1043, 962, 892, 779, 683, 597};
     #endif
+
+

/*********************** Portable code ****************************************/

diff -r 33e2dcdef271 src/shoot.c
--- a/src/shoot.c Fri May 17 19:17:25 2013 +0300
+++ b/src/shoot.c Sat May 18 07:53:44 2013 +0100
@@ -1876,14 +1876,15 @@
         display_filter_get_buffers(&src_buf, &dst_buf);
         memset(dst_buf, 0, vram_lv.height * vram_lv.pitch);
         memset(sp_frames[0], 0, raw_info.frame_size);
-        silent_pic_display_buf = CACHEABLE(dst_buf);
-    }
-}
+        //silent_pic_display_buf = CACHEABLE(dst_buf); // deactivated for 50D testing
+    }
+}
+/* // deactivated for 50D testing
static void silent_pic_raw_update_preview()
{
     if (!silent_pic_display_buf) return;

-    /* try to preview the last completed frame; if there isn't any, use the first frame */
+    // try to preview the last completed frame; if there isn't any, use the first frame
     void* raw_buf = sp_frames[MAX(0,sp_num_frames-2) % sp_buffer_count];
     static int first_line = 0;
     int last_line;
@@ -1892,13 +1893,13 @@
     {
         last_line = RAW2LV_Y(sp_slitscan_line);
         if (first_line > last_line) first_line = BM2LV_Y(os.y0);
-        ultra_fast = 0; /* since we only refresh a few lines at a time, we can use better quality */
+        ultra_fast = 0; // since we only refresh a few lines at a time, we can use better quality
     }
     else
     {
         first_line = BM2LV_Y(os.y0);
         last_line = BM2LV_Y(os.y_max);
-        ultra_fast = 1; /* we have to refresh complete frames, so we'll sacrifice quality to gain some speed */
+        ultra_fast = 1; // we have to refresh complete frames, so we'll sacrifice quality to gain some speed
     }
     
     if (silent_pic_mode == SILENT_PIC_MODE_BEST_SHOTS)
@@ -1910,7 +1911,7 @@
     
     raw_preview_fast_ex(raw_buf, silent_pic_display_buf, first_line, last_line, ultra_fast);
}
-
+*/
static int silent_pic_raw_prepare_buffers(struct memSuite * hSuite)
{
     /* we'll look for contiguous blocks equal to raw_info.frame_size */
@@ -8261,5 +8262,4 @@
         }
     }
#endif
-}
-
+}
Title: Re: Raw Burst on the 50D
Post by: CFP on May 19, 2013, 08:43:11 PM
Quote from: Andy600 on May 19, 2013, 07:19:16 PMHave you shot with it? Interested to see what the DNGs look like and how many you get
Me too. Once raw_rec will be available for the 50D it might become the cheapest camera that can record RAW video with high resolutions.

But wait, how fast is it? Has anybody run a benchmark already? Doesn't the 50D has something like a 40 Megaybte/s write speed limit? (I am not sure where I read that ...)

Hopefully the 70D will take CF cards again ...  ;D
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 19, 2013, 08:57:29 PM
I read it's UDMA 6 - 133MB/s. Plenty fast enough and has a big buffer too
Title: Re: Raw Burst on the 50D
Post by: smeangol on May 20, 2013, 12:44:21 AM
Here you are:

www.smeangol.com/50Dsilentraw_normal.DNG - RAW taken when not zoomed in in LV (X5 X10) - 59 pics until buffer is full
www.smeangol.com/50Dsilentraw_Zoomed.DNG - RAW taken when zoomed in in LV (X5 X10) - 53 pics until buffer is full

Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 20, 2013, 01:18:28 AM
Thanks :) That's interesting. At closest file size and dimensions on my 600d (1734*1156 - 3.76mb) I'm getting just under half the amount of frames (26). This looks very promising. Are you able to benchmark your CF card?

I'm even more tempted to pick up a 50d now ::)

Title: Re: Raw Burst on the 50D
Post by: smeangol on May 20, 2013, 01:28:47 AM
QuoteAre you able to benchmark your CF card?
With RAW silent picture - the buffer is just filled up, the recording happens afterwards - so CF Card speed wont affect the number of possible frames :) The cF Card i use is really slow .. maybe 15MB/s ;-)

The 50D is some nice piece of camera ;-)   
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 20, 2013, 01:37:40 AM
It sounds great. If the maths add up there won't be much of a bottleneck and I reckon it will be matching the 5d MkII at least and possibly even better. Are you developing for it? If not maybe the devs need to get one.
Title: Re: Raw Burst on the 50D
Post by: 1% on May 20, 2013, 01:41:36 AM
Look in debug menu -> memory. What is total shoot malloc size?
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 20, 2013, 01:49:29 AM
I'll hazard a guess at 180+  ;D

Are you thinking of getting one 1%?
Title: Re: Raw Burst on the 50D
Post by: 1% on May 20, 2013, 02:45:18 AM
Last time I looked at 50D it wasn't cheap. I have 3 bodies to support now, better off making what I have better. 50D always seemed shafted for video so would be cool if its got lots of memory and can make raw like 5d3.

Would also be nice to compare memory on all cameras, I think that's somewhere.
Title: Re: Raw Burst on the 50D
Post by: ilguercio on May 20, 2013, 06:13:36 AM
I still got mine, is the raw feature in the latest nightly?
Title: Re: Raw Burst on the 50D
Post by: 1% on May 20, 2013, 08:04:30 AM
Add the patch to the tree and try it.
Title: Re: Raw Burst on the 50D
Post by: smeangol on May 20, 2013, 09:21:16 AM
QuoteLook in debug menu -> memory. What is total shoot malloc size?

220M - how much the 5Dmk2 and the 5Dmk3 got?
With the patch - it can do the raw silent single and burst thing only.
Anyone wants to continue the port?
Is there a tutorial how to port the raw_video feature?
When i want to "make" "raw_rec" i get this message:

$ make
[ CC       ]   raw_rec.o
raw_rec.c:20:20: fatal error: module.h: No such file or directory
compilation terminated.
/home/Maximilian/magic-lantern/modules/raw_rec/../../Makefile.inc:756: recipe for target `raw_rec.o' failed
make: *** [raw_rec.o] Error 1





Title: Re: Raw Burst on the 50D
Post by: tihon on May 20, 2013, 09:29:13 AM
Ok... Can it rec 24 fps 1080p?
Title: Re: Raw Burst on the 50D
Post by: cobyalon on May 20, 2013, 09:59:29 AM
sorry for the stupid question but, 50D does not have a video rec, so assuming it'll do uncompressed raw video we'd be able to watch the frames on the LV? i mean while recording..

Title: Re: Raw Burst on the 50D
Post by: smeangol on May 20, 2013, 10:10:41 AM
The 50D can shoot 1080p at 30p, thanks to ML - the features was implemented by Canon, but absent in the menu.
So the 50D got everything on board.
With FPS override you can bring it down to 24p.
Title: Re: Raw Burst on the 50D
Post by: cobyalon on May 20, 2013, 10:42:45 AM
well i have the 60D. but if the 50D shoot 1080p 24fps raw (thanks to ML of course) i definitely will pick up one :)
great work and thanks again ML team for everything you do
Title: Re: Raw Burst on the 50D
Post by: a1ex on May 20, 2013, 10:49:03 AM
According to the samples, max resolution on 50D is 1592x1062 in 1x mode and 1992x1080 in crop mode. Not bad.
Title: Re: Raw Burst on the 50D
Post by: tihon on May 20, 2013, 10:54:31 AM
Quote from: a1ex on May 20, 2013, 10:49:03 AM
According to the samples, max resolution on 50D is 1592x1062 in 1x mode and 1992x1080 in crop mode. Not bad.

50d  is 1.6 crop. with crop mode to 1992 average crop would be about x2?)

in  1992x1080 crop mode the noise would be upscaled too?
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 20, 2013, 11:02:16 AM
@A1ex - If I get one and can compile (not develop) will it give me raw video capability from the unified build? I was gonna save for a 5d mkIII but I can put that on hold and help with this... although I'm not a programmer.

Update: I guess I'm gonna have to learn a bit more. Just bit the bullet and picked one up w/battery grip and a few accesories for 200 euros. Should be here Wednesday. I thought, if nothing else, it gives me another body to play with :)
Title: Re: Raw Burst on the 50D
Post by: menoc on May 20, 2013, 06:37:30 PM
Guys, according to firmware update 1.0.9 the 50D supports UDMA 7. Correct me if I'm wrong 'cause I'm about to get a KomputerBay 64gb 1000x . . . .
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 20, 2013, 06:43:56 PM
It can use UDMA 7 cards but it's still UDMA 6. The firmware just fixed a compatibility problem with 1000x UDMA CF cards. You will still only get max UDMA 6 speed
Title: Re: Raw Burst on the 50D
Post by: menoc on May 20, 2013, 06:51:32 PM
Quote from: Andy600 on May 20, 2013, 06:43:56 PM
It can use UDMA 7 cards but it's still UDMA 6. The firmware just fixed a compatibility problem with 1000x UDMA CF cards. You will still only get max UDMA 6 speed

That'll work. As long as I can use it . . . thanks.
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 20, 2013, 07:22:23 PM
I hope it does too because I'm getting one  ::)

Is there anyone developing ML for the 50d ATM? It has silent burst DNG but not sure if it has raw video yet. Did anyone ever manage to get this record do 720p? or is 1080p 480p the only options?

update: Just saw that Coutts added the stubs for raw_rec  :) Great timing!
Title: Re: Raw Burst on the 50D
Post by: cobyalon on May 20, 2013, 08:16:05 PM
As I read UDMA 6 max speed is 133 MB/s is that true? If so, I think it might be able to shoot 1920x1080 24p...
Title: Re: Raw Burst on the 50D
Post by: CFP on May 20, 2013, 08:48:00 PM
I would also like to know how fast the 50D really is. It won't be able to write 133 Megabyte/s for sure ... But maybe something around 60 Megabyte/s?
Could anybody please run this damn card benchmark? :D

Or is it not available for the 50D?

If the 50D is faster then 40 Megabyte/s i might get one too ... And since it has only 15 MP, there should be less moire then with the other ML cameras, right?
This could really become the APS-C equivalent of the 5D Mark II ...
Title: Re: Raw Burst on the 50D
Post by: coutts on May 20, 2013, 08:59:46 PM
I've found the required stubs for the 50d for raw_rec module, pull latest commit and try it out :)
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 20, 2013, 09:01:25 PM
The sensor is read at a specific size from what I understand. A1ex mentioned earlier in this thread that the 50d is 1592x1062 in 1x mode and 1992x1080 in crop mode so 1080p should be doable in crop mode only. The 1x mode will need to be upscaled.

I think this is probably on par with the 5d MkII for write speed but as the files will be smaller it might get a little extra push in the fps dept etc but not much.

It has the same processors as the 5d MkII and likely the same CF interface. A fast UDMA 7 card should let this run at full transfer speed in the same way as a UHS-I does for SD to it's maximum but we'll see.

Not sure about the moire being any less.

It would be great if this had 720p H.264 enabled some time as a fallback. I've seen some of the 50d footage at 24fps 1080p (H.264). Not too bad. I think the 600d has the edge though slightly + audio which the 50d hasn't got ... not that any of this is relevant now  ::)
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 20, 2013, 09:02:42 PM
@Coutts - that's excellent! I will in a couple of days when my 50d arrives  :)
Title: Re: Raw Burst on the 50D
Post by: coutts on May 20, 2013, 09:04:25 PM
Quote from: Andy600 on May 20, 2013, 09:01:25 PM
The sensor is read at a specific size from what I understand. A1ex mentioned earlier in this thread that the 50d is 1592x1062 in 1x mode and 1992x1080 in crop mode so 1080p should be doable in crop mode only. The 1x mode will need to be upscaled.

I think this is probably on par with the 5d MkII for write speed but as the files will be smaller it might get a little extra push in the fps dept etc but not much.

It has the same processors as the 5d MkII and likely the same CF interface. A fast UDMA 7 card should let this run at full transfer speed in the same way as a UHS-I does for SD to it's maximum but we'll see.

Not sure about the moire being any less.

It would be great if this had 720p H.264 enabled some time as a fallback. I've seen some of the 50d footage at 24fps 1080p (H.264). Not too bad. I think the 600d has the edge though slightly + audio which the 50d hasn't got ... not that any of this is relevant now  ::)
From my testing with the 5d2 it can only do 1880x840 so the 50d should cap out somewhere around this as well (slow CF interface).
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 20, 2013, 09:09:24 PM
@coutts - What does that mean for file sizes 60-70MB/s? I can live with 1880x840.
Title: Re: Raw Burst on the 50D
Post by: CFP on May 20, 2013, 09:38:34 PM
Well if 1592 X 1062 is the max resolution of the 50D (Without crop) and it has the same write speed as the 5D Mark II ... Would be really great!

1592 X 1062 is 3:2 aspect ratio and would require ~ 72 Megabyte/s write speed ... Probably too much if even the 5D Mark II can't handle more then 67 Megabyte/s.

But who needs a 3:2 aspect ratio? :D 1592 X 895 is 16:9 and would require only ~ 60 Megabyte/s at 24 fps. That might be possible!
And could easily be upscaled to 1920 X 1080. And it wouldn't even increase the cropfactor since it would use the complete width of the image!

In 1592 X 682 (21:9 aspect ratio) even 30 fps might be possible (Would require just 57 Megabyte/s).

Or in other words: The 50D might be able to record 3 times higher resolutions then the 600D or 60D, but only costs ~ 350 € used.

If that's all true, it will be by far the coolest video camera < 1000 €! Still waiting for the bechnmark to confirm this ...  ;D
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 20, 2013, 09:51:36 PM
The downside of me getting the 50d is that I'll have to give the 600d to the wife >:(
Title: Re: Raw Burst on the 50D
Post by: CFP on May 20, 2013, 10:11:42 PM
Quote from: Andy600 on May 20, 2013, 09:51:36 PM
The downside of me getting the 50d is that I'll have to give the 600d to the wife >:(
There's always something, isn't it? ;D
But anyway, in my opinion the is 50D better then the 600D. Okay, no audio, no flipscreen. But that are the only downsides of the old DSLR, aren't they? :D

I mean, better viewfinder, metal body, two times more fps, less noise, shoulder display ... Why did I buy a 600D in the first place? ;D

But at the moment I don't have the money for a "new" camera and I don't want to sell my beloved 600D.
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 20, 2013, 10:22:27 PM
TBH I would probably have kept saving for a MkIII (although that will take me years at this rate) if it wasn't for getting a bargain price on the 50d. I still love the 600d though I've never once used the flip screen  ???... which was high on the list of why I bought it in the first place. It doesn't work with my LCD VF... oh f**k, I'll need to get a new one of those too and a fast CF :-\
Title: Re: Raw Burst on the 50D
Post by: smeangol on May 20, 2013, 10:50:18 PM
@Coutts - nice one - i was about to post that i completed the Port .. :)

If you want to use it right now - take a look on the first post and download the autoexec :)
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 20, 2013, 10:58:54 PM
@smeangol - do you have raw_rec working?
Title: Re: Raw Burst on the 50D
Post by: smeangol on May 20, 2013, 11:03:54 PM
Yes :) Check for the first post in this Thread
.. all i got here is old 4.4 MB/s CF Card :(
Title: Re: Raw Burst on the 50D
Post by: smeangol on May 20, 2013, 11:49:48 PM
www.smeangol.com/thecreepypink.dng
I think i saw something like that in another post - idea how to fix it?
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 21, 2013, 10:59:40 AM
@smeangol - Is this happening with DNG silent bursts too or only with raw rec? Have you tried the latest nightly? http://nanomad.magiclantern.fm/nightly/
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 21, 2013, 11:01:49 AM
@menoc - can you post a benchmark when you get your Komputerbay card?
Title: Re: Raw Burst on the 50D
Post by: menoc on May 21, 2013, 01:49:21 PM
A little video showing Raw DNG image from the 50D . . .


Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 21, 2013, 01:58:25 PM
@menoc - looking good! Any issues with frame tearing etc? What's the write rate reading in MB/s? Are you using the nightly unified build for this?
Title: Re: Raw Burst on the 50D
Post by: menoc on May 21, 2013, 03:41:54 PM
Quote from: Andy600 on May 21, 2013, 11:01:49 AM
@menoc - can you post a benchmark when you get your Komputerbay card?

The KomputerBay card will arrive Thursday or Friday. I'll run the test and post.

Right now I'm running the burst mode on a 32gb 600x Lexar Professional card. I didn't see any issues with tearing, but it was only about 45 frames. I'll post the card's benchmark later . . .
Title: Re: Raw Burst on the 50D
Post by: dacssfreak on May 21, 2013, 04:50:35 PM
Hi Guys,

either i'm just blind or stupid. I got v2.3.NEXT.2013May21.50D109 on my 50D running right now, but there is no raw recording in the video-menu. Is it somewhere else and i was just to stupid to locate it, or it's simply not there?

I'd appreciate your help. I really want to try it out since my 7D is not able to record raw :(

dacssfreak
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 21, 2013, 04:56:01 PM
@dacssfreak - did you load the modules?
Title: Re: Raw Burst on the 50D
Post by: dacssfreak on May 21, 2013, 05:12:21 PM
Where can i get the modules and where do i enable them?
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 21, 2013, 05:12:34 PM
Slightly OT  ::) but have any of you 50d users posted any plain old H.264 footage online. I'm getting mine tomorrow and want to see what the 1080p video quality is like compared to my 600d. I've only seen shaky footage on Youtube so I can't really tell. I presume for normal video that you would shoot in manual mode?
Title: Re: Raw Burst on the 50D
Post by: dacssfreak on May 21, 2013, 05:51:35 PM
Downloaded them, and added the two folders. Still no raw video option in my menu.
I guess i did something wrong. Maybe it helps if i tell you what i already did.

-Installed ML
-Downloaded Nomads autoexec and put it on the card
-added the MODULES folder to the CF card

Do i have to enable something on the camera itself?
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 21, 2013, 06:04:01 PM
If you have the modules folder inside your ML folder (not root directory) you should be able to go to the Modules menu and load from there. The raw rec function will be in the movie menu. If it's not there it's not yet part of the nightlys. Go to the first post in this topic and try Smeangol's .bin - it should work
Title: Re: Raw Burst on the 50D
Post by: dacssfreak on May 21, 2013, 06:27:00 PM
Okay i loaded smeagols autoexec. Im getting a result:
https://www.dropbox.com/s/mox01b8d7y0xdux/20130521_181909.jpg (https://www.dropbox.com/s/mox01b8d7y0xdux/20130521_181909.jpg)
But there is still no raw video option enabled in the movie menu
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 21, 2013, 06:32:18 PM
It looks like raw_rec hasn't yet been ported, only silent pic bursts?
Title: Re: Raw Burst on the 50D
Post by: dacssfreak on May 21, 2013, 06:41:37 PM
So how did menoc get a real movie recording on his 50D?
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 21, 2013, 06:48:35 PM
@dacssfreak - Silent pic DNG bursts by the looks of it.

@smeangol - are you trying to port raw video functions? I noticed you posted about an error. Maybe a kind dev can assist you with some advice as you seem to have got this far. @A1ex @nanomad @1% Anyone? ::)
Title: Re: Raw Burst on the 50D
Post by: dacssfreak on May 21, 2013, 09:17:53 PM
I still didnt figure out how do a silent burst. Is there somebody out there who could write a tutorial for inexperienced ML users? I think that would answer many questions in the ML community.
Title: Re: Raw Burst on the 50D
Post by: smeangol on May 21, 2013, 09:19:25 PM
my status:
I ported the video raw function on the 50D, the result is in the first Post:
To enable you need to copy [Modules]
http://www.smeangol.com/MODULES.zip
to your ML directory on your CF card -
Then go to the ML menu .. at the Top are the different categories .. like movie , debug, etc .. on the right side there will be a "M" .. go there and activate the "modules" -
Then go to the movie menu ..you will have to scroll down until you see new entries. Have fun! Should look like:

https://www.youtube.com/watch?v=UzSut7OP3RI


P.S. The Nightly build won't activate raw video (there is no "M" entry), i tried to compile the current code but then the raw video menu will freeze my 50D .. maybe is has something to do with my compiler (running windows)

P.S.S: All my raw video look like my sample :( , silent raw bust doesnt have this issue!
Title: Re: Raw Burst on the 50D
Post by: coutts on May 21, 2013, 09:24:25 PM
Quote from: Andy600 on May 21, 2013, 06:32:18 PM
It looks like raw_rec hasn't yet been ported, only silent pic bursts?
I pushed the stubs for the 50d yesterday, someone try it out
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 21, 2013, 09:29:40 PM
@smeangol - the corrupt frames could be a result of your slow card maybe? BTW thanks for your work on this  :)
Title: Re: Raw Burst on the 50D
Post by: smeangol on May 21, 2013, 09:36:19 PM
@coutts - The current nightlybuild (21May) won't activate raw video (there is no "M" entry), i tried to compile the current code but then the raw video menu will freeze my 50D .. maybe is has something to do with my compiler (running windows)

@Andy600 - could be .. my CF cards are really lame .. i am only in the hurry to stop the recording before i get skipped frames ..
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 21, 2013, 09:41:13 PM
there should be an auto stop. Is that part of raw_rec module or the main autoexec.bin?
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 21, 2013, 10:46:01 PM
@smeangol - reading @A1ex's post (patch) earlier in this topic http://www.magiclantern.fm/forum/index.php?topic=5481.msg37416#msg37416 it states that the 50d does not support display filters. Might have something to do with it?
Title: Re: Raw Burst on the 50D
Post by: Marsu42 on May 22, 2013, 12:19:23 AM
Quote from: dacssfreak on May 21, 2013, 09:17:53 PM
I still didnt figure out how do a silent burst. Is there somebody out there who could write a tutorial for inexperienced ML users? I think that would answer many questions in the ML community.

Enable it in the ml menu, go into lv, keep half shutter pressed as long as you want to keep the burst running ... on my 60d the max is 53 frames @1737x1156, I guess the limit is the size of the camera buffer (correct?).
Title: Re: Raw Burst on the 50D
Post by: sm105 on May 22, 2013, 01:41:08 AM
Could RAW burst work on the 40D since it has live view?
Title: Re: Raw Burst on the 50D
Post by: a1ex on May 22, 2013, 07:00:45 AM
The 40D has lv_save_raw inside, so it's likely to work.
Title: Re: Raw Burst on the 50D
Post by: menoc on May 22, 2013, 07:35:39 AM
Quote from: Andy600 on May 21, 2013, 11:01:49 AM
@menoc - can you post a benchmark when you get your Komputerbay card?

Thought you might want to see the benchmarks for the cf card I'm currently using

Lexmark Professional 32GB 600x UDMA

(https://www.dropbox.com/s/uur9e0ee1pa4ndv/TEST.BMP?v=1rc-s)

https://www.dropbox.com/s/uur9e0ee1pa4ndv/TEST.BMP?v=1rc-s (https://www.dropbox.com/s/uur9e0ee1pa4ndv/TEST.BMP?v=1rc-s)
Title: Re: Raw Burst on the 50D
Post by: coutts on May 22, 2013, 02:36:12 PM
Quote from: a1ex on May 22, 2013, 07:00:45 AM
The 40D has lv_save_raw inside, so it's likely to work.
Cool - I'll get to work finding the edmac stubs now.
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 22, 2013, 02:44:30 PM
Shall I start an official topic for the 40d/50d port?

It's great that @Smeangol has reached a certain point but he is having a few issues with raw_rec and could use a few pointers (see his previous replies). I'm getting my head around the basics of compiling but I can't code so it would be great and very much appreciated if any developers are willing to spend a little time helping out with these camera bodies as they have a lot of potential for raw video.
Title: Re: Raw Burst on the 50D
Post by: ilex on May 22, 2013, 03:51:15 PM
It could unify the threads RAW video and ML for 40D?

The thread: http://www.magiclantern.fm/forum/index.php?topic=1452.0 is stopped for more than one month.
Title: Re: Raw Burst on the 50D
Post by: menoc on May 22, 2013, 04:51:17 PM
Why isn't dropbox working with Insert Image?

https://www.dropbox.com/s/uur9e0ee1pa4ndv/TEST.BMP?v=1rc-s
Title: Re: Raw Burst on the 50D
Post by: CFP on May 22, 2013, 04:57:18 PM
Niiice benchmark!!! So the 50D really is a cheap 5D Mark II  :D

Which card was that?
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 22, 2013, 05:01:09 PM
@menoc - Thanks :) That's not too bad at all. I'll be amazed if the Komputerbay card goes much higher. Just doing the math and I reckon a fast CF will handle full sensor raw video from the 50d, maybe even in crop mode if the card and controller can get to 90MB/s.

BTW I've started a thread for raw video on the 40d and 50d: http://www.magiclantern.fm/forum/index.php?topic=5586.msg38778;topicseen#msg38778
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 22, 2013, 05:05:28 PM
@CFP - the CF speed certainly is a match but not the sensor unfortunately. It will still probably beat most rebels though. Itching to find out tonight :)
Title: Re: Raw Burst on the 50D
Post by: menoc on May 22, 2013, 05:08:28 PM
Quote from: CFP on May 22, 2013, 04:57:18 PM
Niiice benchmark!!! So the 50D really is a cheap 5D Mark II  :D

Which card was that?

Lexar Professional 32GB 600x UDMA
Title: Re: Raw Burst on the 50D
Post by: smeangol on May 23, 2013, 03:12:19 AM
Raw Video without pink tearing!
Use the module and the autoexec from the first post! Njoy!
@Alex: Thank you for the advice

Now do me a favour and tell me how the 50D performance with some fast cards :)

Not zoomed in LV works like a charm ~ 1500X 1000 / Zoomed in LV does its nice 1920 X 1080 RAW - however every now and then there are some distorted frames (every 1,5 sec) - lets see what we can do ..
Title: Re: Raw Burst on the 50D
Post by: pbr on May 24, 2013, 05:18:30 PM
Hi everyone,
  forgive the ignorance; i'm new to the forum and have been reading some of the 50D posts on the subject of raw video recording.

  I have a question:  in your esteemed opinions, for someone who wants to upgrade their Xsi and is interested super- high def video (but has little $$) the 50D is looks to be a better option than the t3i, yes?
Thanks for any opinions
Title: Re: Raw Burst on the 50D
Post by: krashnik on May 24, 2013, 05:51:10 PM
Quote from: Andy600 on May 21, 2013, 05:12:34 PM
Slightly OT  ::) but have any of you 50d users posted any plain old H.264 footage online. I'm getting mine tomorrow and want to see what the 1080p video quality is like compared to my 600d. I've only seen shaky footage on Youtube so I can't really tell. I presume for normal video that you would shoot in manual mode?

You can see quite a bit of 50D video footage here: http://youtube.com/krashnik (http://youtube.com/krashnik)

I've shot over 100 videos with my 50D + T2i + T3i combo.  Looking forward to getting RAW on the 50D.  The quality on it is great in 1080p & it always has the best image of the 3 cameras, hands down. 

I was planning on upgrading to 6D, but if RAW works, I'll donate a bit here & use the money for lenses.  I can also see myself trading in my t2i & t3i for another 50D or two.
Title: Re: Raw Burst on the 50D
Post by: CFP on May 24, 2013, 05:51:50 PM
The Canon EOS 600D has a maximal write speed of 21 Megabyte/s.
The Canon EOS 50D seems to have a maximal write speed of ~ 70 Megabyte/s.

EDIT: I just saw that the 50D can reach up to 90 Megabyte/s write speed with a really fast card - Impressive!

The EOS 600D has 104 Megabyte buffer.
The EOS 50D has 220 Megabyte buffer.

Both have the same DiG!C 4 processor ...

I would get a 50D ... :D
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 24, 2013, 05:54:08 PM
Thanks @krashnik :)

I got one http://www.magiclantern.fm/forum/index.php?topic=5586.0

I just posted something on EOSHD too: http://www.eoshd.com/comments/topic/2790-magic-lantern-5d-mark-iii-raw-video-and-camera-reliability/
Title: Re: Raw Burst on the 50D
Post by: pbr on May 24, 2013, 06:22:26 PM
Great, thanks for the replies!
Title: Re: Raw Burst on the 50D
Post by: dacssfreak on May 25, 2013, 09:36:04 PM
Okay guys,

i'm a bit confused by the information which some of you guys posted earlier. I just recieved my Transcend 16GB 1000x Card. It performs excellent on my Transcend USB3 Card reader. Its writing with about 90 MB/s and Reading with about 120 MB/s (tested with ATTO).
When i pop the card into my 50D it performs like CRAP. Seriously ... It can barely reach 25 MB/s in the ML benchmark. I have noo idea whats wrong with the card or my 50D. Did anybody already test 1000x cards in the 50D? Im slightly disappointed because my 400x card already gave me 19 MB/s.

Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 25, 2013, 09:38:08 PM
Check you have the latest firmware (1.0.9). It was a fix for newer CF cards :)
Title: Re: Raw Burst on the 50D
Post by: dacssfreak on May 25, 2013, 10:18:59 PM
Hey Andy,

im already on 1.0.9. Installing ML would've not been possible if i wasn't already working on 1.0.9

There has to be another problem with the camera. Did anybody else encounter such a problem?

Cheers
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 25, 2013, 10:27:16 PM
Maybe try formatting it differently. Format in-camera and try also formatting in your computer if you haven't already. UDMA7 cards do work, Menoc has the Komputerbay 1000x card and that's UDMA7. You could also try re-installing the 1.0.9 firmware. That's all I can think of atm  :-\
Title: Re: Raw Burst on the 50D
Post by: JulianH on May 25, 2013, 11:00:22 PM
I'm using a 90MB/s UDMA7 Sandisk 32GB Extreme Pro, getting reliable recordings up to about 50MB/s on the 50D.

In a USB3 reader I get higher scores, so I think the camera is limiting it, but it would make sense for you to get better scores...
Title: Re: Raw Burst on the 50D
Post by: moomilk on May 26, 2013, 12:13:46 AM
Just got the 50D and having thoughts on the faster CF cards again, I saw a post here some time ago saying:
"The Canon EOS 50D seems to have a maximal write speed of ~ 70 Megabyte/s."
Is that really true and getting a faster card won't give any results and there is no sense trying? I was not entirely following the 5D markII thread, what exactly is causing the write speed drop while using LV?
Think the 50D and 5DmkII CF controller speeds should be pretty much the same with theoretical peak at 133Mb/s - UDMA6 max specs, so is there a chance for 50d to have desirable 100-120Mb\s write speeds in real world situation with fastest 1000x CF cards like Transcend (~120Mb/s) or it will be still capped under 70Mb/s?
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 26, 2013, 12:18:58 AM
http://www.magiclantern.fm/forum/index.php?topic=5586.msg40110#msg40110
Title: Re: Raw Burst on the 50D
Post by: moomilk on May 26, 2013, 12:53:03 AM
Quote from: Andy600 on May 26, 2013, 12:18:58 AM
http://www.magiclantern.fm/forum/index.php?topic=5586.msg40110#msg40110
Yeah, thanks, but the thing is menoc's bench is made in playback mode, not LV. Although it is nice to know that the controller is able to go pretty far, I assume with faster cards it should be able to do around 120Mb\s in fact. Just thought if LV is limiting the write speeds so much, maybe it will be also worth making a RAW video mode not involving the LV at all, for videos with static camera postion that could mean a higher res possibilities.
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 26, 2013, 01:30:16 AM
@dacssfreak - This might shed some light on it. 5d3 users have had a similar problem: http://www.magiclantern.fm/forum/index.php?topic=5563.msg40553;topicseen#msg40553

It looks like it needs fixing @smeangol?
Title: Re: Raw Burst on the 50D
Post by: ulf on May 26, 2013, 04:34:13 PM
With the autoexec.bin and the module from post #1 raw video is working on my 50d (with magenta tint; and my cf card is too slow, ordered a new one).

But I can't find silent pics anymore in the menu. I wanted to try dng burst mode. Is this feature currently missing?

Thanks

Title: Re: Raw Burst on the 50D
Post by: tihon on May 26, 2013, 05:45:50 PM
Quote from: moomilk on May 26, 2013, 12:13:46 AM

"The Canon EOS 50D seems to have a maximal write speed of ~ 70 Megabyte/s."


Tha is gonna be cool! So we can get 1920 px or a little less in 1:1 mode! Wich is 4x crop from ff. Sigma 20mm f1.8 can become to 80mm with a  nice cinematic fov wide open apperture in low light
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 26, 2013, 05:54:25 PM
re: CF speeds - The 50d should be able to do exactly the same write speed as the 5d2. I need to re-find the tech manual I saw a few weeks ago but it's the same chipset. I read somewhere on here that the 5d2 was able to write up to @ 88MB/s and that's good news for the 50d because file sizes are smaller. We might just be able to get the full 1:1 crop at continuous speeds but it needs a lot of work to get there. (don't quote me on that though :D)
Title: Re: Raw Burst on the 50D
Post by: tihon on May 26, 2013, 06:09:00 PM
Quote from: Andy600 on May 26, 2013, 05:54:25 PM
re: CF speeds - The 50d should be able to do exactly the same write speed as the 5d2. I need to re-find the tech manual I saw a few weeks ago but it's the same chipset. I read somewhere on here that the 5d2 was able to write up to @ 88MB/s and that's good news for the 50d because file sizes are smaller. We might just be able to get the full 1:1 crop at continuous speeds but it needs a lot of work to get there. (don't quote me on that though :D)

Thanks! Nice to hear that! Do you think that in 1:1 1080p mode the image quality  will be be the same?

P.S: if 14to12bit will work, probably we can shoot 30 fps!)
Title: Re: Raw Burst on the 50D
Post by: Andy600 on May 26, 2013, 06:11:15 PM
Slightly softer but clean and easy to sharpen in post. Your glass will be the key to how sharp you can go.