MLVProducer: [v3200]

Started by AWPStar, May 29, 2015, 10:44:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AWPStar

@Andy600
I do not really understand what is IRE(and its range), and what coefficient should i use to scale input values.
in this doc i've seen
Quotescale = (2**14.0)/float(l.n-1.0)
f = float(i)*scale
But it's just normalizing.


So coefficient should be 1/1.095, but then I get white point value = 0.575.
MLVProducer. p.s. sorry for my bad english.

Andy600

IRE is basically a relative scale (percentage) for the amplitude of a video signal.

In the context of Slog and Canon log (only) this scaling function is the difference between log encoding of the legal range values or the full range values. In post production and luts, if you don't scale the input values as per the exact formula requires, the inverse (log2lin) function will produce incorrect linear code values and will shift the black, middle grey and white levels - sometimes clipping pixel values and introducing noise/artifacts. It's quite clever but can be a bitch to understand or implement.

I'll see if I can find a correct implementation of it in source code for you.
Colorist working with Davinci Resolve, Baselight, Nuke, After Effects & Premier Pro. Occasional Sunday afternoon DOP. Developer of Cinelog-C Colorspace Management and LUTs - www.cinelogdcp.com

dpjpandone

I don't think this will answer your question about IRE, but I just wanted to share this document with you, There is some great info in here regarding color encoding, LOG transforms, and LUTS:

http://library.imageworks.com/pdfs/imageworks-library-cinematic_color.pdf

and there are some great resources at the bottom, one of them is a website dedicated to color conversion maths:

http://brucelindbloom.com/

AWPStar

@Andy600
that would be great!

@dpjpandone
Very useful. thx for sharing.
MLVProducer. p.s. sorry for my bad english.


kutu

bugs that i found so far:
1. press "Calc" for black level doesn't apply it immediately, i need to change any settings to apply it
2. if mlvproducer is not in focus and i press F11 in any other applications, it invokes "going to fullscreen" in mlvproducer

suggestions:
1. if video ended, and i press space again, it should start playback again
2. middle mouse button resets setting, its good, but i think many people will try dbl click to reset settings as in adobe apps
3. use arrow keys / mouse wheel for sliders to change value
4. mouse wheel for zoom in preview
5. "output folder" set it by default the same as mlv file, or add option for it in mlvproducer settings
6. remember window position setting on exit, if i "maximize window", it should maximize it on open (maximize is not F11)
7. add highlight black/white clipping option
8. i'm not a pro and i don't understand all this colorspace things, but i wish there would be a "none" setting to export video "as is" (maybe i just dont undrestand how to do that)
from app: http://puu.sh/jKjQm/1118758fe0.jpg
as is: http://puu.sh/jKjRB/c6b975bff7.jpg (chrome smoothing 2x2, this picture will produced by MLVMystic or mlv_dump)

i use 650D and shoot mlv in aspect ratio 2.35:1 1728x736

focus dots remover works great, only can notice it if i shift exposure to +5
http://puu.sh/jKmMW/b4d44e1fb0.jpg
http://puu.sh/jKmM6/b7c5ef80ce.jpg

this is dng file if you need example to reduce focus dots even better
https://yadi.sk/i/fyc4Asa0ibJ2v

and this is original mlv file (first 11 frames, cutted with mlv_dump)
https://yadi.sk/d/v3xJ2LpGibXXz

so far, this is the best app i've seen to work with raw-video
thank you for your work

ps it would be nice, if you can create twitter account just to notify about new builds

dpjpandone

I've noticed that the included SLOG is way off, changing gamma to around -2.20 corrects this.

I've also notice the same as the above post. I would also expect SRGB to look like his example from mlv dump. It seems that perhaps a lot of the functions that are converting from linear may have errors. Can I take a look at your code, at least the lines where the transforms are done, to see if I can help?

dpjpandone

OK,

  I downloaded your MLV file (sorry it took so long, it was 1GB, had to do it at work on fast internet)

I made a screen capture of MLV Producer in SRGB, SLOG, and SLOG with Kodak 50D LUT applied (this LUT designed for SLOG)
I also took screen capture of MLRawViewer in the same 3 settings to show the difference.

I uploaded the 6 files here: https://www.dropbox.com/sh/7zybdggpu3jocl7/AAC9KCKZkR6t8buwOfsUpwIVa?dl=0

There is not much color in the MLV file of the lighthouse, but the difference is still apparent. When you look at examples that has a lot of color in the image, it is even more noticeable. I have tried numerous combinations of colorspaces/corrections and no matter what i do, the resulting image always seems underexposed and desaturated. I thought perhaps It was just me until i saw the images posted above by Kutu.

Since the results are the same regardless of colorspace, it makes me think perhaps the problem lies in the first transform before conversion to any of the colorspaces. I don't know how the processing pipeline goes, but I imagine it debayers to linear first and then converts to the selected colorspace?

Please let me know if there is anything I can do to help you with this. I can send more footage, more test images, more LUT's, review code,  whatever you need.

As always, I really appreciate your hard work on this app, and i feel like this could easily become the best solution for rendering dailies/proxy's of MLV footage with just a few minor adjustments.

Thanks!

AWPStar

Sorry, I was at the cottage - built bath.

@dpjpandone
will look at this code. Thx!

@kutu
Lot of good ideas, thank you!
-ill fix F11 bug.
-I will fix FD-pattern.
Quotebut i wish there would be a "none" setting to export video
It is linear.
Thank you!


@dpjpandone
mlv.bas
Very messy code for reading
raw_Get16bit - main function
GenerateLUT - generates lut

I don't know why mlvrv makes oversaturated images. you get "as-is" image out of mlvp.

Order:
-Decoding from 14bit
-Apply Lut(converting to color space)
-Debayering

MLVProducer. p.s. sorry for my bad english.

AWPStar

i found out that mlrawviewer overexpose image in accordance with white level(recorded to rawi block) and lose details in highlights.
So i won't use white level values. Black level is not accurate too.



Quotefocus dots remover works great, only can notice it if i shift exposure to +5
found this bug!
MLVProducer. p.s. sorry for my bad english.

DeafEyeJedi

Really nice work, @AWPStar!

Loving the progress made so far...

and yet more to come!

*edit*

Downloaded latest beta (8/14) and will test/troubleshoot on Mac and report back asap.

Can't wait to use the PDR feature especially for the M. Thanks!
5D3.113 | 5D3.123 | EOSM.203 | 7D.203 | 70D.112 | 100D.101 | EOSM2.* | 50D.109

AWPStar

New version (v1206)
Mirror
#Twitter

CHANGELOG:
Quote-added: Common H264 codec
-added: Highlights clipping button
-added: Saving window position
-added: file folder as default option
-added: playback from start by pressing Space

-fix: fullscreen hotkey
-fix: blacklevel calc
-fix: focus dots
MLVProducer. p.s. sorry for my bad english.

extremelypoorfilmaker


mario1000

Dear AWPStar,

thanks a lot for your work, but I am not a able to extrct the latest zip-Archive with WinRAR 5.21. When I try to open the zip-File, all I see is a message "unexpected end of archive" and there are only 5 files in the archive: 2 folders entitled "data" and "output" as well as 3 other files: bass.dll, changelog and ffmpeg.exe. In the older archives there where also files like "mlvproducer.exe", "mlv.dll" and "ppfx.dll". Could you please check whether there is an error in the archive or if I made a mistake?

BR

vertigopix

Yes, i can confirm that the archive of your new release is corrupted.   :(

AWPStar

I am sorry guys! Somehow sourceforge damaged this archive. It should be 12.7mb, but after downloading it is 11.7...

mlvp.alpha.build1206
Mirror
MLVProducer. p.s. sorry for my bad english.

AWPStar

I compared the results "SLOG" in OcIO(linear to slog) with my function - match. But not with MLRV.

I found the way to convert from linear to cineon, slogf35, logc, log, redlog, and mb bmcfilm, slog3, cinelog

If you need other color space, pls upload to 3DLut(linear to CS)
MLVProducer. p.s. sorry for my bad english.

AWPStar

MLVProducer. p.s. sorry for my bad english.

kutu

1. found footage with noticable focus dots, but only with "Reconstruct" option, "Lift" and others works fine
Reconstruct http://puu.sh/jRxkb/b308752ee6.jpg
Lift http://puu.sh/jRxkO/27fd313fa4.jpg
first 15 frames of original mlv https://yadi.sk/d/vTHllX6jiiZx6

2. "Clipping Highlights" icon could have gray lines when not active

3. it would be nice to have bigger "waveform" view, for exmaple dbl click it and new window popup like "render queue", with "always on top" option enabled

X-STATE

Body: Canon EOS 70D Lenses: Sigma 18-35mm f1.8 DC HSM Canon EF 85 f/1.8 USM
70D.112

AWPStar

@kutu

1. Well yeah.. another bug.

3. i plain to make BIG RGB Parade ;)

@X-STATE
Need lut (linear to visionlog) or 2 picture files. First with linear CS, second with visionlog. i think i got it
MLVProducer. p.s. sorry for my bad english.

AWPStar

Another good news!


No_Noise_Reduction
With_Noise_Reduction
and
ACR
NeatVideo_x1
NeatVideo_x5

now i am experimenting with optical flow. Probably i can make detail restore filter.
MLVProducer. p.s. sorry for my bad english.

DeafEyeJedi

Wow -- Really nice progress, @AWPStar!

I think the Your customized NR and NeatVideo_x1 seems to be the best out of all 4.

ACR works OK but has a little softness to it.

NVx5 adds too much softness, IMO.

Again it all depends on the scene/take situation.

Optical Flow would definitely help restore the details a bit more.
5D3.113 | 5D3.123 | EOSM.203 | 7D.203 | 70D.112 | 100D.101 | EOSM2.* | 50D.109

KelvinK

6D - 5D - NEX - M50!

AWPStar

what if add file setting at the end of the file as external block?
MLVProducer. p.s. sorry for my bad english.