MLVFS - a FUSE based, "on the fly" MLV to CDNG converter

Started by dmilligan, August 31, 2014, 02:01:24 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

senzazn12


Quote from: dmilligan on October 02, 2014, 03:15:12 AM
I've implemented a very experimental dual ISO conversion (I really prefer to think of it more as a preview). It's nowhere near the quality of cr2hdr and probably not all that useable for real work yet, but it's realtime...

Where can we try this out? Thanks for providing this to us.

Danne

Hi David. A realtime viewer on dual iso moviefiles. Not bad at all! Mlvfs should be in camera as well ;).
I did a fast comparison between cr2hdr and mlvfs. Don,t know if it,s relevant. Just two original dng;s and then applied the same settings lifting shadows and such.
I provide the dng;s in two links. Also linking to the original mlv file (about 350mb) if anyone wants to play around.
Off to work then.

screencaptures:
cr2hdr

mlvfs

cr2hdr

mlvfs


dng files:
https://drive.google.com/file/d/0B4tCJMlOYfirUnBtOHNDdGllTjg/edit?usp=sharing
https://drive.google.com/file/d/0B4tCJMlOYfirWFJaenVhTG50eWc/edit?usp=sharing

Mlv original dual iso file:
https://drive.google.com/file/d/0B4tCJMlOYfirMDg0VV84VlplV28/edit?usp=sharing

dmilligan

Quote from: senzazn12 on October 02, 2014, 05:25:20 AMWhere can we try this out?
Download links are in the first post. Mac version has been updated, ayshih will need to update the Windows version.

escho

I tried to compile, but I run into an undefinied reference:

edgar@linux-indh:~/mlvfs/mlvfs> make
gcc -c -Wall -std=gnu99 -D_FILE_OFFSET_BITS=64 dng.c -o dng.o
gcc -c -Wall -std=gnu99 -D_FILE_OFFSET_BITS=64 index.c -o index.o
gcc -c -Wall -std=gnu99 -D_FILE_OFFSET_BITS=64 wav.c -o wav.o
gcc -c -Wall -std=gnu99 -D_FILE_OFFSET_BITS=64 kelvin.c -o kelvin.o
gcc -c -Wall -std=gnu99 -D_FILE_OFFSET_BITS=64 stripes.c -o stripes.o
gcc -c -Wall -std=gnu99 -D_FILE_OFFSET_BITS=64 cs.c -o cs.o
gcc -Wall -std=gnu99 -D_FILE_OFFSET_BITS=64 main.c dng.o index.o wav.o kelvin.o stripes.o cs.o -pthread -lfuse -lm -o mlvfs
/tmp/ccayy0ec.o: In function `mlvfs_read':
main.c:(.text+0x1b8b): undefined reference to `hdr_convert_data'
collect2: error: ld returned 1 exit status
make: *** [mlvfs] Fehler 1


What did I wrong?

OpenSuse13.1 64bit
Newest sources

Edgar
https://sternenkarten.com/
600D, 6D, openSUSE Tumbleweed

ayshih

@escho: The Makefile had not been updated for compilation on Linux.  Try again now.
Canon EOS 50D | 17–40mm f/4L & 70–300mm f/4.5–5.6 DO IS | Lexar 1066x

escho

https://sternenkarten.com/
600D, 6D, openSUSE Tumbleweed

ayshih

Quote from: dmilligan on October 02, 2014, 03:15:12 AM
I've implemented a very experimental dual ISO conversion (I really prefer to think of it more as a preview).
Quote from: dmilligan on October 02, 2014, 12:59:22 PM
ayshih will need to update the Windows version.
The Windows/PFM version of MLVFS now has the same (experimental) dual ISO support.
Canon EOS 50D | 17–40mm f/4L & 70–300mm f/4.5–5.6 DO IS | Lexar 1066x

dmilligan

some stability improvements and fixed the exiftool issue with cr2hdr --same-levels, Mac binary updated

Danne

Quotesome stability improvements and fixed the exiftool issue with cr2hdr --same-levels, Mac binary updated

Wow. Just like that :). Confirmed working. Tested on mac binary cr2hdr20bit. This would be a killer now with kitchehof lightroom plugin.
Can I ask you of a terminal command. Lets say I want to convert a bunch of dual iso folder and use some drag and drop command to terminal instead of selecting all files within folders and dragging those to terminal window. I tried a little with recursive command but I really don,t get it.

For now I 1) drag cr2hdr20bit to terminal 2) enter the folder, selects all pictures, drag those to terminal 3) enter.
What I like is able to select all folders and drag those to terminal.
Thanks David!

dmilligan

You can use 'find' and 'xargs' to recurse into subdirectories:

find /path/to/parent/directory -name '*.dng' | xargs /path/to/cr2hdr --any-cr2hdr-options-here

This will convert all dngs anywhere inside /path/to/parent/directory. Is that what you're looking for?

Danne

Thanks a lot, gonna check into this later tonight.
Dual iso conversion is a breeze now since you fixed exiftool. Great work.

Danne

Awesome!! With your script command I,m only one click away now. Created a bashscript to a folder I will use on my desktop. Thank you a lot. Most grateful.

Danne

A little monkey wrenching on a late sunday afternoon :)
Scriptbased batchconversion of dual iso dng files.
http://youtu.be/J5JR3oCYcFE?list=UUomeOeghS6wanMOCQ8BtH_A

swinxx

hello,
i really like the idea and workflow of this tool, but have just realized, that the free version of davinci resolve 11 has no hot cold pixel correction for raw files (as far as i know). so i wonder if  - hot/cold pixel correction will be possilbe in the near future?
i ask because i had a video shoot the other day, where i recognized a bad pixel in the middle of the screen and it is really annoying.

thank you for your time and engagenment. greets. swinxx

dmilligan


swinxx


dmilligan

bad pixel correction is implemented, please test

it's kinda slow (~2fps on my machine), IDK if there's much way around that, there's a couple more possible optimizations, but I doubt it will ever be realtime

swinxx

thank you dmilligan, i will test it at the weekend, you are great!
that should help a lot!
so i see a seperate bad pix script, is there chroma smoothing and/or dual iso implemented too?

btw.. i was download number 1 :))

greets. sw

dmilligan

Yes, chroma smoothing is implemented. There is also a dual ISO "preview", quality is not very good. It will run if you have "DUAL" in the path name.

dmilligan

Well, there were getting to be too many options, and I wanted there to be a way to turn them off and on without restarting mlvfs. So I have embedded a little webserver (mongoose) in mlvfs for configuring options at runtime (this also eliminates the need for all those different automator workflows). The new mac workflow will automatically popup the configuration page in the web browser when you start it. You can always get to it at http://localhost:8000 when mlvfs is running. This will be a great help in the future as options start to proliferate, it also may be useful for displaying status/error information.

@ayshih, mongoose should work on windows, but this may not be as useful since you have to multiple instances (and the webservers would conflict), so you may want to simply disable this with macros

Danne


swinxx

Sounds promising. Thank you for your hard work. Im looking forward to try the new version at the weekend;)

swinxx

Hi dmilligan!

i have tried the new badpixel option, but here in my specific shot my bad pixel is not gone.
so i see no difference in on and off position.

please take a look here:
https://copy.com/LjWpLtXeqIrO0AtK

should i contact a1ex, or is my problem not a bad pixel?

thank you very much..


dmilligan

That pixel doesn't appear to be bad enough to trigger correction based on the current algorithm, because I've assumed a value for dark noise rather than calculating it (for speed), and this pixel was just barely below that threshold (so the algorithm basically thinks it's dark noise, not a hot pixel). The threshold was conservatively high, so I'll lower it a little. Thanks for the feedback.

swinxx

thanks dmilligan!

i´m looking forward for the update.

greets. swinxx