Magic Lantern Forum

Using Magic Lantern => Raw Video => Topic started by: GregoryOfManhattan on June 17, 2013, 01:53:22 AM

Title: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 17, 2013, 01:53:22 AM
This topic is for discussing specific 50D builds for raw video. A build is a specific set of collection of compiled code and modules packed up into a zip file.  Raw video is under active development and the behavior of various features and functions is rapidly evolving.
Update 26 June 2013 - there is a new "Small Hacks" feature in the raw_rec module.  in the Raw Rec Detail Menu enable Small Hacks.  50D builds hit 81MB/s for hundreds or more frames at 1920x1080 in crop/zoom mode only. The goal is 83/84 MB/s as this would permit continuous 1080p24 recording. 

Latest builds:
pick the most recent from the download locations below:

based on hudson/unified, the main branch for all cameras from the code in: bitbucket.org/hudson/magic-lantern: https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/ (https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/) sporadic builds from me until 9 July 2013 as i will have limited internet access.

1% is posting tragic lantern the latest high speed builds to
https://bitbucket.org/OtherOnePercent/tragic-lantern-6d/downloads (https://bitbucket.org/OtherOnePercent/tragic-lantern-6d/downloads)
these could contain advanced settings so be prepared and have fun.

Andy600 is producing hybrid builds for testing some new code based on tragic lantern and unified
https://bitbucket.org/andy600/andy50d/downloads/ (https://bitbucket.org/andy600/andy50d/downloads/)
read thread posts for notes on specific test builds.

Users / testers: please include the build file name when reporting results bugs.
for a good example of a detailed bug report which led to a resolved issue, please look at http://www.magiclantern.fm/forum/index.php?topic=6976 and note the care with which user @platu describes exactly how to reproduce the error.  a1ex directs people to http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

If you are a new user, go through the guides.
RAW video & ML -- Beginners Guide, FAQ & Useful Links -- READ FIRST
http://www.magiclantern.fm/forum/index.php?topic=5520.0

PostProcessing -- Beginners Guide
http://www.magiclantern.fm/forum/index.php?topic=5654.0

General discussion of  Raw video on 50d and 40d  is on the thread http://www.magiclantern.fm/forum/index.php?topic=5586.0
For the super speed builds from Andy600 and 1% please be sure to read the latest information.

Build your own
If anyone wants to build hudson/unified 50D releases and add them to this thread or otherwise share them with your friends, please go ahead.
Title: Re: 50D - 14bit raw video builds and test results
Post by: JulianH on June 17, 2013, 01:55:00 AM
I will post my experiences with new builds here.
Latest build I've been using is ml-2013Jun16.50D.109.go.unified.b93d6ae2b30d. Will report back on it soon.
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 17, 2013, 02:03:13 AM
many features added today for the 50D have posted 2 builds.

https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/ml-2013Jun16.50D.109.go.unified.15694a53cfa3.zip (https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/ml-2013Jun16.50D.109.go.unified.15694a53cfa3.zip)
a1ex:
Quoteraw_rec: quick'n'dirty hack for fixing pink preview in x5 zoom on 5D2 and 50D. Image quality should not be affected.

the earlier build has been tested with one report of stable 71MB/s with Graphics Draw (GD) off.
https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/ml-2013Jun16.50D.109.go.unified.b93d6ae2b30d.zip (https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/ml-2013Jun16.50D.109.go.unified.b93d6ae2b30d.zip)
includes modules: raw_rec and ettr

includes a1ex's edit today for:
etter
frame alignment on 4:3 screens - hey that could help the 50D
removed "Memory Hack" only known to work on 5D3 and 6D
and potential help for pink frames
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 17, 2013, 02:20:33 AM
ml-2013Jun16.50D.109.go.unified.15694a53cfa3

In movie mode ETTR is not working correctly if Exposure Override is enabled. ISO is locked at 3200eq (Auto ETTR works OK in photo mode but raw photos must be selected in Canon menu)

re: raw_rec 'quick 'n' dirty' hack - Preview is fixed but now records pink frames (previously I had no pink frames)

1% has reported 'force left' (in raw_rec) is broken

I compiled a build to test this: In platform/50D.109/features.h I enabled 'FEATURE_LV_FOCUS_BOX_SNAP_TO_X5_RAW //compiles but not tested' It works OK on the 50d. Press joystick when in 5x zoom to correctly center the crop (no more off-center 1:1 shots  :))

I'm not sure how to push my commits to Bitbucket  :-\


Fixed
Title: Re: 50D - 14bit raw video builds and test results
Post by: KahL on June 17, 2013, 02:32:08 AM
Quote from: Andy600 on June 17, 2013, 02:20:33 AM
ml-2013Jun16.50D.109.go.unified.15694a53cfa3

In movie mode ETTR is not working correctly if Exposure Override is enabled. ISO is locked at 3200eq (Auto ETTR works OK in photo mode but raw must be selected)

re: raw_rec 'quick 'n' dirty' hack - Preview is fixed but now records pink frames (previously I had no pink frames)

1% has reported 'force left' (in raw_rec) is broken

I compiled a build to test this: In platform/50D.109/features.h I enabled 'FEATURE_LV_FOCUS_BOX_SNAP_TO_X5_RAW //compiles but not tested' It works OK on the 50d. Press joystick when in 5x zoom to correctly center the crop (no more off-center 1:1 shots  :))

I'm not sure how to push my commits to Bitbucket  :-\

Seeing same ISO issues as well. It's locked at a high ISO regardless of how I change it.
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 17, 2013, 04:20:42 AM
Ha, I have a different issue... it won't use iso 3200 or any higher. Stops at iso 1600. But for overexposed its lowering things correctly.
Title: Re: 50D - 14bit raw video builds and test results
Post by: a1ex on June 17, 2013, 09:37:49 AM
records pink frames: solved (I've expected you to notice that black level from raw footer was wrong).

ETTR: no idea, it's working on 5D2 with expo override, photo, movie, P, Tv, Av, M.

force left: did it ever work?
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 17, 2013, 01:10:52 PM
Quote from: a1ex on June 17, 2013, 09:37:49 AM
records pink frames: solved (I've expected you to notice that black level from raw footer was wrong).

ETTR: no idea, it's working on 5D2 with expo override, photo, movie, P, Tv, Av, M.


Confirmed 50d:

No more pink frames and zoom preview working :)

ETTR - only works with exp override OFF (strange how it's ok on the 5d2). Still looking through the code but TBH I don't know what I'm looking for  :-\
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 17, 2013, 02:05:34 PM
It mostly works for me but not as nice as on other cameras.
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 17, 2013, 02:38:00 PM

latest build:
https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/ml-2013Jun17.50D.109.go.unified.f4a7ab821357.zip

more fixes for the 50D
raw_rec: 5D2/50D: grayscale is better than pink, right?
raw_rec: force left not working on 5D2/50D/500D
raw_rec: fix black level autodetection (especially for 5D2/50D zoom mode)

a1ex - thanks - black levels off in the zoom because we didn't call raw_set_dirty ? they were computed on the pink version?
Title: Re: 50D - 14bit raw video builds and test results
Post by: a1ex on June 17, 2013, 02:42:44 PM
Yes, black level is normally refreshed once per second (to save CPU time).
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 17, 2013, 03:09:50 PM
@GregoryOfManhatten - I think you should include bolt_rec in your builds. Seems stable enough :)

You probably already know this but the new modules compilation fix works but rename Makefile.modules.default to Makefile.modules.user and include modules in ML_MODULES_DYNAMIC ?= (if you leave the default the user one is ignored)
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 17, 2013, 03:14:23 PM
I posted what I have so far, I dunno if the graphics play nice with GD on, but GD off I get more speed, also hacked no preview doesn't correctly work but for some reason starts off faster from the get go.
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 17, 2013, 03:17:52 PM
Quote from: 1% on June 17, 2013, 03:14:23 PM
I posted what I have so far, I dunno if the graphics play nice with GD on, but GD off I get more speed, also hacked no preview doesn't correctly work but for some reason starts off faster from the get go.

aha, you're hiding them in your 6d fork  ;D

UPDATE: wow, record continuous at 1584x950 on 600x card GD off. Had a couple of corrupt/glitchy frames (not had any before TBH but also wasn't able to record past 2gb at that res either). Hope the ETTR.Exp OR bug can be fixed. Turned off Exp Override for now
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 17, 2013, 03:38:13 PM
Quote from: Andy600 on June 17, 2013, 03:09:50 PM
@GregoryOfManhatten - I think you should include bolt_rec in your builds. Seems stable enough :)

You probably already know this but the new modules compilation fix works but rename Makefile.modules.default to Makefile.modules.user and include modules in ML_MODULES_DYNAMIC ?= (if you leave the default the user one is ignored)
yes - someone requests bolt_rec - i had it in my camera last week when we had a few storms here, easy to include.

will try the new module make later - didn't work for me a couple of days ago, so i have a shell script go through the module dir's individually.
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 17, 2013, 03:46:05 PM
Quote from: 1% on June 17, 2013, 03:14:23 PM
I posted what I have so far, I dunno if the graphics play nice with GD on, but GD off I get more speed, also hacked no preview doesn't correctly work but for some reason starts off faster from the get go.
just a few more MB/s could make the EU anamorphs very happy as they'd be able to shoot 1584x1080 at 25 fps.
right now we are almost there with stable 70-71MB/s need a little more overhead to get consistent takes of any length.
in crop mode 1920x880 is close to this limit as well. 1920x1080 seems a bridge too far.
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 17, 2013, 03:58:13 PM
QuoteHope the ETTR.Exp OR bug can be fixed. Turned off Exp Override for now

Ettr is semi working for me.. did you try it. I always have to use expo override and fps. I set different "real" frame rates and it crashes out the movie size calculator.

Quote1584x1080 at 25 fps.

For more speed.

*sucessfuly kill the edmacs (permanently)
*figure out force left
*resize LV to 640x480 hd buffer at idle. 50D has same issue as EOSM, 1 mode. Maybe trace will help here. Should also eliminate more random corruption.

I have to check whats up with frame corruption, I didn't see any but I'm just viewing the video back in camera. Nothing from my house is worth storing.
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 17, 2013, 04:06:51 PM
@1% - Yes, I have ETTR on. ISO sticks at 3200 with Exp Override on same as before. Tried with FPS override off and other settings on/off, ND filters etc but nothing changes. ETTR was working great (I think) with Exp Override until a couple of says ago  ???
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 17, 2013, 04:12:21 PM
Thats weird because I tested and its working here. I point it outside and it goes down to ISO 100 and speeds the shutter up.
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 17, 2013, 04:34:55 PM
Quote from: 1% on June 17, 2013, 04:12:21 PM
Thats weird because I tested and its working here. I point it outside and it goes down to ISO 100 and speeds the shutter up.

Shutter does seem to change but can't get it below ISO 3200. Tried resetting all config files, different modes (Av,TV,M,P etc) in movie and photo mode but the only thing that lets me change ISO (if ETTR is enabled) is switching Exp Override OFF.

I'm using only manual lenses if that's any help?

Also max frame width (normal scaling) seems to have changed from 1584 to 1536? Is this right? Maybe because of the 4:3 update a1ex posted? I don't know why but 1584x950 looked great and seemed to help with moire/aliasing though that might just be me?
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 18, 2013, 12:12:19 AM
@a1ex - I've been back over the changesets and compiled until I found the one where the ETTR/ISO/Exp Override issue arises. It's this one: 7fcfcc58f226 (it was a fix for a T3i a couple of days ago). I can't fix it because I don't know how.
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 18, 2013, 02:16:06 AM
Heh, I'll try a manual lens and see what happens.

No difference, still works like before... up to iso 1600

So gradual expo works, better with calculated BV vs real bv. Shutter fine tuning doesn't. It doesn't sync to screens like on other cameras, whole screen flashes :(

HDR works too by flipping frame_iso.

Also there is a bug in movie mode.. ML turns the shutter to 0 an locks up since canon lets you chose whatever shutter in "movie" mode on the 50D.

Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 18, 2013, 11:37:22 AM
Upload a new build that fixes ETTR, ISO and Exposure Override issues that I was experiencing with manual lenses (thanks a1ex :) ):

https://bitbucket.org/andy600/andy50d/downloads/Andy600ML_June18th_50D.109.a43e030494e4_fix_UNIFIED.zip

This works and is up to date :)
Title: Re: 50D - 14bit raw video builds and test results
Post by: NedB on June 18, 2013, 12:50:54 PM
I believe "Force Left" is also NOT working on the 550D. I've tried it on three separate occasions, and each time the result is a .RAW file filled with garbage frames (looks as if it's an issue like "vsync"...there is obviously some image material there, but it is not synced to the frame width and/or height. FYI!
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 18, 2013, 01:50:44 PM
Quote from: NedB on June 18, 2013, 12:50:54 PM
I believe "Force Left" is also NOT working on the 550D. I've tried it on three separate occasions, and each time the result is a .RAW file filled with garbage frames (looks as if it's an issue like "vsync"...there is obviously some image material there, but it is not synced to the frame width and/or height. FYI!

Force left and dolly are not working correctly in 50D/500D/5DMkII. Avoid using ATM

I have enabled snap to 5x center to help with framing in crop mode.

https://bitbucket.org/andy600/andy50d/downloads/Andy600ML_June18th_50D.109.d55f33a1d395_Snap_to_5x_center.zip

Select it in the zoom box settings menu. Press Q (joystick) when in 5x zoom. Framing should jump to the approximate center and show the recordable area of the sensor. You will probably need to move the camera to reframe your shot.

note: you might only see 5 buffer starts compared to 6 in the previous build but speed seems to be the same.

Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 18, 2013, 02:13:20 PM
sounds good - exposure override working for manual focus lenses. what happens with a manual focus lens with a dandelion type chip?

new build from later in the day

https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/ml-2013Jun18.50D.109.go.unified.d55f33a1d395.zip

https://bitbucket.org/hudson/magic-lantern/commits/d55f33a1d3956affce79f542b55ec5af7e2a6ffa
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 18, 2013, 02:26:38 PM
Chipped adapters/lenses will show their default aperture. Mine defaults to f1.4 but it doesn't affect how auto ETTR works. i.e. it works the same for chipped and non-chipped lenses.

BTW I just added some frame settings from 1% to consts.h and got 6 stars back :) (it dropped to 5 when I added 'snap to 5x center' for some reason). All seems to be working well  8)
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 18, 2013, 02:58:28 PM
i've committed the FEATURE_LV_FOCUS_BOX_SNAP_TO_X5_RAW change - found that by comparing the 50D features to its digic iv cousin camera the 5D2 - you've confirmed it working, so lets get it into unified branch

also in 5D2 is #define FEATURE_LV_BUTTON_PROTECT // works even without the Q menu present
which doesn't compile cleanly unless we get the correct values for
//~ #define BGMT_Q 0xE
//~ #define BGMT_Q_ALT 0xE
(or see more of how this works for the 5D2.212 )

do you or 1% have that code somewhere visible on the net?
if you are getting values for constants from a legitimate dump of the firmware, they should be fine.
again comparing with the 5D2.212/constants, we see that
50D.109 is missing the HIJACKs and it looks like many of the already commented out YUV422_HD_ lines should be deleted as the constants are not used elsewhere in the code.

RE 6 star vs. 5 star - is stable recording speed a better metric than counting stars? of course loosing a buffer (if its really lost and not a display glitch) would be expected to decrease maximum stable recording speed.

absent deeper knowledge of magic lantern, i'd continue to compare 50D.109 with 5D2.212 to see what is different in the code.  the .h files are the lowest hanging fruit because adding correct values for constants should simple enable other parts of the magic lantern code.

can we find anything else which should be enabled.
and what about QR_MODE - we still need the correct values in src/raw.c

Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 18, 2013, 04:11:33 PM
QR mode values are easy.. just take a raw pic and look at meta data.

Code is up in the 6D repo. A1ex said that iso might still be int16, even though it doesn't look like it when read as int 16, I'll try both ways.

To find values for that I'd use event spy. I think middle click on the joystick is q?

Buffer is just buffer, 5 vs 6 doesn't make much diffference..  but I was getting a 29MB block before and now I'm not so I wonder what in the canon menu produces it.

"q" press looks to be 1E, release is 15. Same in play mode. 15 seems generated by more than 1 button, don't use it so much.

The commented out stuff looks to be from the old method of guessing hd/lv size not using the registers, I'd just leave as a reference... don't comment out the HD/lv buffer addresses.
Title: Re: 50D - 14bit raw video builds and test results
Post by: KahL on June 18, 2013, 05:40:01 PM
Quote from: Andy600 on June 18, 2013, 11:37:22 AM
Upload a new build that fixes ETTR, ISO and Exposure Override issues that I was experiencing with manual lenses (thanks a1ex :) ):

https://bitbucket.org/andy600/andy50d/downloads/Andy600ML_June18th_50D.109.a43e030494e4_fix_UNIFIED.zip

This works and is up to date :)

Awesome sauce. Just tested this build and the two crucial functions that I needed are now added. Having the SET button to record, just the same was as it would for h264 video, and now finally it saves the RAW enabled function without my having to turn it on every time the camera goes to sleep or gets shut off.
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 18, 2013, 05:54:46 PM
Quote from: KahL on June 18, 2013, 05:40:01 PM
Awesome sauce. Just tested this build and the two crucial functions that I needed are now added. Having the SET button to record, just the same was as it would for h264 video, and now finally it saves the RAW enabled function without my having to turn it on every time the camera goes to sleep or gets shut off.

Outdated - Here's one with all that and some bug fixes plus 5x crop snap to center ;)

https://bitbucket.org/andy600/andy50d/downloads/Andy600ML_June18th_50D.109.d55f33a1d395_Snap_to_5x_center.zip
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 19, 2013, 04:28:08 PM
I've uploaded 2 raw modules for testing purposes to my repo. (50D ONLY. May or may not work on other cameras)

The first (fast_raw) is 1%'s code and features extended functions: Global Draw can be disabled when hitting record (so no having to do it manually) and you can also delay the start of recording by 2, 4 or 10 seconds. 1% built the module based on multiples of 512. This method of calculation, to the best of my understanding,  reduces the load on the CPU as it keeps frame dimensions rounded-up to multiples of 16 meaning the CPU doesn't have so much math to process. The upside is that you should get faster write speeds = more/larger frames. The downside is max frame width in normal mode is reduced from 1584 to 1534 (i.e. 512x3 = 1534). This is probably more beneficial for slower cards and for achieving more frames in 5x crop mode.

The second (andy_raw) is basically the same as the first but uses the current method allowing for full 1584/2000px width recordings. (BTW, the name  ::) is just so I can identify it ATM. I'll change it to something else later)

Tip: both modules can co-exist but be sure to only have one enabled at any one time. To use, just drop them into your MODULES folder. Check they are loaded in the modules menu.

Tip: You can enable modules to individually, automatically load on boot. Select a module (modules menu), press Q (press joystick), SET - ON/OFF ;)

Tip: I'm getting fast write speeds when SRAW2 is selected in the Canon menu. I'm not sure if the gains are real but it seems to be 3-4MB/s faster write speed for both modules.

Q. What shall I do with my current raw_rec module?
A. Leave it where it is, just don't enable it at the same time as another raw module. If you find one module works well for you I suggest either deleting the others from your modules folder or setting auto-load OFF for the ones you don't need.

Q. Where do I download?
A. Read the first post

@1% - hope you don't mind me renaming your module. I couldn't use 1% because of the '%'. I've added an extended credit to the module too ;)


Update: I don't think the raw configs are working correctly so the modules are loaded but in an off state when booting.
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 19, 2013, 08:16:47 PM
today's unified build
https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/ml-2013Jun19.50D.109.go.unified.7eee493f6fc9.zip (https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/ml-2013Jun19.50D.109.go.unified.7eee493f6fc9.zip)

Andy600 - sounds very interesting - do you have any statistics on your two modules
it's hard to measure the 2 MB/s differences.

can you record more frames at 1920x1080 in crop/zoom mode ? (more than 140 ?)
maximum stable continuous recording can you get stable at 1920x880 or larger sizes?

see 1% posting to his 6D repository https://bitbucket.org/OtherOnePercent/tragic-lantern-6d/src/a7df9e2b29f5a4cb4e8c6499a17daa8d992b7226/platform/50D.109/?at=unified

looks like a great deal of progress for the 50D.
https://bitbucket.org/OtherOnePercent/tragic-lantern-6d/src/a7df9e2b29f5a4cb4e8c6499a17daa8d992b7226/platform/50D.109/?at=unified
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 19, 2013, 08:33:13 PM
@Gregory - I'm getting about 300 - 360 frames 1920x872 (Andy raw) and about 100-120 frames at 1920x1072 on a 600x Transcend 16gb card. That's more than I was getting with raw_rec. No problems recording continuously at 16:9 or 5:3 in normal resolution. I think I may have to adjust the frame dimensions a bit. Not been able to test much today.
Title: Re: 50D - 14bit raw video builds and test results
Post by: a1ex on June 19, 2013, 08:43:06 PM
If you look at commit history, you will notice that 512-byte rounding is an older method that I've borrowed from CHDK. Current ML uses 4096-byte rounding, and the rationale can be found in my source code comments.

Sorting and/or splitting the buffers can make a difference, but there's no one-size-fits-all solution with fixed buffers. See here for some research on buffering strategies:
http://www.magiclantern.fm/forum/index.php?topic=5582.msg52753#msg52753
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 19, 2013, 08:48:32 PM
Quote from: a1ex on June 19, 2013, 08:43:06 PM
If you look at commit history, you will notice that 512-byte rounding is an older method that I've borrowed from CHDK. Current ML uses 4096-byte rounding, and the rationale can be found in my source code comments.

Sorting and/or splitting the buffers can make a difference, but there's no one-size-fits-all solution with fixed buffers. See here for some research on buffering strategies:
http://www.magiclantern.fm/forum/index.php?topic=5582.msg52753#msg52753

Thanks a1ex, I'll have a play :)
Title: Re: 50D - 14bit raw video builds and test results
Post by: akumiszcza on June 20, 2013, 11:27:33 AM
I've tested the latest builds here (fast-raw test build from yesterday) especially for auto-ettr, as my card is too slow to make serious raw video tests (although I like the fact that when I see the speed in green while choosing the resolution, it really does not lose frames).

1. In Liveview M mode it works quite well. It changes both ISO and time, the aperture is constant.
2. Sometimes when I do a photo after Auto-ETTR (in liveview M) it is greatly underexposed. If I reset configuration and set everything again, it goes back to normal. Weird.
3. In Liveview Av mode it seems to not change ISO, just +/- EV. I guess it's +/- 2 EV max then.
4. In photo mode the double half-shutter and set key options open liveview for a moment, then ML does Auto-ETTR, and photo mode comes back.
5. Sometimes this Auto-ETTR in photo mode takes a long time, and sometimes it's very quick.
6. Sometimes it's hard to trigger double haf-shutter, I need to click half shutter multiple times (it seems it doesn't work fine if the camera starts autofocusing in the meantime).
7. Autosnap and full-time Auto-ETTR seem to not work in photo mode. As I understand, autosnap should trigger another photo itself and the full-time mode should trigger Auto-ETTR after one takes an underexposed photo. Both things do not happen on my camera.
Title: Re: 50D - 14bit raw video builds and test results
Post by: KahL on June 20, 2013, 02:14:17 PM
Alright so during a fashion shoot yesterday, I was getting pink frames all over the place. The last time this happened, I was shooting w/ the 60D in raw as well. Both environments here fairly hot, especially yesterday's ext. shoot. Does heat or battery power have anything to do w/ this? While I was using a full battery, it was a low MAH (about 1400), while the other was 1700 and zero pink frames.

Just trying to narrow this down. Maybe I'm off somehow.

(http://img.photobucket.com/albums/v64/shenyin/pinkframe_zpsfd9a5c49.jpg)
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 20, 2013, 02:52:49 PM
QuoteCurrent ML uses 4096-byte rounding, and the rationale can be found in my source code comments.

Mine does too, just kept the 512 rounded sizes since they were working esp. well. Probably can add back some regular ones.

The unified module from my repo works on all cameras but the hack isn't in the module.

ETTR is a little flaky on 50D because you need FPS override + expo override all the time pretty much. It works perfectly on other cameras but on 50D I get some of the same issues. Ie. button doesn't trigger it... just go in and out of play mode and it comes back.








Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 21, 2013, 02:51:47 AM
today's build  from the unified branch
https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/mlmod-2013Jun20.50D.109.go.unified.1b42291d5085.zip (https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/mlmod-2013Jun20.50D.109.go.unified.1b42291d5085.zip)


@akumiszcza - thank you for your detailed notes - i need to review the ETTR functions myself as i haven't used them for several days.

#KahL Kahleem - you've got an art video not a fashion shoot. which build led to that result?
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 21, 2013, 08:35:55 PM
50D new unified build available:
https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/mlmod-2013Jun21.50D.109.go.unified.9f26e15d9146.zip (https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/mlmod-2013Jun21.50D.109.go.unified.9f26e15d9146.zip)
many changes to modules/raw_rec.c and src/raw.c
all cameras join the 50D in being MOS

can this build hit 80MB/s ?
Title: Re: 50D - 14bit raw video builds and test results
Post by: JulianH on June 22, 2013, 12:20:16 AM
I can't seem to get good speeds with that build Gregory. 65-68MB/s in all modes and all resolutions I've tried... Komputerbay 64GB 1000x.

I missed the last few builds since I was away for a few days. I might be doing something wrong. Will check some of them to see if speeds get better.
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 22, 2013, 06:29:40 AM
posted a build with the latest code in unified branch
https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/mlmod-2013Jun21.50D.109.go.unified.7b79e51d4d06.zip (https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/mlmod-2013Jun21.50D.109.go.unified.7b79e51d4d06.zip)

this code will result in black borders for
regular silent pictures 74 pixels,
zoom mode silent pictures 64 pixels, and
regular mode video 74 pixels
zoom mode video will be OK.

you can see this in the image below or try it for yourself with the build.
(http://50.56.67.113/ml-21june13/Screen%20Shot%202013-06-21%20at%2011.42.25%20PM.png)

looks like the procedure that we used on june 5th was incorrect insofar as it used the same value for zoom mode silent pictures and video - 64 pixels left offset. is there a conditional which could be used to distinguish zoom photo mode from zoom video mode? is so then it could be added to the code, though at the time, i didn't see any degradation to the zoom mode video image from the extra skip left.


skip_left   =  zoom ? 64: 74;

if mv1080crop or something like it, is defined for 50D,

skip_left   = mv1080crop ? 0 :  zoom ? 64: 74;


please note there are multiple builds being used along with creative users who combine an autexec.bin from here with a 50D_109.sym from there and perhaps a raw_rec.mo from over yonder - so its easy to confuse reported results.


Title: Re: 50D - 14bit raw video builds and test results
Post by: a1ex on June 22, 2013, 08:33:43 AM
So, the borders in zoom mode depend on whether H.264 is enabled?!

So far, zoom was a completely separate video mode (that's why it's tested first).
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 22, 2013, 10:46:23 AM
@Gregory - I just took 4 silent pics with movie mode on/off and normal/zoom. Non of them exhibited black borders although with movie mode off the frames are a little pink.

Then I tried some raw video (normal and zoom) and it has no black borders and no pink frames with these settings.

This is on a compile of the Unified code (must be the same as yours?)

BTW, I'm getting black borders on everything with a Tragic Lantern compile but that's not relevant atm until we are 100% correct with Unified skips etc. I'm basing my findings only on Unified code.
Title: Re: 50D - 14bit raw video builds and test results
Post by: akumiszcza on June 22, 2013, 02:11:54 PM
I got 4 crash dumps with mlmod-2013Jun21.50D.109.go.unified.9f26e15d9146.zip build. It was during filming in raw and pressing arrows on joystick to check if changing aperture works.

CRASH00.LOG
ASSERT: IsChunkSignature( hPos )
at PackMemory\PackMem.c:987, task RscMgr
lv:0 mode:3


Magic Lantern version : 2013Jun21.50D.109.go.unified.9f26e15d9146
Mercurial changeset   : 9f26e15d9146+ (unified) tip
Built on 2013-06-21 18:24:10 by [email protected].
Free Memory  : 284K + 3449K

CRASH01.LOG
ASSERT: IsSuiteSignature( hSuite )
at PackMemory\PackMem.c:986, task RscMgr
lv:0 mode:3


Magic Lantern version : 2013Jun21.50D.109.go.unified.9f26e15d9146
Mercurial changeset   : 9f26e15d9146+ (unified) tip
Built on 2013-06-21 18:24:10 by [email protected].
Free Memory  : 284K + 3454K

CRASH02.LOG
ASSERT: IsSuiteSignature( hSuite )
at PackMemory\PackMem.c:986, task RscMgr
lv:0 mode:3


Magic Lantern version : 2013Jun21.50D.109.go.unified.9f26e15d9146
Mercurial changeset   : 9f26e15d9146+ (unified) tip
Built on 2013-06-21 18:24:10 by [email protected].
Free Memory  : 284K + 3458K

CRASH03.LOG
ASSERT: IsSuiteSignature( hSuite )
at PackMemory\PackMem.c:986, task RscMgr
lv:0 mode:3


Magic Lantern version : 2013Jun21.50D.109.go.unified.9f26e15d9146
Mercurial changeset   : 9f26e15d9146+ (unified) tip
Built on 2013-06-21 18:24:10 by [email protected].
Free Memory  : 284K + 3463K
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 22, 2013, 02:51:11 PM
A bit OT

@alex - Is the demosaic part purely down to the app that converts the raw files?

Maybe this info is useful?: http://www.libraw.org/articles/bayer-moire.html (http://www.libraw.org/articles/bayer-moire.html) He seems to conclude LMMSE is the better algorithm. He also has some useful downloads http://www.libraw.org/download#stable (http://www.libraw.org/download#stable)

and this: http://www.ipol.im/pub/art/2011/g_zwld/ (http://www.ipol.im/pub/art/2011/g_zwld/)

Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 22, 2013, 02:56:13 PM
Yea, I'm using unified skips from a1ex so if your getting black borders must be wrong...
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 22, 2013, 04:48:31 PM
black point disease is not always cured by blood letting the skip values - applying leeches can make things worse and actually spread bad blacks to other areas.

@a1ex - do not know if h.264 enable or not makes a difference.

@1% - values i provided are correct.

@akumiszcza - thank you for details - i am getting glitchy frames (silent pics) from both of yesterday's builds though i haven't had a crash myself yet. recommend you use an earlier vintage build for practical shooting.

@Andy600 -  you can be sure about the build and code sync by looking in the magic.cfg - it tells you what build is on which card - should always have the commit id.  same information is at the bottom of the info screen.
that build id should match one of the commit id's on https://bitbucket.org/hudson/magic-lantern/commits/branch/unified (https://bitbucket.org/hudson/magic-lantern/commits/branch/unified)
so 9f26e15d9146 in the bug report from @akumiszcza matches commit 9f26e15
https://bitbucket.org/hudson/magic-lantern/commits/9f26e15d91464033c14d1633bf31cd13c0b100a3?at=unified (https://bitbucket.org/hudson/magic-lantern/commits/9f26e15d91464033c14d1633bf31cd13c0b100a3?at=unified)

Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 22, 2013, 05:02:44 PM
@Gregory

Yes, I don't have the build I shot the video with or the one I checked DNGs with anymore but all are derived from Unified build with only unified commits. I use TortoiseHG to pull, commit and then console to hg update tip.

For instance: this is my current build

# Magic Lantern v2.3.NEXT.2013Jun22.50D109 (363a968c2785+ (unified) tip)
# Built on 2013-06-22 13:41:16 by magiclantern@magiclantern-VirtualBox
# Configuration saved on 2013/06/22 15:45:34

I have a fork of Tragic Lantern for testing but it's a totally separate repo and there is no crossover
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 22, 2013, 05:55:49 PM
re: raw video

I'm just wondering if hardcoding common aspect ratios might be a better idea as a lot of the current options will likely never be used by anyone and might confuse some users. Maybe just keep SD, HD and Full HD + cinema ratios and x1.33, x1.5 & x2 options for anamorphic shooters?
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 22, 2013, 06:33:01 PM
You know, I think I was correct last night.  ::)


skip_left   = 0;
does not work the same as skip_left   = zoom ? 74 : 74;

skip_left   = 0; = Left black border in raw video and frame sizes can be set too large

skip_left   = zoom ? 74 : 74; = works! No borders and frame size limited to 1984 max width. No pink frames either.



Silent Pics (movie mode) photos are pink and frame dimensions are 6px wider
Silent Pics (photo mode - raw rec and H.264 disabled) same

Raw video DNGs are correct with these settings. How to make silent pic dimensions equal raw video dimensions? i.e. 1984 wide instead of 1990? - This should correct pink frames in silent pics photo mode.

Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 22, 2013, 06:56:34 PM
Hehe, thanks for saving me time...

Bad idea to hardcode the aspects to "normal' ones... you want to vary height depending on what you can record... Ie 1080 vs 1038 might make difference between continuous recording or not. Esp on other bodies...

If it could just write anything we could just do 1080P and 720P  and call it a day :)

BTW: kip_left   = zoom ? 74 : 74;

is the same as just skip_left  = 74
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 22, 2013, 07:06:39 PM
Quote from: GregoryOfManhattan on June 22, 2013, 04:48:31 PM
black point disease is not always cured by blood letting the skip values - applying leeches can make things worse and actually spread bad blacks to other areas.
Andy600 - i am metaphorically trying to say that the black point issue in your zoom mode images has nothing to do with the skip values. changing those values can make things worse in other modes.
looks like the important thing you have highlighted is that the zoom mode video images are different from zoom mode silent pictures images.
a1ex and 1% should be able to sort that out as it may explain what is going on for other cameras - the 5D2 bounced its skip values around this week as well and there are ongoing problems with pink frames and so forth.

the correct value for skip left based on silent picture DNGs (which is the procedure a1ex said to use) is:
skip_left = zoom ? 64 : 74;
for zoom mode video - the skip value of 0 would seem to apply, if having a too large skip_left value in zoom video mode causes the black point issue then that needs to be addressed.
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 22, 2013, 07:08:23 PM
Well.. I'm opening a regular pic... skip is  74, really 73 but you cut off 1 line. Actually likely 74.. I'm using ruler in PS

Zoom mode I have to check still... fps override can screw with skips too.

skip_left = zoom ? 64 : 74;

Yea, thats correct.

I notice taking silent DNG with FPS override on causes cockups, esp in zoom mode.

Also notice using FPS override with shutter timer and REAL electronic shutter values stopped producing silent pics in zoom mode that I can't open. But shutters in movie mode need safety so you can't turn past the real ones.

Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 22, 2013, 07:16:47 PM
Quote from: GregoryOfManhattan on June 22, 2013, 07:06:39 PM
Andy600 - i am metaphorically trying to say that the black point issue in your zoom mode images has nothing to do with the skip values. changing those values can make things worse in other modes.
looks like the important thing you have highlighted is that the zoom mode video images are different from zoom mode silent pictures images.
a1ex and 1% should be able to sort that out as it may explain what is going on for other cameras - the 5D2 bounced its skip values around this week as well and there are ongoing problems with pink frames and so forth.

the correct value for skip left based on silent picture DNGs (which is the procedure a1ex said to use) is:
skip_left = zoom ? 64 : 74;
for zoom mode video - the skip value of 0 would seem to apply, if having a too large skip_left value in zoom video mode causes the black point issue then that needs to be addressed.

Yes, I know. I get it. I think silent pics and raw video needs to be separated somehow but for now raw video is working for me with no borders or pink frames at resolutions I find useful and I have no need for silent pics but for obviously the issue needs addressing for other users.

I'm not sure if it's relevant but is the sensor itself always being taken into account for these calculations? It's not the same as the 5d2 or later cameras.
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 22, 2013, 07:23:57 PM
Quote from: 1% on June 22, 2013, 07:08:23 PM
Well.. I'm opening a regular pic... skip is  74, really 73 but you cut off 1 line. Actually likely 74.. I'm using ruler in PS

Zoom mode I have to check still... fps override can screw with skips too.

skip_left = zoom ? 64 : 74;

Yea, thats correct.

I notice taking silent DNG with FPS override on causes cockups, esp in zoom mode.

Just compiled your latest changes (on a fork of TL totally separate to my unified repo) and set offset again as I suggested. Getting good speeds and no pink frmaes, borders etc but I did have one shot where the playback preview blacked out. Footage was ok though. Getting 360+ frames @1920x1080 25p - 72MB/s
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 22, 2013, 07:29:29 PM
Quotewhere the playback preview blacked out

I think span files do this.

But I think 64/74 skips are right.. issue is cpu/sync/shutter

This is my most corrupt silent pic now... vs ones that wouldn't open with "canon" shutters and skips of 0

(http://i40.tinypic.com/2m4efew.jpg)


Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 22, 2013, 07:33:57 PM
Quote from: 1% on June 22, 2013, 07:29:29 PM
I think span files do this.

But I think 64/74 skips are right.. issue is cpu/sync/shutter

This is my most corrupt silent pic now... vs ones that wouldn't open with "canon" shutters and skips of 0

Maybe it's a fluke but I've taken 100+ silent pics with movie mode enabled/disabled and had no corrupt ones except for them all being pink
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 22, 2013, 07:35:45 PM
Also with FPS override?
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 22, 2013, 07:37:01 PM
Quote from: 1% on June 22, 2013, 07:35:45 PM
Also with FPS override?

Haven't changed FPS all day. It's on 25 exact. Didn't try with it off though


Update: LOL I just switched FPS override off and had some corrupt silent pics. Switched it back on and also had a few. (movie mode enabled/disabled) only zoomed frames are affected
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 22, 2013, 07:48:16 PM
Try using the real shutter commit. I recorded 1080P for like 2gb and going to cineform only issue is standard sensor noise.
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 22, 2013, 08:15:02 PM
Quote from: 1% on June 22, 2013, 07:48:16 PM
Try using the real shutter commit. I recorded 1080P for like 2gb and going to cineform only issue is standard sensor noise.

Yeah, works. Same kind of results as with the previous 'don't click me' method. Does this replace that? 
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 22, 2013, 08:21:47 PM
The hack works, made it this morning.

Real shutters is about shutter speed in movie mode... those 12" 6" etc exposures don't alter expo or shutter timer. Just need to block off canon menu and Ml menu from turning to invalid ones.

So far getting some real nice stuff at 1038 or 1080P... at least 40-50sec shots with each... They do more or less depending on how the card feels/I stop it/etc.
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 22, 2013, 08:24:59 PM
Quote from: 1% on June 22, 2013, 08:21:47 PM
The hack works, made it this morning.

Real shutters is about shutter speed in movie mode... those 12" 6" etc exposures don't alter expo or shutter timer. Just need to block off canon menu and Ml menu from turning to invalid ones.

So far getting some real nice stuff at 1038 or 1080P... at least 40-50sec shots with each... They do more or less depending on how the card feels/I stop it/etc.

So set Canon shutter in the same way as H.264?
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 22, 2013, 08:32:42 PM
Kinda.. movie mode real shutter is 1/2x - 1/whatever

But 50D thinks its in photo mode still and lets you chose 30", bulb, etc.

Not having this on builds don't use frame shutter timer and just make stuff up + use canon UI shutters.
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 22, 2013, 08:38:33 PM
Quote from: 1% on June 22, 2013, 08:32:42 PM
Kinda.. movie mode real shutter is 1/2x - 1/whatever

But 50D thinks its in photo mode still and lets you chose 30", bulb, etc.

Not having this on builds don't use frame shutter timer and just make stuff up + use canon UI shutters.

Cool, so we should be able to get some funky looking low light shots. Any penalty on temps?

Nice work sir! :)
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 22, 2013, 08:59:23 PM
No... its the opposite of what you're thinking.. those shutter speeds did nothing/weren't real.

Temp is actually lower with dialog refresh killed or dropped. I've had no overheating today.

Title: Re: 50D - 14bit raw video builds and test results
Post by: akumiszcza on June 22, 2013, 10:39:33 PM
1. While silent pics are turned on, if you open live view and press af-on to get autofocus, the silent pics (burst in this case) is started. All dngs are blank of course, as the mirror is in wrong position.
2. Trying to shoot raw video while in double-zoomed mode (x10?) results in bad blocks, even first frame is bad (at least for mlmod-2013Jun21.50D.109.go.unified.9f26e15d9146.zip).
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 23, 2013, 12:36:19 AM
Don't use x10 it is exactly like x5 except for the problem you experience.
Title: Re: 50D - 14bit raw video builds and test results
Post by: JulianH on June 23, 2013, 03:04:03 PM
Quote from: Andy600 on June 22, 2013, 05:55:49 PM
re: raw video

I'm just wondering if hardcoding common aspect ratios might be a better idea as a lot of the current options will likely never be used by anyone and might confuse some users. Maybe just keep SD, HD and Full HD + cinema ratios and x1.33, x1.5 & x2 options for anamorphic shooters?
Please leave them in... I love the freedom and creativity it gives. The more the better!
For anamorphic I use lots. 3:2, 4:3, 5:4 at various sizes.

Odd sizes could be in an 'advance' menu maybe if its a problem for others?
Title: Re: 50D - 14bit raw video builds and test results
Post by: Rawolution on June 23, 2013, 06:59:25 PM
Quote from: Andy600 on June 22, 2013, 07:23:57 PM
Just compiled your latest changes (on a fork of TL totally separate to my unified repo) and set offset again as I suggested. Getting good speeds and no pink frmaes, borders etc but I did have one shot where the playback preview blacked out. Footage was ok though. Getting 360+ frames @1920x1080 25p - 72MB/s

Could you please upload that build with settings file?
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 23, 2013, 08:42:34 PM
That offset is wrong wrong wrong :)... it is what it was set to 64/74. I get no pink frames nor black level issues.

QuotePlease leave them in... I love the freedom and creativity it gives.

If anything, more aspect ratios. Different heights will write differently. A few pixels here and there is the difference between stopping and continuous.
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 23, 2013, 09:13:22 PM
https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/magiclantern-2013Jun23.50D.109.go.unified.6685347055ba.zip (https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/magiclantern-2013Jun23.50D.109.go.unified.6685347055ba.zip)
this is the latest unifeid build - but it will have black margins -
waiting for an
hg backout 5ddc160
to be merged back into the unified branch.
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 23, 2013, 09:29:12 PM
Its your own repo... just change and commit.
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 24, 2013, 06:28:26 PM
hi 1%,
not my own repo - i thought it useful to have a 50D build which tracks exactly what is on hudson unified
so any builds i have called "unified" are from https://bitbucket.org/hudson/magic-lantern/src

towards that end, could you please let a1ex know what you currently are using for skip_left in src/raw.c
https://bitbucket.org/hudson/magic-lantern/pull-request/130/undoing-the-damage/diff

is it useful to continue to have builds that track the main unified?
Title: Re: 50D - 14bit raw video builds and test results
Post by: a1ex on June 24, 2013, 06:40:40 PM
See my comments from https://bitbucket.org/hudson/magic-lantern/commits/5ddc1608bf8fd87137919d7eea7d2627

I did not see any DNGs with left borders, please upload them. If the left offset varies, you can use something that covers all cases, but you have to disable black computation from the left side.
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 24, 2013, 06:46:45 PM
It doesn't change or anything... it is what it was. Only 2 modes & 64/74. Andy's pics were from raw video. IMO, pink /corrupt frames are another problem. You shouldn't get any with GD off @ record... at least I don't.


Ps... lots of cool stuff @

FF833CCC

including lv_hd
lv_debug_ae, etc... lv_fps


LV_ChnageHD OldHD:696 NewHD:1
SetHD 1


That param is wrong but maybe we can biggen or shrink yuv/lv.

Sweet this stops lv.. fps is 60 but I doubt that... maybe it helps write speed or something.


lv_fps does nothing but lv_hd sets native fps.... I've seen 60, no image, 28.. good image... so I have to find a value which will set it to 24 native.

call("lv_hd", 0x3E8); clean 21fps
call("lv_hd", 0x36A); 23.878 fps
call("lv_hd", 0x366); 23.988
so close.

doesn't work in zoom tho :(

lv_magnify ???
lv_defmark_raw ???


defmark does this... called with 1... maybe thats not right, I don't see any less defects.


pfAfComplete(642)
Result = 1
[ENG] WriteDMACInterrupt(17)(0x2)(0)
WriteEDmacQuarkCompleteCBR
[ENG] WriteDMACInterrupt(0)(0x2)(0)
WriteEDmacYuvCompleteCBR
[ENG] ReadDMACInterrupt(9)(0x2)(0)
ReadEDmacHivshd_V_CompleteCBR_x1
[ENG] WriteDMACInterrupt(18)(0x2)(0)
WriteEDmacVramCompleteCBR_x1
SetPsave 0x0
[ENG] ReadDMACInterrupt(8)(0x10)(1)
ReadEDmacDefCorreAbortCBR_x1
[ENG] ReadDMACInterrupt(9)(0x10)(1)
[ENG] DummyCBR
[ENG] ReadDMACInterrupt(8)(0x10)(1)
ReadEDmacDefCorreAbortCBR_x1
StopQuarkPass
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on June 24, 2013, 09:14:51 PM
Quote from: 1% on June 24, 2013, 06:46:45 PM
...Andy's pics were from raw video

The frame grabs from the video were raw video DNGs but a1ex then asked me to send some silent pics too, which I did here: http://www.magiclantern.fm/forum/index.php?topic=5586.msg53730#msg53730

Not that it's relevant now.

BTW, I'm just wondering if some things have not been correctly found for the 50D but instead, 'assumed' from other cameras. There is code commented out to do with raw buffer size in raw.c. It was set the same as the 60d which has a different sensor.

p.s. - interesting finds (above). It's great to know you're looking for this cool stuff 1% :)
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 24, 2013, 10:36:35 PM
I've gotten rid of most "assume" stuff. Its actually pretty similar among cameras.

I got LV up to 80fps but image is dead :( But some other numbers make higher fps.. I had working 34fps at one point. Need to dump fps to log file after setting this.. or maybe someone can look.. this could turn on defc on in other cameras, etc.
Title: Re: 50D - 14bit raw video builds and test results
Post by: KENNEDYR21 on June 25, 2013, 06:16:55 AM
@GregoryOfManhattan

I just updated to the latest unified build https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/magiclantern-2013Jun24.50D.109.go.unified.d07dab0ba6c2.zip

But for some reason with this latest unified build, the modules won't load and I'm getting an Err  next to each module where it's normally and ok.
I haven't had this happen before. Is there a different protocol for this latest unified to run?
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 25, 2013, 03:57:54 PM
new hudson unified build posted
https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/magiclantern-2013Jun25.50D.109.go.unified.282abfa87fef.zip (https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/magiclantern-2013Jun25.50D.109.go.unified.282abfa87fef.zip)
quick test shows modules load and recording raw work.

@KENNEDYR21 - sorry about that - module building changed 5 days ago and i mis-adjusted my build script.
it should be fine now and going forward.

these builds should track both the main magic lantern in hudson/unified and in the modules as well.
Title: Re: 50D - 14bit raw video builds and test results
Post by: akumiszcza on June 25, 2013, 07:57:54 PM
In the new build I see speeds required 10x as they should be - 270 MB/s instead of 27 for instance.
Title: Re: 50D - 14bit raw video builds and test results
Post by: KENNEDYR21 on June 26, 2013, 12:43:35 AM
@GregoryOfManhattan,
Ok I will update to the new build you have recommended. Thank you very much!
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 26, 2013, 04:30:02 AM
Quote from: akumiszcza on June 25, 2013, 07:57:54 PM
In the new build I see speeds required 10x as they should be - 270 MB/s instead of 27 for instance.
good eyes to catch this.
a1ex fixed it - the code for calculating the speed has been changed and may be more accurate now.
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 26, 2013, 04:36:54 AM
Yep, I built after that commit and seems OK.
Title: Re: 50D - 14bit raw video builds and test results
Post by: KENNEDYR21 on June 26, 2013, 11:28:23 PM
@GregoryOfManhattan

Thanks for posting the updated build, it worked.

But i have another issue that i have noticed recently. When i connect my Marshall 5inch HDMI  monitor i get the pink corrupt frames, not in the normal video record mode, but as soon as i engage Raw modules.

One of the earlier mid June builds was fine at first but now all of the builds are giving me that same issue.
The strangle thing is once i unplug  the HDMI monitor, the build works fine in Raw record. Do  you or any of the Devs know why is the case and is it a possible fix?
It's such a plus to be able to have the HDMI monitor especially when using my camera rig.
Thanks for your time!
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 26, 2013, 11:37:30 PM
new build with a1ex fix for pink frames in crop modes
https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/magiclantern-2013Jun26.50D.109.go.unified.ac1db39643b3.zip (https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/magiclantern-2013Jun26.50D.109.go.unified.ac1db39643b3.zip)
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 27, 2013, 01:33:04 PM
https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/magiclantern-2013Jun27.50D.109.go.unified.b77a85f7ac68.zip (https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/magiclantern-2013Jun27.50D.109.go.unified.b77a85f7ac68.zip)
integrates some of 1% hacks.
runs at 70MB/s without.
enabling "Small Hacks" results in 80MB/s
had 2 shots at 1920x1080p24 go over 1000 frames.
Title: Re: 50D - 14bit raw video builds and test results
Post by: Viente on June 27, 2013, 03:09:38 PM
1%, with your latest build cropmarks not workng while recording, only works in standby mode
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 27, 2013, 03:23:17 PM
With global draw on in the module menu?

Tried, seem to work if I didn't turn off GD while recording.
Title: Re: 50D - 14bit raw video builds and test results
Post by: Viente on June 27, 2013, 05:43:06 PM
Quote from: 1% on June 27, 2013, 03:23:17 PM
With global draw on in the module menu?

Tried, seem to work if I didn't turn off GD while recording.

sorry! my bad...  :-X
Title: Re: 50D - 14bit raw video builds and test results
Post by: Viente on June 27, 2013, 05:57:07 PM
But raw_rec module crops the live view
Title: Re: 50D - 14bit raw video builds and test results
Post by: akumiszcza on June 27, 2013, 08:36:18 PM
I just got my KomputerBay 32GB 1000x today and tested it on the newest build - magiclantern-2013Jun27.50D.109.go.unified.b77a85f7ac68.zip

I did not format the card, just copied everything and updated firmware. Things I've noticed:

1. Benchmark test failed at first. It went through till 5/10 and then froze. Even after turning off the camera the test was still appearing.
2. Later benchmark showed:
(http://i.imgur.com/gahp5qx.png)
3. 1584x1058 @ 23.952 at 1x - continuous, 1920x1080 @ 23.952  at 5x - about 600 frames (I did not change RAW to JPEG and probably some other options were not set properly though).
4. When I half-pressed shutter during 5x zoom (for IS to work) the screen turned pink again from gray (the option in movie menu to automatically half-press shutter does not work BTW).
5. While previewing the raw movie I got Footer format mismatch, but the preview worked.
6. When I chose lower resolution for 5x mode (1700-something 16:9) which was continuous on my card, the recording stopped after about 100 frames or so twice. Other tests with the same settings worked OK. Some random thing. The buffers went straight to almost full in a second or so.
7. A file was split in two even though it was very small one - RAW is 78.5MB, R00 is 103.7MB.
Title: Re: 50D - 14bit raw video builds and test results
Post by: a1ex on June 27, 2013, 08:48:02 PM
Quote7. A file was split in two even though it was very small one - RAW is 78.5MB, R00 is 103.7MB.

This may indicate problems with the card. Splitting only happens when a file write call fails.
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 27, 2013, 09:15:26 PM
QuoteBenchmark test failed at first.

On 50D mine fails on the read tests in LV and camera locks up... suggests that its a repo problem tho, not something I did.
Title: Re: 50D - 14bit raw video builds and test results
Post by: araucaria on June 27, 2013, 11:36:20 PM
I just tried magiclantern-2013Jun27.50D.109.go.unified.b77a85f7ac68 with a Komputerbay 32 1000x in 1920x1080 crop mode, got over 1100 frames and stopped it because it was reaching 4gb. It said 2000expected and it kept growing, the buffer graph was only slowly filling.
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 28, 2013, 12:22:09 AM
@akumiszcza thank you for your continued detailed bug reports - how did it work with a card format?

@araucaria are you saying that spanning at 4GB is not working for you.

@1% failing read test in LV is not a good sign is it?

starting the Card Benchmark while in LV gets substantially slower results for me.

turning on camera and running benchmark got these results

(http://50.56.67.113/ml-27june13/TEST.BMP)

turning on camera, turning on LV and then running benchmarks got the following

(http://50.56.67.113/ml-27june13/TEST-gd-on-b4.BMP)
Title: Re: 50D - 14bit raw video builds and test results
Post by: araucaria on June 28, 2013, 12:27:42 AM
Never tried file spanning, 300-400 frames is already too much for the things I shoot, and I don't want to waste write cycles on my card, that's why I didn't go any further. Great job btw!
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on June 28, 2013, 01:04:07 PM
https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/magiclantern-2013Jun28.50D.109.go.unified.3ecd254bdba1.zip (https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/magiclantern-2013Jun28.50D.109.go.unified.3ecd254bdba1.zip)
new "Warm up" the card option for raw record to potentially help the speed of the first recording.

Note: last build from me for a while - i will have limited internet for a couple of weeks.
Title: Re: 50D - 14bit raw video builds and test results
Post by: akumiszcza on June 28, 2013, 08:57:15 PM
Quote from: GregoryOfManhattan on June 28, 2013, 12:22:09 AM
@akumiszcza thank you for your continued detailed bug reports - how did it work with a card format?

This is I who should thank you, and others, for wonderful new builds of ML!

As for formatting, it makes wonders!

Settings: quality jpeg L, small hacks on, global draw off, auto ettr always on, 1920x1080 @ 23.976 at x5

Everywhere below these are numbers of frames before a frame is skipped. Started right after turning on - no video recorded before. Second and third trial done immediately after frame skipped.

No format (card taken out of box and put into camera): 1060 frames, 1123, 1017
In camera format (keep ML): 1497, 1878, 1898!

1000-1100 vs almost 1900 is a hell of a difference. And the format takes seconds, so it's a "quick format", not erasing each byte on the card.

Speed during recording: 81.7 MB/s.
(http://i.imgur.com/fwrVMOg.jpg)

I didn't try formatting the card in card reader yet.
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 28, 2013, 09:08:32 PM
Aligned + 64K clusters is giving me the best speeds.. expect a 1-2mb cut from formatting in camera to 32k clusters. At least on 64GB cards.
Title: Re: 50D - 14bit raw video builds and test results
Post by: KENNEDYR21 on June 28, 2013, 09:50:15 PM
Question, should i be formatting my card in camera or from the card reader using macboot, to get the best possible speed. I use Komputerbay 64gb 1000x.

I've been formatting in camera and never got speeds higher then 63 ( following the methods advised, GD off etc etc...), untill i used the small hacks. which boosted me up to around 75. I see alot of you getting speeds of 80 to 81. i also tried turning off the the timers, but for some reason that option is not listed in my debug list.
Note: Using very latest build.
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 28, 2013, 10:01:38 PM
Its on my builds along with display filters. Main doesn't have it yet.


You have to align partition to 4096 and set cluster size to 64, then you should get to the 80s. no idea on how to do it on mac... maybe virtual machine
Title: Re: 50D - 14bit raw video builds and test results
Post by: akumiszcza on June 28, 2013, 11:53:03 PM
Quote from: 1% on June 28, 2013, 09:08:32 PM
Aligned + 64K clusters is giving me the best speeds.. expect a 1-2mb cut from formatting in camera to 32k clusters. At least on 64GB cards.

I reformatted the card:

diskpart
list disk
select disk [...] <- I chose the disk with 29GB, same order as in diskmgmt.msc
clean
create partition primary align=4096


Then format in explorer - fat32, 64kb, quick.

To check:
wmic partition get BlockSize, StartingOffset, Name, Index
StartingOffset divided by BlockSize should be a multiple of 4096 I think? (I got 8192)
Was the procedure alright?

The result with the same options as the previous test:
2186, 2027, 1506

Generally it was about 2000 frames. Much more than 1000 with a genuine format. BTW, reformatting the card in camera removes the alignment.

I forgot to mention - all tests were done with 27 june unified build.
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 29, 2013, 12:30:50 AM
It didn't unalign for me, just did the clusters to 32, I'll double check it. It should be a multiple of 4096. I think my starting offset was much higher than 8192.

heh, yea it Fd alignment, had to reformat.
Title: Re: 50D - 14bit raw video builds and test results
Post by: akumiszcza on June 29, 2013, 09:20:55 PM
I see some problems with Auto-ETTR for taking photos in unified 27 June and 28 June builds at least. In M mode starting ETTR sets time to 30", although the time shown on the screen is different. If I try to take a photo it really tries to expose it for 30 seconds... In AV mode it works OK.
Title: Re: 50D - 14bit raw video builds and test results
Post by: 1% on June 29, 2013, 10:38:27 PM
For me its not working right now in photo... it doesn't open the LV for long enough then writes an assert about lv_request count. In LV modes its ok.

aaand a few reboots then its working.. but doing same thing on 6D.. weird.

Think it needs to wait a little longer for lv_request and try again if it fails.
Title: Re: 50D - 14bit raw video builds and test results
Post by: akumiszcza on June 29, 2013, 11:56:20 PM
Sorry, I did not mention it. It was LV mode, not  photo mode. That's why I wrote it set 30"on the camera (small lcd at the top), while showing correct time on the screen (global draw). The correct time for the exposure should have been around 1/30 s. The av mode photo was correctly exposed.
Title: Re: 50D - 14bit raw video builds and test results
Post by: dsManning on July 06, 2013, 02:21:03 AM
Komputerbay 32GB 1000x card is working really well with the most recent build GregoryOfManhattan, thanks!

Getting over a full minute of 1920x1080 with no special exfat formatting, just running it through the card.  I don't intend to shoot 1080 all the time (that crop at 5X on my 24-70 2.8 is heavy & ~4.2mb/CDNG is killing me), regular framing still upscales nicely, but it is so nice to know that we can shoot over a minute of full RAW 1080 goodness.

Below is a shaky video of some fireworks on the 4th.  So windy up there, and my crappy pull focus really shows, but I'm really happy with the colours and lack there of (blacks).  Original video was over 1 minute, but I chopped off the first few seconds because the shake was unbearable.

Watch on YouTube at 1080 for full quality

Title: Re: 50D - 14bit raw video builds and test results
Post by: KahL on July 06, 2013, 08:34:19 AM
Wanted to share my latest piece using the 50D Raw (off of the June 28th build).
80% shot on raw, and slow mo pieces using 60D video.

It's becoming smoother using Davinci Resolve to start things off. The color matching gets a bit cluttered, but w/ a LOG export setup from the Raw sources (along w/ the video filmed in Vision Log), it streamlines things a bit.



GEAR
Shot on Canon 50D w/ Magic Lantern 14bit DNG Raw.
Secondary shots on Canon 60D Raw (Super 16mm grade resolution) and 720p 60fps video (for slo-mo, using VisionColor picture style)

FILM GRAIN provided by VisionColor

LENS
Nikkor AI-S 28mm f2.8
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on July 12, 2013, 12:34:45 AM
new unified build
https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/magiclantern-2013Jul11.50D.109.go.unified.5db91070a1aa.zip (https://bitbucket.org/GregoryOfManhattan/magic-lantern/downloads/magiclantern-2013Jul11.50D.109.go.unified.5db91070a1aa.zip)
changes include:
- pic-view incorrect size fix based on an excellent bug report http://www.magiclantern.fm/forum/index.php?topic=6976
- refactoring of dynamic range code in raw.c NOTE: 50D users should consider these changes the DxO values for 50D start at 200 ISO and have 7 total values. i added these from www.dxomark.com but wonder if the value for 100 ISO should be interpolated see src/raw.c get_dxo_dynamic_range
- Fix raw settings refresh after zoom mode change
- new ime input modules are in process
Title: Re: 50D - 14bit raw video builds and test results
Post by: a1ex on July 12, 2013, 07:42:41 AM
Yes, put an interpolated ISO 100 value, because all my other code assummes that.
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on July 12, 2013, 02:17:43 PM
Quote from: a1ex on July 12, 2013, 07:42:41 AM
Yes, put an interpolated ISO 100 value, because all my other code assummes that.
thanks - glad you refactored code and i looked through it - seemed to assume 100. (GiovanniC or someone else had previously warned of this)
submitted pull request after calculating that the 50D goes to 11 (100 ISO Ev dynamic range is 11.00)

so after this update, would the 50D raw video look any different?
seems that in active movie_mode raw_info.dynamic_range will be compute_dynamic_range - so no change for raw video.
photo mode images in liveview will now have a more correct dynamic range applied.
Title: Re: 50D - 14bit raw video builds and test results
Post by: a1ex on July 12, 2013, 02:46:15 PM
Nope, this is used for display only (e.g. to compute underexposure thresholds, stuff like that).
Title: Re: 50D - 14bit raw video builds and test results
Post by: D.L. Watson on July 13, 2013, 06:31:40 AM
I don't know how to thank the developers for this feature. You are further democratizing the tools and technologies of independent filmmaking. I thank you and will continue to do what I can to support Magic Lantern (especially when I get my bonus checks).

I thought I would share my first real attempt at 1080p RAW with the 50D. By the way, I'm using the Komputer Bay 1000x 32gig and I'm experiencing continuous recording in 5X mode, 1080p.



I shot with a 8mm Rokinon and a 200mm Canon FD lens.
Title: Re: 50D - 14bit raw video builds and test results
Post by: akumiszcza on July 13, 2013, 01:47:59 PM
The issue with auto-ETTR still appears in latest July 11 build. I've noticed that it appears almost only on dark or very dark scenes and in M mode, both LV and photo mode.

Here's what it looks like:


As you can see, the exposition was quite OK at 1/50 s, f/2.8, ISO 800. After turning on Auto-ETTR by pressing SET the camer set it to 30 s, f/2.8, ISO 1600 which would overexpose the whole frame.

Here are the settings:
magic.cfg
# Magic Lantern 2013Jul11.50D.109.go.unified.5db91070a1aa (5db91070a1aa (unified) tip)
# Built on 2013-07-11 16:42:39 by [email protected]
# Configuration saved on 2013/07/13 09:32:23
beta.warn = 13
menu.first = -2
movie.log = 1
fps.preset = 1
fps.override.idx = 32
fps.override = 1
post.deflicker.sidecar = 0
spotmeter.draw = 0
waveform.draw = 0
zebra.draw = 0
disp.mode.x = 133
module.autoload = 1


ettr.cfg
# Config file for module ettr (ETTR.MO)

auto.ettr = 1


raw_rec.cfg
# Config file for module raw_rec (RAW_REC.MO)

raw.video.enabled = 1
raw.res.x = 14
raw.aspect.ratio = 14
raw.write.speed = 7577
raw.small.hacks = 1
raw.warm.up = 4
Title: Re: 50D - 14bit raw video builds and test results
Post by: a1ex on July 13, 2013, 02:18:22 PM
You have reached the exposure limits of LiveView.

The problem is that I don't know exactly how to find them for each camera.
Title: Re: 50D - 14bit raw video builds and test results
Post by: akumiszcza on July 15, 2013, 07:38:28 AM
Quote from: a1ex on July 13, 2013, 02:18:22 PM
You have reached the exposure limits of LiveView.

The problem is that I don't know exactly how to find them for each camera.

Sorry for noob questions, but does this mean it will never be possible to use auto-ETTR in low light? Or maybe during finding the proper exposure it goes through "impossible settings" for a moment and the whole process breaks? Can it be avoided if these "exposure limits" are found?

I'm a photographer, not a videomaker, and this feature will be much more important than occasional videos.
Title: Re: 50D - 14bit raw video builds and test results
Post by: a1ex on July 15, 2013, 07:47:47 AM
Outside LiveView; but this is not yet ported on 50D IIRC

I've used it with 5D3 in a cave. Auto Snap, took first shot at 1 second or so, next shot auto-exposed at around 10-30 seconds ISO 100-6400.
Title: Re: 50D - 14bit raw video builds and test results
Post by: GregoryOfManhattan on July 21, 2013, 05:01:26 PM
new 50D unified builds posted with more correct Dynamic range information.
previously to July 15, 50D unified has been underestimating available dynamic range at most ISO settings.
have corrected this, albeit with a potentially inaccurate ISO 100 dynamic range value.
see discussion on Topic: Is 100 a native ISO on 50D? Correct Dynamic Range values for 50D http://www.magiclantern.fm/forum/index.php?topic=7102.msg59340#msg59340

Histogram and Zebras should now be more accurate.
if the ISO 100 zebras or Histogram appear to be inaccurate based on your photographs, please weigh in on Topic: Is 100 a native ISO on 50D? Correct Dynamic Range values for 50D.
if underestimating dynamic range is better (safer) - the value could be set lower.




Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on July 21, 2013, 05:09:37 PM
Gregory - Have you tried using ADTG for shutter timers? I've been using it for a few days and haven't had any issues. Not tried it with Unified though.

https://bitbucket.org/andy600/tl50d/commits/216d975da278a5ab5bde1ecb52044bea2711c316
Title: Re: 50D - 14bit raw video builds and test results
Post by: dlrpgmsvc on July 26, 2013, 02:30:12 PM
Quote from: dsManning on July 06, 2013, 02:21:03 AM
Komputerbay 32GB 1000x card is working really well with the most recent build GregoryOfManhattan, thanks!

Getting over a full minute of 1920x1080 with no special exfat formatting, just running it through the card.

Do you manage to have a realtime preview of the full real field of view on the live view display, or do it's cropped also ? Do it jumps or it's fluid ? And color or b/w ?
Title: Re: 50D - 14bit raw video builds and test results
Post by: dsManning on July 26, 2013, 03:25:04 PM
If you set snap to 5x in zoom prefs and snap to center before you zoom, what you see on screen is what you get at 1080. Preview is in B&W
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on July 26, 2013, 03:29:22 PM
Quote from: dsManning on July 26, 2013, 03:25:04 PM
If you set snap to 5x in zoom prefs and snap to center before you zoom, what you see on screen is what you get at 1080. Preview is in B&W

Not quite. In grayscale preview you see 5x zoom while the video will be 3x zoomed. You need to use the low-res hacked preview to see the full recordable area.
Title: Re: 50D - 14bit raw video builds and test results
Post by: notdabod on July 27, 2013, 09:55:31 AM
I have been spending a lot of time in the 550d thread because thats the camera I have. The 50d isn't that much more money then the  550d but the results for shooting raw seem dramatically better yeah?

I'd say that the 50d is the best bang for your buck raw video camera going.

What do you think?

The 5d m2 isn't getting much better results then the 50d is it?

Obviously the 5d m3 is the best but WAY more expensive too.
Title: Re: 50D - 14bit raw video builds and test results
Post by: dlrpgmsvc on July 27, 2013, 01:19:19 PM
Here, the first post of akumiszcza --> http://www.magiclantern.fm/forum/index.php?topic=6554.100
says that only some minutes of fullhd are possible (in fact, on screen we can see max 3420 frames calculated).

Then, some more posts down, Watson says he manage to record 1080p continuous (no time/frames limitations).

So, what is the truth ? And 1080p continuous (if it exists on 50D) is 30fps or 24fps ?

Many thanks in advance for any replies !  ;)
Title: Re: 50D - 14bit raw video builds and test results
Post by: akumiszcza on July 27, 2013, 11:48:52 PM
Quote from: dlrpgmsvc on July 27, 2013, 01:19:19 PM
Here, the first post of akumiszcza --> http://www.magiclantern.fm/forum/index.php?topic=6554.100
says that only some minutes of fullhd are possible (in fact, on screen we can see max 3420 frames calculated).

Then, some more posts down, Watson says he manage to record 1080p continuous (no time/frames limitations).

So, what is the truth ? And 1080p continuous (if it exists on 50D) is 30fps or 24fps ?

Many thanks in advance for any replies !  ;)

See this post: http://www.magiclantern.fm/forum/index.php?topic=5586.msg60536#msg60536

Max is [email protected] continuous AFAIK. Number of frames recorded at real 1080p vary a lot, but it's not continuous yet I think.
Title: Re: 50D - 14bit raw video builds and test results
Post by: dlrpgmsvc on August 19, 2013, 09:05:29 PM
Quote from: akumiszcza on July 27, 2013, 11:48:52 PM
Max is [email protected] continuous AFAIK. Number of frames recorded at real 1080p vary a lot, but it's not continuous yet I think.

You can do 1080p 23,9fps continuous with andy600 tragic lantern latest version + a cf card that can do at least 80mb/s continuous as the lexar 32gb 1000x !
Title: Re: 50D - 14bit raw video builds and test results
Post by: dlrpgmsvc on October 06, 2013, 12:53:38 AM
I tried last Andy600 build (the "2 mb/s more speed, september 2013), 64Gb 1000x KomputerBay card, 64K clustered and aligned, with max around 5500 frames = 3.5 minutes ! Many thanks to Andy600 !
Big achievement! We are so close to continuous! ml say "continuous ok" but it maxes to 5500 frames... so close !!!!  :P

I then tried to slow down to 23.7 fps, and it's really continuous: only 2 bars (one green and one blu, travelling here and there) are displayed for some time... so I thinked "here we are!..." but... then something suddenly breaks and 5 green bars and 5 blue bars are constantly displayed for some time, then something breaks again... and so on, to the point where all the memory buffer is filled up. No more than 5500 frames also in this case...

If we manage to understand what is "breaking" the writing process at constant intervals, we perhaps can try to solve it !  :P
Title: Re: 50D - 14bit raw video builds and test results
Post by: zcream on September 27, 2016, 07:17:07 PM
Has the code in Mar 3 2014 build been unified into main ML builds ?
Wanted to use 50d for reliable 1080p - and can only get 2mins from latest ML.
Just downloaded the last andy600 build - wondering if there are any gotchas..
Title: Re: 50D - 14bit raw video builds and test results
Post by: Andy600 on September 27, 2016, 08:12:43 PM
@zcream - please see my reply here: http://www.magiclantern.fm/forum/index.php?topic=9852.msg172573#msg172573 (http://www.magiclantern.fm/forum/index.php?topic=9852.msg172573#msg172573)