Author Topic: Dual ISO Raw Video processing on Mac?  (Read 30538 times)

SuperJackRabbit

  • New to the forum
  • *
  • Posts: 13
Dual ISO Raw Video processing on Mac?
« on: August 28, 2013, 04:06:00 PM »
I spent several hours to figure out how to process the CR2 files with Dual ISO feature,but it's different when it came to Raw videos.... :'(

After shooting raw video in Dual ISO mode,I use the RAW2DNG(0.13 version)to process the XXXX.RAW files,but the lines are still in every frame...it just convert the RAW files into DNG sequences and do nothing to Dual ISO...

PressureFM

  • Member
  • ***
  • Posts: 171
Re: Dual ISO Raw Video processing?
« Reply #1 on: August 28, 2013, 05:00:06 PM »
Hint: cr2hdr.

Danne

  • Hero Member
  • *****
  • Posts: 3612
Re: Dual ISO Raw Video processing?
« Reply #2 on: August 28, 2013, 05:05:24 PM »

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: Dual ISO Raw Video processing?
« Reply #3 on: August 28, 2013, 05:25:00 PM »
Serious pain right now:

.Raw/MLV -> DNG -> cr2hdr

nandoide

  • New to the forum
  • *
  • Posts: 41
Re: Dual ISO Raw Video processing?
« Reply #4 on: August 28, 2013, 05:50:49 PM »
No, it's similar than processing monoiso raw video. You only need a specific version of raw2dng.exe from first post of the thread http://www.magiclantern.fm/forum/index.php?topic=7139.0. No need of cr2hdr.


1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: Dual ISO Raw Video processing?
« Reply #5 on: August 28, 2013, 06:31:36 PM »
So latest raw2dng will do the dual ISO raw files? I haven't tried yet, only using it for stills.

Code: [Select]
/** HDR video interpolation */
/** Technical details: http://a1ex.magiclantern.fm/bleeding-edge/isoless/dual_iso.pdf */

/* choose interpolation method (define only one of these) */
#define INTERP_MEAN23
#undef INTERP_MEDIAN_6


Yea, its in there it appears.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 10704
  • 5D Mark Free
Re: Dual ISO Raw Video processing?
« Reply #6 on: August 28, 2013, 07:10:49 PM »
The algorithm is not that good as with latest cr2hdr, but should work.

nandoide

  • New to the forum
  • *
  • Posts: 41
Re: Dual ISO Raw Video processing?
« Reply #7 on: August 28, 2013, 07:56:12 PM »
Yes, it works very well in crop mode. In normal mode we obtain coloured groups of dots, I think probably aliasing. An example.

https://www.dropbox.com/s/823nmk7d7zwvsmh/M24-1127000012.dng

Same result if I process with raw2dng.exe mono_iso and apply cr2hdr or cr2hdr_exp to dngs, obtained by raw2dng.exe dual_iso.

(6D)

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 10704
  • 5D Mark Free
Re: Dual ISO Raw Video processing?
« Reply #8 on: August 28, 2013, 07:58:36 PM »
Can you upload an interlaced DNG?

nandoide

  • New to the forum
  • *
  • Posts: 41
Re: Dual ISO Raw Video processing?
« Reply #9 on: August 28, 2013, 08:34:03 PM »
Of course. The same frame processed with raw2dng.exe mono_iso:

https://www.dropbox.com/s/br7jllyqe6rjpu9/M24-1127000012.interlaced.dng

I've been trying differents methods of demosaicing in rawtherapee whitout luck.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 10704
  • 5D Mark Free
Re: Dual ISO Raw Video processing?
« Reply #10 on: August 28, 2013, 09:44:06 PM »
Can you take a silent picture? That one includes black level and noise info, which is missing from the raw video for size (speed) reasons.

edit: are you using lv_af_raw? these artifacts don't look like aliasing...

edit 2: ISO difference : 6.28 EV (7779)

You went too far, try 100/1600 or 100/400...

edit 3: I think I've solved it.



Raise the ISO 100 by 64 before ISO matching (this value is HUGE, usual values are 2-5, and the Batman shot had 20 iirc). Or wait until I'll implement a fix (most likely tomorrow).

nandoide

  • New to the forum
  • *
  • Posts: 41
Re: Dual ISO Raw Video processing?
« Reply #11 on: August 28, 2013, 11:24:45 PM »
Buf, yes is a big difference in isos, but no perceived issues in crop mode (indeed very powerful tool for macro video (invaluable) : raw+dualiso+3x crop, no significant detail loss and good control of highlights in flowers and so on) It's the mode that I are using mainly.

At this folder I put another test ("mike wasorsrki" test with silent pics and iso 100/6400), The dots are far less perceived than  the previous example (only in the edges of the speaker holes in the right). The silent pics are better.

https://www.dropbox.com/sh/mlawr8tgfsb25zm/C1CcLNwK2M

edit 1: I don't use lv_af_raw (I supose because I don't know what is this  ;) , another module?)

Thanks a lot.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 10704
  • 5D Mark Free
Re: Dual ISO Raw Video processing?
« Reply #12 on: August 28, 2013, 11:27:00 PM »
This is because silent pics contain all the info to find and fix the black offset.

Fortunately, most of it can be guessed by linear regression.

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: Dual ISO Raw Video processing?
« Reply #13 on: August 29, 2013, 12:01:45 AM »
AF raw has been off forever.. those look like af raw marks but sideways. I've never seen them but also haven't done too much 100/6400

SuperJackRabbit

  • New to the forum
  • *
  • Posts: 13
Re: Dual ISO Raw Video processing?
« Reply #14 on: August 29, 2013, 04:31:17 AM »
I do use the CR2HDR to convert CR2 files into DNG files, and it works very well....And I try to use it to convert Raw files,it says"/Users/MnZnP/Desktop//M28-1959.RAW File not Supported",Then I use the RAW2DNG 0.13version as the latest version on Mac,I get all DNG files with those lines,and the put the DNG files into CR2HDR,it also says:/Users/MnZnP/Desktop/M28-1959_dng/000082.dng File not Supported" :-\

I ask several people and everyone told me the answer is in http://www.magiclantern.fm/forum/index.php?topic=7139.0 ,but I am a Mac user and I can't run exe files like latest raw2dng.exe,any solution to work on Mac?    ???

elarturex

  • New to the forum
  • *
  • Posts: 8
Re: Dual ISO Raw Video processing?
« Reply #15 on: August 29, 2013, 04:39:48 AM »
Fun Weekend At Timothy Lake, Oregon (Video + Timelapse)

Shot with GoPro HERO2, GoPro HERO3, Canon 5D Mark II with Magic Lantern (14 bit RAW Video) and Canon 7D with Magic Lantern (Dual ISO RAW Timelapse)


jbarkey

  • Just arrived
  • *
  • Posts: 1
Re: Dual ISO Raw Video processing on Mac?
« Reply #16 on: September 06, 2013, 05:55:42 AM »
Been shooting RAW for a while on my 5D3, but first stab at the dual ISO. How can I run the CR2HDR on my Mac? I've converted my .RAW files, and I want to get rid of everyone's favourite lines. If you can just send me to a post or someone's comment that might enlighten me, it'd be much appreciated!

geodorno

  • New to the forum
  • *
  • Posts: 11
Re: Dual ISO Raw Video processing on Mac?
« Reply #17 on: September 13, 2013, 07:01:43 PM »
Can someone please compile a mac version of the newest cr2hdr, which can process DNGs?
I did some testing with dual ISO raw recording on 60d, but can't get my hands on a PC...

Thanks so much for making my camera more fun!!!
---   keep it magic   ---

geodorno

  • New to the forum
  • *
  • Posts: 11
Re: Dual ISO Raw Video processing on Mac?
« Reply #18 on: September 13, 2013, 07:09:35 PM »
Also, it would be awesome to have a option for extracting the bright and dark frames separately. So you can make HDR with other software, like Photomatix.
But i really like the dng cr2hdr outputs from cr2 files, you can use the fill light slider in camera raw a lot!!! so much DR, and now motion artifacts like in HDR video mode...

thanks so much, guys!!!!
---   keep it magic   ---

N/A

  • Hero Member
  • *****
  • Posts: 576
  • Dreaming in 14 bit
Re: Dual ISO Raw Video processing on Mac?
« Reply #19 on: September 14, 2013, 09:59:26 AM »
To process dual iso video files on mac, you need the latest cr2hdr mac gui here-
https://bitbucket.org/a_d_/magic-lantern/downloads

and an app to change the extensions of the .dng's to CR2 in one batch, like this one-
http://www.mrrsoftware.com/MRRSoftware/NameChanger.html

I converted my .raw files into dng with RawMagic, but I'm seeing a lot of debayering issues. Might Raw2Dng instead. Once you have your .dng's in one folder, open NameChanger and pull all of them into the app. Type in .dng in the original text box and .CR2 in the new text box, and process them. Then drag the entire folder to the cr2hdr app and convert them back to .dng processed into the dual iso version. Edit like normal.
7D. 600D. Rokinon 35 cine. Sigma 30 1.4
Audio and video recording/production, Random Photography
Want to help with the latest development but don't know how to compile?

geodorno

  • New to the forum
  • *
  • Posts: 11
Re: Dual ISO Raw Video processing on Mac?
« Reply #20 on: September 14, 2013, 01:00:31 PM »
unfortunately, this doesn't work for me.
I tried to extract the raw file with rawmagic and raw2dng, works fine.
than after renaming with this nice tool you linked, I can open the cr2 files in camera raw (photoshop), but cr2hdr still says "file not supported".
I tried older version of cr2hdr as well as the the version 1.1 you linked...
I'm on 60D, by the way.
any ideas?

thanks
---   keep it magic   ---

N/A

  • Hero Member
  • *****
  • Posts: 576
  • Dreaming in 14 bit
Re: Dual ISO Raw Video processing on Mac?
« Reply #21 on: September 14, 2013, 01:31:34 PM »
Try .CR2 instead of .cr2

I THINK that was my problem too, I'll have to double-check
7D. 600D. Rokinon 35 cine. Sigma 30 1.4
Audio and video recording/production, Random Photography
Want to help with the latest development but don't know how to compile?

khurra

  • New to the forum
  • *
  • Posts: 14
Re: Dual ISO Raw Video processing on Mac?
« Reply #22 on: September 14, 2013, 05:49:30 PM »
this is the error I'm receiving:

Input file : 000000.CR2
sh: exiftool: command not found sh: dcraw: command not found sh: dcraw: command not found Error: dcraw output is not a valid PGM file Logfile    : 000000.txt


RenatoPhoto

  • Moderators
  • Hero Member
  • *****
  • Posts: 1509
  • 5DM3 / 7D
Re: Dual ISO Raw Video processing on Mac?
« Reply #23 on: September 14, 2013, 06:07:20 PM »
this is the error I'm receiving:

Input file : 000000.CR2
sh: exiftool: command not found sh: dcraw: command not found sh: dcraw: command not found Error: dcraw output is not a valid PGM file Logfile    : 000000.txt
Forum Rules: no double posting!
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

a.d.

  • Member
  • ***
  • Posts: 126
Re: Dual ISO Raw Video processing on Mac?
« Reply #24 on: September 15, 2013, 01:34:42 PM »
@khurra
You also need to download OSX_cr2hdr.zip, a few links below. I've already provided a pkg installer for dcraw and exiftools.