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

D_Odell

  • Member
  • ***
  • Posts: 187
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #900 on: December 29, 2016, 01:27:49 PM »
Ones again. Tremendous work devs! Really appreciate the development.

If I could wish for the coming build, since I can't program, or have any code skills (I only make hardware and such mods). When shooting MLV instead of RAW I get these problems:

  • The rec symbol dosn't come up.
  • Global Draw isnt working as it does in Nightly builds.
  • Also I often 5x crop shoot to get higher res, but then the screen is gray with black stripes while recording. This doesn't show if GD is turn off but I really need GD for setting the frame before the shoot, and going inside menu and turning on off is a bit of a hassle while doing documentary observations with ML.

I know I can't ask any of this to be done but it would be swell!

Best,
David
5D3 (OLPF removed) :: 1.1.3 :: Canon FD L Serie

maxotics

  • Hero Member
  • *****
  • Posts: 531
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #901 on: December 29, 2016, 03:26:38 PM »
Thanks Teamsleepkid, was wondering about that.  Will try it on the EOSM.  It always warms my heart when someone says, "Hey Max, you turned me onto Crack, thanks!" :)  Is there an instruction page anywhere, hard for me to piece together from threads.

Frank7D

  • Senior
  • ****
  • Posts: 456
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #902 on: December 29, 2016, 04:46:09 PM »
I just tried dfort's 12/18 7D build and 10 and 12 bit are working fine (but with grayscale preview frozen if used). What is not supposed to be working?

snipeua

  • New to the forum
  • *
  • Posts: 8
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #903 on: December 29, 2016, 07:28:33 PM »
Dfort please make a new build at 1.13, the same as you did at 1.23! Thank you!

Teamsleepkid

  • Member
  • ***
  • Posts: 240
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #904 on: December 29, 2016, 08:13:27 PM »
Max there's a download a few pages back like on page 35 it's dforts build. Hope I'm not stepping on his toes:) it's a ml folder you've done it before.. install magic lantern. Then in the settings under raw it says 10 bit 12 bit. I use 10 bit because it's higher resolution. For post I think you have to use mlvfs or mlv dump? I have no idea about other software I use mlvfs works great. Might be more addicting than crack:)
EOS M

dfort

  • Developer
  • Hero Member
  • *****
  • Posts: 3751
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #905 on: December 29, 2016, 10:36:28 PM »
Dfort please make a new build at 1.13, the same as you did at 1.23! Thank you!

What's the problem with this build? It should have the same features as the 5D3.123 build I recently posted.

https://bitbucket.org/daniel_fort/magic-lantern/downloads/magiclantern-raw_video_10bit_12bit_crop_rec.2016Dec24.5D3113.zip

...it's dforts build. Hope I'm not stepping on his toes:)...

No worries. We're all sharing our experiences.

...What is not supposed to be working? ...grayscale preview frozen if used...

Just rearranged your comment to answer your own question. Ok, there's more to it than that. Apparently 5D2 and 7D users are reporting some success with 10bit/12bit even though all the pieces aren't quite finished yet.

Thanks Teamsleepkid, was wondering about that.  Will try it on the EOSM.  It always warms my heart when someone says, "Hey Max, you turned me onto Crack, thanks!" :)  Is there an instruction page anywhere, hard for me to piece together from threads.

@maxotics -- I'm another one who saw your raw video tests on the EOSM and got me interested in Magic Lantern. To try out 10bit/12bit from the test builds I posted turn on the mlv_rec and/or raw_rec modules. raw_rec is actually MLV Lite in this branch so you'll end up with MLV files instead of the RAW files you were used to when you were doing your tests. For processing the 10bit/12bit MLV files use either MLVFS or g3gg0's new mlv_dump builds. If you want to record sound with mlv_rec you can turn on mlv_snd but note that you still can't record audio with raw_rec. You can also playback in camera by loading mlv_play but for 10bit/12bit playback you'll also need to load raw_twk. Hope this helps.
5D3.* 7D.206 700D.115 EOSM.203 EOSM2.103 M50.102

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6829
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #906 on: December 29, 2016, 11:03:53 PM »
Audio won,t work with raw_twk module on the eos m. You cannot delete video other than from file manager with raw_twk enabled. Other than that Eos M is one hell of a little beast with 10bit enabled. I use it a lot nowadays.

domasa

  • Member
  • ***
  • Posts: 106
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #907 on: December 30, 2016, 12:06:31 AM »
Quote
W * H * BD * FPS / 8 /1024 / 1024
(W &  H — frame width and height in pixels, BD — bitdepth, which now can be 10 or 12 instead of 14, FPS is frames per second, and converting to megabytes per second)

Is it right? Where is BD for second and third color? (R-G-B)

jpegmasterjesse

  • Member
  • ***
  • Posts: 100
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #908 on: December 30, 2016, 12:18:17 AM »
I'm having some success with my 5d2 and the December 19th builds.

MLV 10 BIT in Crop Mode is working perfectly minus frozen preview.
GIF: https://gfycat.com/ReflectingMadCod

However standard recording (not in crop mode) every other frame contains part of the 1st frame.
GIF: https://gfycat.com/ThoseObeseAllosaurus

Frank7D

  • Senior
  • ****
  • Posts: 456
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #909 on: December 30, 2016, 12:41:07 AM »
So on 7D I can get the Canon preview to work if I have preview set to "auto" and before I press record I cycle through the various displays using the "info" key and end on Canon preview. This is while using the 5x crop mode (not sure about non-crop yet).

PaulHarwood856

  • Senior
  • ****
  • Posts: 292
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #910 on: December 30, 2016, 01:14:37 AM »
Hello everyone,

     I tested 10 bit Raw Video recording on a Canon T3i. I was able to record 1280 x 544 for 25 minutes on a 32 GB Sandisk Extreme Pro 95 MB/SEC SD Card.

     One pink frame was recorded on the 6th DNG, and there are pink, green, blue tints, on the highlights of a fan I recorded.

     However, they aren't on every dng frame, it seems every other.

     I exported an H.264 version of the video and included 6 dngs along with MLVFS settings.

     Here is a Google Drive link to these files: https://drive.google.com/drive/folders/0Bz5n0qYxIkVON0g1WUVVMDM1NWc?usp=sharing

     MLRawviewer 1.4.3 will not play these files, they look like white static.

     Also, using MLVFS, I'm getting Embedded when trying to use Cinelog-C profile in Adobe Camera Raw. I will make sure to post to the MLVFS Forum, but I just wanted to mention this for 10 bit raw recording. This might be due to the camera model though.

      Sound worked fine for this video, I just have it muted for privacy reasons (was having a conversation with someone while this was recording).

      This was from DFort's December 18th Build, found here: https://bitbucket.org/daniel_fort/magic-lantern/downloads

      The settings I had for recording this video: 1280 x 544 Resolution, 2.35:1 Aspect Ratio, 10bpp, Global Draw Allow, Preview Options Auto, and the rest of the settings default. Override Audio settings on with 30 db Mic Boost. MLV Sound On. MLV_PLAY, MLV_REC, MLV_SND, AND RAW_TWK were the modules enabled.

     I was using a Lanparte LPE8 Battery Brick with LPE8 Dummy Battery to help avoid overheating.

      I hope this helps in some way!

- Paul Harwood

dfort

  • Developer
  • Hero Member
  • *****
  • Posts: 3751
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #911 on: December 30, 2016, 02:29:36 AM »
@PaulHarwood856

MLRawviewer won't work with 10bit/12bit MLV's.

Why do you have Bad Pixel Fix set to Aggressive?

One corrupted frame on a 25 minute recording is pretty good. Of course it would be better if there were none.

The color highlights on the fan are a problem. Would you be willing to try a debug build to see if we can fix that?
5D3.* 7D.206 700D.115 EOSM.203 EOSM2.103 M50.102

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6829
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #912 on: December 30, 2016, 02:38:13 AM »
@Paulharwood856.
Also try this version of mlv_dump (ml-dng branch) since it will work 10/12/14 bit files as well as provide correct white balance, camera model id tags(Not using localized camera model tags which can,t be used with acr dcp files)
mlv_dump
https://bitbucket.org/Dannephoto/ml-dng-dannephoto/downloads/mlv_dump

Code here ml-dng (dmilligan) reworked upon by bouncyball, maintained and updated with g3gg0 latest mlv_dump changes which I recently added.
https://bitbucket.org/Dannephoto/ml-dng-dannephoto

PaulHarwood856

  • Senior
  • ****
  • Posts: 292
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #913 on: December 30, 2016, 02:51:52 AM »
Hey dfort,

     I found Bad Pixel Fix helps with the 7D, maybe I'm wrong? Maybe not for the T3i? Yeah I can try a debug build, that would be great. Can you guide me into what needs to be done? I haven't done this before.

- Paul Harwood

PaulHarwood856

  • Senior
  • ****
  • Posts: 292
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #914 on: December 30, 2016, 02:54:44 AM »
Hey Danne,

     Ok great, I will try this version of mlv_dump, thanks! I'll make sure to check this page you linked to see updates and changes. Awesome!

- Paul Harwood

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6829
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #915 on: December 30, 2016, 02:56:36 AM »
Also try without bad pixel fix and see if that get rid of the strange highligts
Quote
The color highlights on the fan are a problem.

dfort

  • Developer
  • Hero Member
  • *****
  • Posts: 3751
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #916 on: December 30, 2016, 03:27:13 AM »
Yeah I can try a debug build, that would be great. Can you guide me into what needs to be done? I haven't done this before.

Ok, here's the debug build:

https://bitbucket.org/daniel_fort/magic-lantern/downloads/magiclantern-10bit_12bit_RAW_DEBUG_TYPE.2016Dec29.600D102.zip

It might work right away. The issue is that several cameras need to have the PREFERRED_RAW_TYPE defined, the 600D might be one of them. I started with a value of 0x10 which might do the trick but you can try other values. Go to the Debug menu, select the first item and you'll be able to change it.



Here's a more detailed explanation of what is going on:

https://bitbucket.org/hudson/magic-lantern/pull-requests/780/increase-raw_debug_type-limit/diff
5D3.* 7D.206 700D.115 EOSM.203 EOSM2.103 M50.102

maxotics

  • Hero Member
  • *****
  • Posts: 531
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #917 on: December 30, 2016, 04:20:57 AM »
I was able to do various  10-bit videos on the EOS-M.  1600x900 is amazing!  Files play fine in latest MLVProducer.   Amazing!  dfort you are DA MAN :)   I see builds for the 7D and it sounds like others have got it to work.  Should I stick with the EOS-M or should I, can I, try on 7D? 

PaulHarwood856

  • Senior
  • ****
  • Posts: 292
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #918 on: December 30, 2016, 04:21:54 AM »
Hey Danne,

     I just tried without Bad Pixel Fix, and the strange highlights were still there, but much less pronounced.

- Paul Harwood

PaulHarwood856

  • Senior
  • ****
  • Posts: 292
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #919 on: December 30, 2016, 04:32:08 AM »
Hey dfort,

     Ok great, I will try this debug build out! Thanks.

- Paul Harwood

PaulHarwood856

  • Senior
  • ****
  • Posts: 292
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #920 on: December 30, 2016, 04:34:41 AM »
Hey maxotics,

     If you get any success with the 7D, please post here. I haven't been able to get the settings right. Thanks.

- Paul Harwood

PaulHarwood856

  • Senior
  • ****
  • Posts: 292
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #921 on: December 30, 2016, 05:51:42 AM »
Quote
Hello everyone,

     I tested 10 bit Raw Video recording on a Canon T3i. I was able to record 1280 x 544 for 25 minutes on a 32 GB Sandisk Extreme Pro 95 MB/SEC SD Card.

     One pink frame was recorded on the 6th DNG, and there are pink, green, blue tints, on the highlights of a fan I recorded.

     However, they aren't on every dng frame, it seems every other.

     I exported an H.264 version of the video and included 6 dngs along with MLVFS settings.

     Here is a Google Drive link to these files: https://drive.google.com/drive/folders/0Bz5n0qYxIkVON0g1WUVVMDM1NWc?usp=sharing

     MLRawviewer 1.4.3 will not play these files, they look like white static.

     Also, using MLVFS, I'm getting Embedded when trying to use Cinelog-C profile in Adobe Camera Raw. I will make sure to post to the MLVFS Forum, but I just wanted to mention this for 10 bit raw recording. This might be due to the camera model though.

      Sound worked fine for this video, I just have it muted for privacy reasons (was having a conversation with someone while this was recording).

      This was from DFort's December 18th Build, found here: https://bitbucket.org/daniel_fort/magic-lantern/downloads

      The settings I had for recording this video: 1280 x 544 Resolution, 2.35:1 Aspect Ratio, 10bpp, Global Draw Allow, Preview Options Auto, and the rest of the settings default. Override Audio settings on with 30 db Mic Boost. MLV Sound On. MLV_PLAY, MLV_REC, MLV_SND, AND RAW_TWK were the modules enabled.

     I was using a Lanparte LPE8 Battery Brick with LPE8 Dummy Battery to help avoid overheating.

      I hope this helps in some way!

- Paul Harwood
Modify message

Although MLRawviewer will not play 10 bit or 12 bit .MLV files, I was able to install MLVProducer via Wineskin Winery for Mac. This plays 10 bit, 12 bit, and 14 bit files, nice!

- Paul Harwood

Rewind

  • Senior
  • ****
  • Posts: 356
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #922 on: December 30, 2016, 06:49:36 AM »
Is it right? Where is BD for second and third color? (R-G-B)
This is right. You forgot the Bayer pattern. There are only WxH pixels on the matrix. All three colors are among them.

dfort

  • Developer
  • Hero Member
  • *****
  • Posts: 3751
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #923 on: December 30, 2016, 07:35:39 AM »
Should I stick with the EOS-M or should I, can I, try on 7D? 

The EOSM should be working fine. From the reports testers have been posting it looks like it works on the 7D in crop mode which is sort of weird because CONFIG_EDMAC_RAW_SLURP is not defined on that camera.

Of course you're welcome to try it yourself and post your results.

BTW--I noticed some differences in the resolutions displayed between mlv_rec and raw_rec (MLV Lite) on the EOSM:

mlv_rec


raw_rec

5D3.* 7D.206 700D.115 EOSM.203 EOSM2.103 M50.102

reddeercity

  • Contributor
  • Hero Member
  • *****
  • Posts: 2256
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #924 on: December 30, 2016, 09:33:59 AM »
BTW--I noticed some differences in the resolutions displayed between mlv_rec and raw_rec (MLV Lite) on the EOSM:
That's because only bit reduction (10-12) was implemented and not a1ex's fine resolutions code , so basically it's the same old MLV+audio
with bit reductions . Some thing on my 5D2

looks like it works on the 7D in crop mode which is sort of weird because CONFIG_EDMAC_RAW_SLURP is not defined on that camera.
Don't forget the 5D2 work fine in mlv2.0 crop mode too  ;D  flawlessly
in fact I just finished a recording 8:00 green screen shot @ 2144x1076 10bit @23.976 + audio 16 bit 48khz
cool thing was 8 min at over 2K = only 30GB when extracted I had over 49GB each frame was 4.5MB @16bit Cdng (11,190 frame) and even had my HDMI Zacuto Evf  connected
All frames clear of any corruption  8)
I thing I notice was normally I have a few hot pixel in crop mode but noticed there was only one in 10bit mode , so does bit reductions reduce the load on the sensor ?
or just lucky .   

Edit: I'll post the results in a day or two