Author Topic: raw2mlv processing  (Read 5234 times)

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 7041
Re: raw2mlv processing
« Reply #50 on: November 13, 2019, 05:34:31 PM »
BIOS/UEFI should be unrelated!
My recommendation: Check virus/internet protection software first and make sure it is not blocking. Run exe from command line and check for log entries (for
virus/internet protection and Windows event logs, too).
If problem persists I would recommend to enter a Teamviewer session with Process Monitor (Sysinternals/Microsoft) logging raw2mlv activities.
Photogs and videographers: Assist in proof reading upcoming in-camera help!. Your input is wanted and needed!

IDA_ML

  • Hero Member
  • *****
  • Posts: 731
Re: raw2mlv processing
« Reply #51 on: November 13, 2019, 05:51:22 PM »
Thanks Walter,

After I get back from work, I will check if Windows defender blocks the RAW2mlv.exe file.  I don't have any other virus protection software installed.

cmh

  • Contributor
  • Freshman
  • *****
  • Posts: 81
Re: raw2mlv processing
« Reply #52 on: November 13, 2019, 06:14:44 PM »
CMH,

Thank you so much for your patience with me.  I am at work right now and tested the software package from your post #46 on my work computer (Q6600 CPU with 8 GB of RAM and Nvidia GTX 750 GPU).  And it works like a charm according to your procedure #1 above.  RAW2mlv.exe does not seem to like my home laptop (Dell Precision M6600 with i7 CPU, 32 GB of RAM and 3000M GPU).  Is there anything I could change in the BIOS maybe to get it to work?

You're welcome. Is there any chance that the Dell Precision M6600 is on a 32 bits version of Windows ?
Other than that, you might want to check your antivirus like Walter Schulz suggested.

IDA_ML

  • Hero Member
  • *****
  • Posts: 731
Re: raw2mlv processing
« Reply #53 on: November 13, 2019, 06:22:11 PM »
You're welcome. Is there any chance that the Dell Precision M6600 is on a 32 bits version of Windows ?

No, I run Win7x64 on the M6600 and am very pleased with the overall performance.  Never had any problems with it.

cmh

  • Contributor
  • Freshman
  • *****
  • Posts: 81
Re: raw2mlv processing
« Reply #54 on: November 13, 2019, 06:51:09 PM »
Right, you might want to try this slightly older build on your M6600 then:
https://github.com/cmhamiche/raw2mlv/raw/master/raw2mlv_Win64.zip
This build won't be maintained tho.
Eventually, you'll have to fix those problems if new features comes out.

IDA_ML

  • Hero Member
  • *****
  • Posts: 731
Re: raw2mlv processing
« Reply #55 on: November 13, 2019, 10:48:51 PM »
CMH,

I have now tried the following on my M6600:

1) Disconnected the computer from the internet and deactivated Windows defender

2) Tried the new version from your post #46 and the old version from your post #54.  I pasted the files from the archives in C:\Temp along with a file called IMG_7673.CR2.  I used the command line as you suggested.  RAW2mlv crashes  again but before this happens, I get the following messages on the screen:

Output name set to C:\Temp\test.mlv
Opening file C:\Temp\IMG_7673.CR2
0.67220, -0.06350, -0,06930
-0.42870, 1.24600, 0.20280
-0.09080, 0.21629, 0.56680

Then the program crashes generating an empty test.mlv file.




 

ilia3101

  • Moderators
  • Hero Member
  • *****
  • Posts: 855
Re: raw2mlv processing
« Reply #56 on: November 13, 2019, 11:15:08 PM »
Looks like it's having problems writing the file 🤔

Can you upload on of your files? I just want to see if it could be caused by that.

IDA_ML

  • Hero Member
  • *****
  • Posts: 731
Re: raw2mlv processing
« Reply #57 on: November 14, 2019, 08:43:41 AM »
Sure, Ilia3103, here you go:

https://we.tl/t-TvhpqWZhNH

It is a 5D3 file.

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6262
Re: raw2mlv processing
« Reply #58 on: November 14, 2019, 08:55:49 AM »
The file is not working to transcode on mac.

ilia3101

  • Moderators
  • Hero Member
  • *****
  • Posts: 855
Re: raw2mlv processing
« Reply #59 on: November 14, 2019, 09:54:31 AM »
Interesting, does not work for me. Segmentation fault 11.

Update: I have found that it incorrectly reads width of the raw file as 3960 and the height as 2640. The mark 3's resolution is 5760x3840

UPDATE 2: I see this is not raw, it's sraw, not bayer. No idea what kind of image sraw is. The MLV format does not support this. Or maybe it does, but has never been implemented.

cmh

  • Contributor
  • Freshman
  • *****
  • Posts: 81
Re: raw2mlv processing
« Reply #60 on: November 14, 2019, 10:28:49 AM »
That's what I was about to say, libraw shows "only bayer-pattern raw files supported, sorry...."

ilia3101

  • Moderators
  • Hero Member
  • *****
  • Posts: 855
Re: raw2mlv processing
« Reply #61 on: November 14, 2019, 10:35:16 AM »
Rawtherapee can open it though, I wonder how they do it. I thought they use libraw.

cmh

  • Contributor
  • Freshman
  • *****
  • Posts: 81
Re: raw2mlv processing
« Reply #62 on: November 14, 2019, 11:09:01 AM »
They are using darktable's implementation of rawspeed apparently.
Here's some oldish info on how to compile libraw with rawspeed support:
https://github.com/LibRaw/LibRaw/blob/master/README.RawSpeed.txt
https://gitlab.com/ImageMagick/LibRaw/blob/master/README.RawSpeed.txt
https://github.com/FMeinicke/QtRaw
edit: You'll probably loose your sanity fiddling with mingw tho
https://github.com/darktable-org/rawspeed

edit: I was wrong, for Rawtherapee it's dcraw they maintain internally.

IDA_ML

  • Hero Member
  • *****
  • Posts: 731
Re: raw2mlv processing
« Reply #63 on: November 14, 2019, 12:03:22 PM »
Ooops, forgot to mention that this file was shot in mRAW format.  ACR opens it just fine, so I did not think of that.  Sorry guys.

ilia3101

  • Moderators
  • Hero Member
  • *****
  • Posts: 855
Re: raw2mlv processing
« Reply #64 on: November 14, 2019, 12:58:45 PM »
Yeah will have to add rawspeed, and discuss how to support it in MLV.

cmh

  • Contributor
  • Freshman
  • *****
  • Posts: 81
Re: raw2mlv processing
« Reply #65 on: November 14, 2019, 01:00:55 PM »

ilia3101

  • Moderators
  • Hero Member
  • *****
  • Posts: 855
Re: raw2mlv processing
« Reply #66 on: November 14, 2019, 01:49:42 PM »
Does anyone know what kind of image sraw and mraw is? I'm quite certain it's not bayer. Is it RGB or YUV? (I think i've heard something like that)

@cmh Interesting. Looks like they have the correct colour matrix for the mark II in that JSON... so it's a mystery why rawtherapee gives such wrong colours ::)

cmh

  • Contributor
  • Freshman
  • *****
  • Posts: 81
Re: raw2mlv processing
« Reply #67 on: November 14, 2019, 02:58:32 PM »
YCbCr according to this:
http://lclevy.free.fr/cr2/#sraw
edit: it is encoded in YCbCr 4:2:2 and needs interpolation for the Cb and Cr values.


Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6262
Re: raw2mlv processing
« Reply #68 on: November 14, 2019, 05:36:05 PM »
Interesting. Approachgin the possibilty to include sraw and also non raw files into MLV wrapper  8)

cmh

  • Contributor
  • Freshman
  • *****
  • Posts: 81
Re: raw2mlv processing
« Reply #69 on: November 14, 2019, 05:51:41 PM »
I'm reading this right now:
https://github.com/lclevy/libcraw2

"Libcraw2 has two kind of interfaces:
an C API, mainly used by crawtool, to offer CR2 data handling in a Camera agnostic way
an Python extension, PyCraw2 a simpler API which goal is to offer all required functions to render RAW data into a 16bits RGB image, either from RAW (RGGB) or sraw/mraw (YCbCr) data."

vstrglv

  • Member
  • ***
  • Posts: 222
Re: raw2mlv processing
« Reply #70 on: November 14, 2019, 07:07:24 PM »
https://github.com/cmhamiche/raw2mlv/raw/master/raw2mlv_Win64.zip works very good on win10.64 . Thank you very much!
But if i try CR2 dual iso  from 5d3 to raw2mlv, then mlv to MLV App 1.9, Forced Dual ISO, Export as DNG there is only a pink frame. If an out format is tif there is no problem.What is wrong?
Canon 5D3,1.1.3 CF-SanDisk Extreme PRO,160MB/s, 256GB, SD-SanDisk Extreme Pro, 95MB/s, 64GB.

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6262
Re: raw2mlv processing
« Reply #71 on: November 14, 2019, 07:41:07 PM »
Try open the dng in adobe camera raw. Set white balance and all is fine.

cmh

  • Contributor
  • Freshman
  • *****
  • Posts: 81
Re: raw2mlv processing
« Reply #72 on: November 14, 2019, 07:42:40 PM »
Ilia3101 might answer that question I certainly cannot, but I think posting the cr2 file might be helpful (and I could try myself out of curiosity).
@Danne is it a known bug?

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6262
Re: raw2mlv processing
« Reply #73 on: November 14, 2019, 08:01:21 PM »
Yes, preview is wacky but information seems ok. Asshotneutral tag might be off too. Easily reproduced. Transcode a cr2 into a mlv. Open it up in mlv app and export it to a dng. Now check the file...

vstrglv

  • Member
  • ***
  • Posts: 222
Re: raw2mlv processing
« Reply #74 on: November 14, 2019, 08:10:35 PM »
Try open the dng in adobe camera raw. Set white balance and all is fine.
Thank you! Tint was max.-+150
Canon 5D3,1.1.3 CF-SanDisk Extreme PRO,160MB/s, 256GB, SD-SanDisk Extreme Pro, 95MB/s, 64GB.