raw2mlv processing

Started by Danne, November 10, 2019, 03:45:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Walter Schulz

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.

IDA_ML

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

Quote from: IDA_ML on November 13, 2019, 05:22:59 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

Quote from: cmh on November 13, 2019, 06:14:44 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

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

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

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

Sure, Ilia3103, here you go:

https://we.tl/t-TvhpqWZhNH

It is a 5D3 file.

Danne

The file is not working to transcode on mac.

ilia3101

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

That's what I was about to say, libraw shows "only bayer-pattern raw files supported, sorry...."

ilia3101

Rawtherapee can open it though, I wonder how they do it. I thought they use libraw.

cmh

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

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

Yeah will have to add rawspeed, and discuss how to support it in MLV.


ilia3101

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

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

Interesting. Approachgin the possibilty to include sraw and also non raw files into MLV wrapper  8)

cmh

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

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; Canon EOS M,202,  CF-SanDisk Extreme PRO,160MB/s, 256GB, SD-SanDisk Extreme Pro, 170MB/s, 128GB.

Danne

Try open the dng in adobe camera raw. Set white balance and all is fine.

cmh

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

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

Quote from: Danne on November 14, 2019, 07:41:07 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; Canon EOS M,202,  CF-SanDisk Extreme PRO,160MB/s, 256GB, SD-SanDisk Extreme Pro, 170MB/s, 128GB.