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

Danne

  • Hero Member
  • *****
  • Posts: 3474
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1350 on: August 27, 2017, 12:29:14 AM »
Take a 14bit MLV file and output it as 8bit and have a look at the output. Use mlv_dump on steroids for this:
Code: [Select]
mlv_dump -b 8 --dng Input.MLV

kyrobb

  • Member
  • ***
  • Posts: 115
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1351 on: August 28, 2017, 12:54:22 AM »
In my very unprofessional opinion, 8 bit raw files still look better than the standard H.264 videos. I think they're still sharper. Recovery in shadows and highlights is no comparison to 14 bit, but I still feel it could be useful for people with slower cams. But is it possible?

Danne

  • Hero Member
  • *****
  • Posts: 3474
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1352 on: August 28, 2017, 01:09:31 AM »
Can you upload 8bit example files where it shows no posterization for example?

kyrobb

  • Member
  • ***
  • Posts: 115
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1353 on: August 28, 2017, 01:19:33 AM »
I tested this some time ago, and not very thoroughly, but I don't remember seeing posterization problems. Perhaps I didn't output as 8 bit correctly. Will have to retest. Thank you for the info.

keepersdungeon

  • Member
  • ***
  • Posts: 135
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1354 on: August 30, 2017, 08:53:55 AM »
I've downloaded the latest experiment version for the 6D (21august)

1-When u activate the FPSoverride the whole image becomes brighter and overexposed , and looks like shutter speed doesn't affect it the only thing that worked was going to f8 or f16, didn't have that prob with previous version (Jul03)
 **FPS settings: 24fps, fix, and the rest didn't touch it

2-I'm also getting this error every time I start recording on an empty SD card (error was in both versions jul03 and august21)
   "FAILED: "WBAL3: queued:7 failed: 1 (requeued)" and I only get it once it doesn't seem to affect the video though or WB, and have a feeling I only get it when there's nothing on the SD card and I hit Record
So nobody is having the errors mentioned above? If I'm missing something would really like some help from you guys.
Thanks

Sent from my Pixel using Tapatalk


OlRivrRat

  • Senior
  • ****
  • Posts: 257
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1355 on: August 31, 2017, 02:34:44 AM »
      @KeepersDungeon

   Quote from: keepersdungeon on August 26, 2017, 12:03:25 PM

I've downloaded the latest experiment version for the 6D (21august)

   1-When u activate the FPSoverride the whole image becomes brighter and overexposed , and looks like shutter speed
doesn't affect it the only thing that worked was going to f8 or f16, didn't have that prob with previous version (Jul03)
   **FPS settings: 24fps, fix, and the rest didn't touch it

   In FPSoverride do You have "OptimizeFor" set to "LowLight" ~ If so switch to some other pram' & see it that helps ~

                                 ORR ~ DeanB
ORR~DeanB  ~~  80D-ML  &  SL1+ML  &  5D2+ML  &  5DC+ML  &  70D+ML.111B(DEAD)

keepersdungeon

  • Member
  • ***
  • Posts: 135
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1356 on: September 02, 2017, 03:45:03 PM »
      @KeepersDungeon

   Quote from: keepersdungeon on August 26, 2017, 12:03:25 PM

I've downloaded the latest experiment version for the 6D (21august)

   1-When u activate the FPSoverride the whole image becomes brighter and overexposed , and looks like shutter speed
doesn't affect it the only thing that worked was going to f8 or f16, didn't have that prob with previous version (Jul03)
   **FPS settings: 24fps, fix, and the rest didn't touch it

   In FPSoverride do You have "OptimizeFor" set to "LowLight" ~ If so switch to some other pram' & see it that helps ~

                                 ORR ~ DeanB
Hello, thanks for you reply.
I tried them all they all did the same thing on x5 or x10 the image becomes brighter

Sent from my Pixel using Tapatalk


overflow

  • New to the forum
  • *
  • Posts: 3
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1357 on: September 15, 2017, 07:58:30 PM »
7D Users,

I played around with the 10/12bit Magic Lantern build for 7D found here: https://bitbucket.org/reddeercity/magic-lantern_10-12bit/downloads/magiclantern-10bit_12bit_raw_twk_crop_rec.2016Dec01.7D203.zip
I was shocked when I managed over 2min of continuous 2520x1200 video @ 24fps with working Liveview and in camera playback! I used a Lexar 64GB 1066x card.

Here’s a guide for noobs like myself who wish to try it out.

-In Modules menu enable mlv_play.mo, raw_rec.mo and raw_twk.mo.
-In Movie menu set FPS override to 24 FPS Exact.
-Enable RAW video and set Bit depth to 10, return to Liveview and do 5x zoom, return to Movie menu set resolution to 2520x1200,
-In Overlay menu set Global Draw to OFF, return to Liveview in 5x zoom
-Hit record!

When the camera is turned off and in some other situations when you attempt to record in 5x zoom mode Liveview will freeze. Go back to Overlay menu, enable Global Draw again, return to Liveview 5x zoom, go back again and disable Global Draw, return to Liveview one last time, hit record and you will again be able to view what you are recording.

Most of the time I get around 1min40sec of continuous 2.5k video :)

Edit: I've noticed there's a few of pixles in the bottom right corner of video that do strange things..

Thanks tonij, I followed your step by step instructions and I manage to record in 10 bit successfully on my 7d. However, no matter what I do the liveview always freezes. How did you manage to see what you're recording?

tonij

  • New to the forum
  • *
  • Posts: 19
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1358 on: September 20, 2017, 11:10:20 AM »
Thanks tonij, I followed your step by step instructions and I manage to record in 10 bit successfully on my 7d. However, no matter what I do the liveview always freezes. How did you manage to see what you're recording?

Did you follow my guide exactly? When it does freeze do this:

Go back to Overlay menu, enable Global Draw again, return to Liveview 5x zoom, go back again and disable Global Draw, return to Liveview one last time, hit record and you will again be able to view what you are recording.

overflow

  • New to the forum
  • *
  • Posts: 3
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1359 on: September 24, 2017, 04:48:00 PM »
Did you follow my guide exactly? When it does freeze do this:

Go back to Overlay menu, enable Global Draw again, return to Liveview 5x zoom, go back again and disable Global Draw, return to Liveview one last time, hit record and you will again be able to view what you are recording.

Thanks again. There's something odd, I tried your step by step instructions and it still freezes. Do you have any other special settings on ML?

overflow

  • New to the forum
  • *
  • Posts: 3
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1360 on: September 28, 2017, 01:54:31 PM »
Working on 10-12bit 1:1 on 5D2 , as we know 3x crop works with 10 & 12 bit reduction but not 1:1 really well .
Thou in 12bit 1:1 you can record with corruption on every other frame on the top 100 or so lines .
I'm currently seeing the feasible of using bit reduction in a up coming documentary I been hired to shoot in 2 weeks for the sierra club (usa)
My needs are long shoot times , so low bite rate fits the bill .
Here a list of resolution's size I was possibly thinking of using with 12bit in 1:1 (as there corruption on the top of frame)
with the adjusted crop to remove corruption. I also listed the file size for 60 second or so to get max time for minimum card space
The base line is 14 bit 1856x928 23.976 fps (My minimum spec. for HD broadcast as it need to be up upscaled)
Code: [Select]
1856x928  23.976 14bit 59.9 seconds 1437 frames 4.05 GB 1:1 Liveview  ( 2:1 A.R.)
Code: [Select]
1856x1114 23.976 12bit 64.8 seconds 1554 frames 4.51 GB (crop adjust 1856x988) 126 line crop 1.878542510121457 A.R.
1856x1044 23.976 12bit 64.8 seconds 1554 frames 4.23 GB (Crop Adjust 1856x953) 91 line crop  1.947534102833158 A.R.
1856x1004 23.976 12bit 60.3 seconds 1447 frames 3.78 GB (crop Adjust 1856x932) 72 lines crop 1.991416309012876 A.R.
1856x928  23.976 12bit 60.1 seconds 1442 frames 3.49 GB (crop adjust 1856x895) 33 lines crop 2.073743016759777 A.R.
   

So There is really no saving after cropping , but 3x crop mode is a different matter all together .
Here 10bit really save me , as I can have to 20min per 64GB Card @ 1920x1076 @ 23.976fps
Thou the field of view is reduced , looks like the 24mm will gets a work out  :D
Code: [Select]
1920x1076 23.976 10bit 59.9 seconds 1437 frames 3.47 GB  (3x Crop Mode)  1.784386617100372 A.R.
So I save about 500 MB per minute which will add up fast. 4x 64gb card should be around 80 min's of 10bit 2K or 1920x1076.
Now I can use my slower 60MB/s CF cards to get
Code: [Select]
1856x928 23.976  10bit 60.1 seconds 1443 frames 2.91 GB  (3x crop)  (2:1  A.R.)
It looks like I'll being shooting in 10bit 3x crop for this doc.

Now for the real reason I started this post , as I said I'm work on 1:1 liveview 5d2 10-12bit.
I've being working on older code with .raw , just to keep it as simple as possible before I move on to .mlv full & mlv_lite.
At this Point I can record 10bit & 12bit , with out any lockups or screen freezes all overlays are working while recording bit reduction.
When not in bit reduction it return to 14bit and of course it work without problems.

Now the Problem  ::) there is always a problem , my issue is decoding the .raw to  dngs
My question is can I convert the .raw to .mlv ? as mlv_dump seem not to understand .raw
I'm currently uploading some of the .raw file to my Google drive to share , when done I'll post the links.

I couldn't get the 7d to work without freezing the liveview. So I bought a used 5d2 and spent last evening modifying and compiling the code on a trial and error. I can now get no corruption consistently by disabling the double buffer, but there's a bit of image shifting appearing at the top part from the previous frame.

dfort

  • Hero Member
  • *****
  • Posts: 2091
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1361 on: September 29, 2017, 08:56:24 AM »
It is interesting that some cameras that haven't been coded to work with 12/10bit seem to be working fine in crop mode. What I recently discovered is that some of the cameras in the 12/10bit branch are not working in crop mode (the 600D "Move crop mode). I'm testing with the EOSM and 700D. Anyone care to try it out and report back?
EOSM.202 EOSM.203 EOSM2.103 700D.115 5D3.*

andy kh

  • Senior
  • ****
  • Posts: 323
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1362 on: September 29, 2017, 11:27:44 AM »
What I recently discovered is that some of the cameras in the 12/10bit branch are not working in crop mode (the 600D "Move crop mode). I'm testing with the EOSM and 700D. Anyone care to try it out and report back?

70D works fine

IDA_ML

  • Member
  • ***
  • Posts: 113
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1363 on: September 29, 2017, 11:52:58 AM »
100D works fine too, even with sound!  Just playback of already recorded files yields a black screen but this used to work on previous builds, so I guess, it could be easily fixed.

dfort

  • Hero Member
  • *****
  • Posts: 2091
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1364 on: September 30, 2017, 07:20:02 AM »
Thanks for the feedback. What I should have said was if you're seeing flickering on the bottom of the LV when recording in the 600D Movie crop mode.

By the way, it has been a while since unified was merged into this branch so I gave it a shot and it merged cleanly. Tested on the EOSM and 700D (firmware version 115) and it is working fine--though it still has the flickering I just mentioned.
EOSM.202 EOSM.203 EOSM2.103 700D.115 5D3.*

JimiHendrix

  • Just arrived
  • *
  • Posts: 2
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1365 on: October 19, 2017, 06:23:01 PM »
Hi, I am using this build with my 6d for 10bit/12bit video and am encountering a strange shutter speed bug that I don't get on the main Nightly Build. It seems that whatever I set the manual shutter speed too (M mode) in Canon it always displays 1/27.01th 333deg TV5.6 in the expo menu and it won't let me change it. It displays a different figure if I change the frame rate but seems impossible to get the standard 1/50th sec. I've tried disabling things and all kinds of combinations to no avail.

Any help would be much appreciated! Thanks!

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 10447
  • 5D Mark Free
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1366 on: October 21, 2017, 01:20:34 AM »
Is it a a display issue, or does the image brightness stay fixed as well?

The 6D is blindly maintained - can you record a video of the camera screen to show the issue, and also the difference from the regular nightly build?

In manual movie mode at 25 fps, ML should show 1/33.333 when Canon shutter speed is set to 1/30, and 1/50.000 when it's 1/50. Do you get these values on the nightly build?

JimiHendrix

  • Just arrived
  • *
  • Posts: 2
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1367 on: November 02, 2017, 07:57:44 PM »
Hi, thanks a lot for your reply and apologies for my slow response!

I've made video showing how my shutter speed is set to 1/50th and ISO 160 in manual mode. I then go to the ML Menu and it shows 1/27.01th 333deg TV5.6 ...the video is here https://drive.google.com/file/d/0B4n8mHr_jKcLUVY2Vy1GTmFXWEU/view?usp=sharing

I also notice (and you can see in the video at 0.31 secs) the ISO seems to change to 200.

With the regular nightly build I get the values you have said in your message.

Thanks again!

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 10447
  • 5D Mark Free
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1368 on: November 03, 2017, 07:24:51 AM »
Unable to evaluate the issue from Canon info screen - there are some important details not printed there. Press INFO to show ML screen.

Unable to locate the comparison with regular nightly (must be with the same settings in Canon and ML menus).

What happens at other shutter speeds?

What are your modified ML settings? (Delta menu; in particular, FPS override and Shutter fine-tuning)

From what I could tell, the ISO changes were triggered by autofocus (Canon firmware does that). Then, ML's gradual exposure makes the change a bit more obvious, but that only happens one second after AF, so it shouldn't be a show stopper.

PlantDaniel

  • Just arrived
  • *
  • Posts: 2
Re: 12-bit (and 10-bit) RAW video development discussion
« Reply #1369 on: November 06, 2017, 02:00:51 PM »
I have issues with my 6D recording 10 bit 60fps RAW Video (using the highest resolution possible)

1. Extreme Aliasing: I have only shot 24fps RAW on a 70D before, which had pretty crippling aliasing already. The 6D tops it though - I don't know whether that is a known issue of the 6D or if it is due to the stretching I have to apply in post when working with Slow Motion footage. Anyways - any suggestions on how to decrease aliasing (in camera or in post)?

2. Weird Colour Artifacts: In Landscape shots, where a lot of the scene is in focus, I get weird colour lines of purple/blue and orange colour in my image. They seem to be only present in the area where the focus sits. Is that a known issue, if so: What can I do about it?

Here is a video showcasing the problems, pay attention to the structure of the rock, where the focus sits: https://www.youtube.com/watch?v=_PvSyJ_RX5g

I am using the 10 bit/12 bit nightly build fro Aug21 2017.

Post processing was as follows: Convert MLV to DNG via raw2cdng 1.7.9 - import into Davinci Resolve 14. No colour correction was added, the clip was slowed down to 24fps in post. Resolve is not the issue - I have rendered it with After Effects too, same problems.