Author Topic: 12-bit (and 10-bit) RAW video development discussion  (Read 524211 times)

danilaswift

  • New to the forum
  • *
  • Posts: 2
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #975 on: January 05, 2017, 08:14:09 PM »
Hello. Guys please lend the old assembly for canon 650d. In the new build of 2017 I was not happy with the video quality (ie, 12bit). Video is too sharp and a lot of red dots. In the old version, this was not.

honza123

  • Freshman
  • **
  • Posts: 59
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #976 on: January 05, 2017, 10:14:47 PM »
Short video test of 10bit raw with EOS 600D:
Build dfort: magiclantern-raw_video_10bit_12bit.2017Jan02.600D102
I recorded 32 pcs of mlv files (raw_rec.mo). All was withouth damage or green cast.
The shutter time 1/30s was not good choice -> flickering
Original video file: https://ulozto.cz/!FwuHK8wc9CET/10bitraw-video-test-karvina-frystat-mp4
EOS 5D Mk.II

reddeercity

  • Contributor
  • Hero Member
  • *****
  • Posts: 2179
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #977 on: January 05, 2017, 11:56:15 PM »
Thanks a lot Reddeercity !Yours settings files rules ! Now I have greyscale liveview on 5D2 , great ! On my settings I changed PAL to NTSC without results on unfreezing.
But with yours settings, I changed NTSC to PAL and liveview freezes ... so NTSC with your settings is the graal.
So I think, NTSC is not the only one parameter to tweak.
I post my old settings to find the differences with yours because I don't understand the meaning of each parameter on these config files.
magic.cfg :
Code: [Select]
# Magic Lantern Nightly.2016Dec01.5D2212 (b3dfbe7194f3 (x-perimental) tip)
# Built on 2016-12-01 22:52:58 UTC by rosiefort@RosieFoComputer
# Configuration saved on 2017/01/05 09:04:53
beta.warn = 5
menu.first = -7
time.indicator = 1
movie.log = 1
bv.av = 35
bv.tv = 99
bv.iso = 117
bv.auto = 1
rec.notify = 4
screen_layout.ext = 0
shutter.lock.value = 99
shutter.lock = 1
enable-liveview = 2
movie.restart = 1
fps.preset = 1
fps.override.idx = 32
fps.override = 1
zoom.disable.x10 = 1
hdrv.iso.b = 112
hdrv.iso.a = 88
battery.drain.rate.rev = 149
hist.meter = 0
audio.mgain = 0
audio.dgain.r = 18
audio.dgain.l = 18
audio.monitoring = 0
audio.input-choice = 0
crop.playback = 1
spotmeter.draw = 0
clear.preview = 4
waveform.draw = 0
zebra.draw = 0
global.draw = 0
disp.mode.x = 4

Looks like you have Auto Settings enabled , all my settings are manual .
So set the programs dial on the top left hand side to "M" and I use manual WB in Kevlin also ISO .
I use no Auto setting (only exception is ML Liveview Preview).
Only load the min needed for raw video to avoid problems .

dfort

  • Developer
  • Hero Member
  • *****
  • Posts: 3748
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #978 on: January 06, 2017, 12:34:29 AM »
New test builds posted.

https://bitbucket.org/daniel_fort/magic-lantern/downloads

Downloads for the Jan 2 test builds. Checkmarks are for cameras that are working with CONFIG_EDMAC_RAW_SLURP:

5D3.113-35
5D2.212-27
5D3.123-23
6D.116-13
60D.111-9
7D.203-8
50D.109-8
600D.102-8
EOSM.202-7
700D.114-7
550D.109-7
650D.104-5
500D.111-1
5D3.* 7D.206 700D.115 EOSM.203 EOSM2.103 M50.102

MitchLally

  • New to the forum
  • *
  • Posts: 31
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #979 on: January 06, 2017, 11:01:00 AM »
I shot a wedding last week – 10bit MLV lite on 5D3. All shot at 60p. It is quite stable. Had 2 clips with black level issues much like aforementioned in this thread. 1 clip completely corrupt, not sure why. Here's the link:

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12390
  • Quarantined
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #980 on: January 06, 2017, 02:55:30 PM »
Added 10/12-bit builds to the nightly server:

http://builds.magiclantern.fm/experiments.html

Current builds are probably identical to dfort's (didn't really check); future builds will just track the raw_video_10bit_12bit branch. 1100D is included as well, but raw recording support is quite incomplete. Please report and fill in the missing bits.

RenatoPhoto

  • Moderators
  • Hero Member
  • *****
  • Posts: 1509
  • 5DM3 / 7D
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #981 on: January 06, 2017, 04:36:06 PM »
Would love to test 5D3 123..  but it is missing..
Thanks for your support!
http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

maxotics

  • Hero Member
  • *****
  • Posts: 531
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #982 on: January 06, 2017, 06:02:43 PM »
I'm looking forward to the 7D.  FYI, it doesn't seem you can use normal MLV with the EOS-M 10/12-bit build.  It will say "thread not starting" or something like that.   So seems like that is a 10-bit build only.

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6449
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #983 on: January 06, 2017, 06:16:12 PM »
Turn off raw_twk. That and snd.mo don,t go well together.

D_Odell

  • Member
  • ***
  • Posts: 187
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #984 on: January 06, 2017, 06:38:02 PM »
Beginners question: what is and what does CONFIG_EDMAC_RAW_SLURP do? Curious..
5D3 (OLPF removed) :: 1.1.3 :: Canon FD L Serie

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12390
  • Quarantined
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #985 on: January 06, 2017, 07:45:05 PM »
A method that retrieves the raw data from Canon's image processing pipeline to main memory by configuring the DMA (EDMAC) directly, with our own parameters, rather than calling Canon code (lv_save_raw).

See here and look it up in the source code, or here on the forum.

Initially implemented for 5D3 1.2.3 to fix corrupted frames.

DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 3369
  • 5D3 | M1 | 7D | 70D | SL1 | M2 | 50D
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #986 on: January 06, 2017, 07:58:19 PM »
It seems it also can be used as a cheat sheet for dev's to pick up certain EDM addresses already provided for each specific settings in order to save time and get things implemented rather quicker basically.

Here's what the first page upon running EDMAC (after 'Don't click me!') looks like:

5D3.113 | 5D3.123 | EOSM.203 | 7D.203 | 70D.112 | 100D.101 | EOSM2.* | 50D.109

RTI

  • New to the forum
  • *
  • Posts: 36
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #987 on: January 06, 2017, 09:12:01 PM »
Currently testing 10bit on my canon 6D
-I'm getting random slowdowns (using a lexar UHS-I 128 633, max write speed with 6D is around 38-39Mb/s) - quite often I get 9-10 MB when trying to record (can't reproduce it).
-Also, battery percentage always shows 100% (when in global draw ofc, in canon menu the right values are displayed).
-ISO display seems to show only full EV values, no 1/3EV.
-mlv_play doesn't work, shows some corrupt images.
Canon 5DIII| Sigma 35/1.4|T 24-70/2.8 VC| Tamron 70-200/2.8 VC USD

dfort

  • Developer
  • Hero Member
  • *****
  • Posts: 3748
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #988 on: January 07, 2017, 12:29:24 AM »
If you want the latest builds, bookmark this address:

https://builds.magiclantern.fm/experiments.html

I'm still putting up builds for the 5D3.123 and the platforms without CONFIG_EDMAC_RAW_SLURP. Seems that there is still some limited 10bit/12bit functionality on the 5D2 and maybe 7D. It is also a way to keep track on which platforms still need to catch up.

https://bitbucket.org/daniel_fort/magic-lantern/downloads

Hum, 121 downloads for the 550D?
5D3.* 7D.206 700D.115 EOSM.203 EOSM2.103 M50.102

Frank7D

  • Senior
  • ****
  • Posts: 456
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #989 on: January 07, 2017, 05:21:58 AM »
Yes, the 7D works fine (for my purposes) in 5x crop mode with the exception of not having true live framing (but I wasn't using that even with 14 bit). I have seen no corruption issues in crop mode with 10 and 12 bit.

NoCp_Albert

  • New to the forum
  • *
  • Posts: 33
  • Albert Stoecker
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #990 on: January 07, 2017, 07:02:14 AM »
Hallo dfort

the last build from https://bitbucket.org/daniel_fort/magic-lantern/downloads/magiclantern-raw_video_10bit_12bit.2017Jan05.5D3123.zip shows me the problem during mlv_play, without loading the raw_rec module I get corrupted files to see, if I see the recorded frames at MLVProducer everything is ok. If I load the raw-rec module and record with mlv_rec also in mlv-play I see the clip correct. This was not happen on your build from 2 January 2017.

If I like to go back from 5xCrop used with 50fps by 10bit 1920x648 to 5xCrop 233x1314 25fps 10bit must switch of and on to work with the new setting. With 5x crop the lifeview shows the the images are jumping from normal size to 5x crop sometimes, if you like i prepare a video to show what I mean.

When I try to use normaly 1920x1080 25fps by 10, 12, 14 bit the record stops after 12 seconds bei "Frame skipping"
EOS 5D3 -113,-123, EOS 7D2, EOS 400, Lens EF16-35 f4 L, EF35 f2 IS, EF85 f1.8, EF 24-105 f4 L, EF 100-400 L II, EF 600 f4 L, Samyang 14mm f2.8, Canon Tc 1,4III, Kenko Tc 1,4 DGC

Levas

  • Contributor
  • Hero Member
  • *****
  • Posts: 1532
  • 6d - Nightly build user
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #991 on: January 07, 2017, 10:56:08 AM »
I tried the -a(average all frames) option in mlv_dump.osx on some 12 bit files for creating darkframes.
But the average file doesn't look right...it looks like a weird purple frame (when extracting the MLV files to dng's, I get normal black frames...)
Could it be that the average all frames option in mlv_dump doesn't work (yet :D) on 10 and 12 bit files ?

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6449
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #992 on: January 07, 2017, 11:24:02 AM »
Do you get the same with 10-bit? I use it without issues in cr2hdr.app.
g3gg0 rewrote code so it works with 14bit code in mlv_dump. Very great.

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3155
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #993 on: January 07, 2017, 11:39:05 AM »
I tried the -a(average all frames) option in mlv_dump.osx on some 12 bit files for creating darkframes.
But the average file doesn't look right...it looks like a weird purple frame (when extracting the MLV files to dng's, I get normal black frames...)
Could it be that the average all frames option in mlv_dump doesn't work (yet :D) on 10 and 12 bit files ?

will investigate that
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6449
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #994 on: January 07, 2017, 11:53:51 AM »
Just ran darkframe averaging on my eos m in 12bit and all was working fine on that particular cam. Make sure to use the very latest version of mlv_dump.

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3155
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #995 on: January 07, 2017, 11:55:21 AM »
ok thanks. you ran it on osx ?
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6449
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #996 on: January 07, 2017, 12:05:10 PM »
Yup macOS Sierra.

Levas

  • Contributor
  • Hero Member
  • *****
  • Posts: 1532
  • 6d - Nightly build user
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #997 on: January 07, 2017, 12:35:49 PM »
Sounds like I'm doing something wrong here...
I'll try the latest mlv_dump, is there a standard download location for the newest mlv_dump?

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6449

teatotalTED

  • New to the forum
  • *
  • Posts: 35
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #999 on: January 07, 2017, 04:58:09 PM »
Hum, 121 downloads for the 550D?

That'll be because there's a lot of 550D users, more than EOS M and for good reason. Joking aside, 12bit works so some improvement for limited card write speed, obvious 10bit is eagerly awaited no doubt.