Author Topic: mlv_rec problem? Not blacklevel? [black takes]  (Read 15233 times)

djordjevla

  • New to the forum
  • *
  • Posts: 16
mlv_rec problem? Not blacklevel? [black takes]
« on: April 11, 2014, 11:31:18 PM »
Hello everyone.
Like @g3gg0 said me in one of the topics, I opened this new topic about my problem.

I really don't know what the problem is about. I am really new to this forum, so please help me if you can somehow.

My problem is this:
http://s3.postimg.org/shtaimhg3/image.jpg

I filmed my exam film for academy in 5D MK III raw and about 15 of my takes are like this. I really need some of them.
So if somebody know how to fix it, please help me.  Informaton like "Use HexEditor" are not helpful for me :(

Also, here you can download one of DNG files so if you can, you can try to fix it...
http://www.sendspace.com/file/zrtryx


Thanks in advance,
Djordje Stojiljkovic

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #1 on: April 11, 2014, 11:49:39 PM »
Upload a DNG file obtained with raw2dng or mlv_dump.

djordjevla

  • New to the forum
  • *
  • Posts: 16
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #2 on: April 12, 2014, 12:01:04 AM »
This is DNG file taken from DNG2CRAW extracted folder.



g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3169
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #3 on: April 12, 2014, 02:15:55 AM »
please follow alex' instructions ;)

1. which module did you use? you wrote that you have .raw files and this topic says mlv
2. if mlv, please dump the first few hundred lines using "mlv_dump -v <file.mlv>"
3. dump some frames using "mlv_dump --dng -f 1-2 <file.mlv>" or using "raw2dng <file.raw>"
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!

djordjevla

  • New to the forum
  • *
  • Posts: 16
Re: Raw_rec module? Not blacklevel? [black takes]
« Reply #4 on: April 12, 2014, 11:58:27 AM »
Ou sorry :). I really don't know too much about this...

I didn't use MLV_rec, I've used raw_rec.modul.
What should I do?

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3169
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #5 on: April 12, 2014, 06:37:32 PM »
Upload a DNG file obtained with raw2dng or mlv_dump.

do this
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!


a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #7 on: April 13, 2014, 05:03:35 PM »
This file was not made with raw2dng. You can find it here: www.magiclantern.fm/forum/index.php?topic=5404

spnsir

  • New to the forum
  • *
  • Posts: 48
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #8 on: April 13, 2014, 07:42:00 PM »
I just shot an event last night on my 5d3 and this same thing happened. I have been shooting raw for months now without this problem.. About every fourth or fifth take had the same issue. I'll upload a raw via raw2dng very shortly. No settings were changed last night. Was shooting on magiclantern-Nightly.2014Apr09.5D3113.zip

chmee

  • Contributor
  • Hero Member
  • *****
  • Posts: 1031
  • raw2cdng
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #9 on: April 13, 2014, 07:47:54 PM »
this file above was made with raw2cdng(!) not raw2dng.

spnsir

  • New to the forum
  • *
  • Posts: 48
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #10 on: April 13, 2014, 07:49:03 PM »

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3169
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #11 on: April 13, 2014, 07:51:41 PM »
@djordjevla:
you wrote once:

change the black level with exiftool "type exiftool -BlackLevel=2048 *.dng
but I not sure what your black level should be on 5d3.
I really tried everything and I am not so good to do anything with HEX Editor.
I have also tried to change it in Exiftool, like you wrote, but I got that error, too....
Is there any help for me?? I have some really important takes which I need to be returned :(

and i still bet that this will work.
try once again with that .dng that you get with raw2dng

@spnsir:
try that exiftool hint
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!

spnsir

  • New to the forum
  • *
  • Posts: 48
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #12 on: April 13, 2014, 08:08:37 PM »
Exiftool black level shows up as 4049. Running that command "exiftool -BlackLevel=2048 *.dng" fixes it and the image looks normal again. Awesome!

Now, any ideas as to why this has started happening? I noticed one thing I had different last night was an extra module enabled, pic_view

rainless

  • Member
  • ***
  • Posts: 152
  • Don't Leave Without Pictures
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #13 on: April 13, 2014, 10:58:07 PM »
Exiftool black level shows up as 4049. Running that command "exiftool -BlackLevel=2048 *.dng" fixes it and the image looks normal again. Awesome!

Now, any ideas as to why this has started happening? I noticed one thing I had different last night was an extra module enabled, pic_view

I doubt it's that. I think the problem is the program that you used to convert the raw to dngs the first time around.

Could also have been the version of ML you were using (as there was a problem with the default black level being off a week or two ago.)
The Gear - Canon 5D Mark II, Yongnuo 565EX flash, PhotoSel 3mx3m backdrop stand with 3mx3m muslin backdrops. Elinchrom D-Lite 4 it studio lights, some big-ass 110cm reflector. Unlimited German Models

chmee

  • Contributor
  • Hero Member
  • *****
  • Posts: 1031
  • raw2cdng
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #14 on: April 13, 2014, 11:29:52 PM »
it seems, he used my converter. BUT its the first issue in this way i've heard. looking into the tags, all is quite ok. 16bit debiased/maximized to 0-65535

@djordjevla
please tell
converter-app and version
AND
modell - ML-Firmware Version (date?)

regards chmee

spnsir

  • New to the forum
  • *
  • Posts: 48
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #15 on: April 14, 2014, 01:15:58 AM »
I doubt it's that. I think the problem is the program that you used to convert the raw to dngs the first time around.

Could also have been the version of ML you were using (as there was a problem with the default black level being off a week or two ago.)

Yes, I used this ML version (first time using it having previously used various nightlies without issue): magiclantern-Nightly.2014Apr09.5D3113.zip

Also, it wasn't the converting app. The video playback (in-camera while I was shooting the event) showed the incorrect black level, but this did not occur in all the clips I shot, only about 5-10% of clips it seems and I couldn't figure out why that was happening. I will update ML and if the issue persists on my next shoot I will reply to this thread.

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3169
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #16 on: April 14, 2014, 11:40:59 AM »
There is a race condition in which the black levels are not correctly calculated yet when ML is reading and storing them in the raw rec info struct.
You can set them to 1024 or 2048 depending on your camera and video settings.
5D3 for example always has 2048 as far I can tell. A 5D2 also has 1024 sometimes.

You might autodetect it in your tool and warn if its too far off.
MLV format tells you the camera name and id. For raw rec you could provide a drop down selection.
This way a user could correct it during conversion if he gets such errors.
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!

rainless

  • Member
  • ***
  • Posts: 152
  • Don't Leave Without Pictures
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #17 on: April 14, 2014, 11:16:41 PM »
it seems, he used my converter. BUT its the first issue in this way i've heard. looking into the tags, all is quite ok. 16bit debiased/maximized to 0-65535

@djordjevla
please tell
converter-app and version
AND
modell - ML-Firmware Version (date?)

regards chmee

which converter is yours? I thought you were the raw2cdng guy...
The Gear - Canon 5D Mark II, Yongnuo 565EX flash, PhotoSel 3mx3m backdrop stand with 3mx3m muslin backdrops. Elinchrom D-Lite 4 it studio lights, some big-ass 110cm reflector. Unlimited German Models

chmee

  • Contributor
  • Hero Member
  • *****
  • Posts: 1031
  • raw2cdng
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #18 on: April 14, 2014, 11:36:41 PM »
:D i am. the filename and the tiftags look as its from raw2cdng.

djordjevla

  • New to the forum
  • *
  • Posts: 16
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #19 on: April 14, 2014, 11:59:42 PM »
I've used

raw2cdng.1.4.9.7

About firmware, I am not so sure, dute to the fact it was his hdslr.
I'll ask him asap.

rainless

  • Member
  • ***
  • Posts: 152
  • Don't Leave Without Pictures
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #20 on: April 15, 2014, 01:18:48 AM »
Wait a minute... what's an "h"dslr?

Why does it seem like everyone's throwing me curveballs today... :)
The Gear - Canon 5D Mark II, Yongnuo 565EX flash, PhotoSel 3mx3m backdrop stand with 3mx3m muslin backdrops. Elinchrom D-Lite 4 it studio lights, some big-ass 110cm reflector. Unlimited German Models

djordjevla

  • New to the forum
  • *
  • Posts: 16
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #21 on: April 15, 2014, 01:39:48 AM »
ok, with his CAMERA :)

djordjevla

  • New to the forum
  • *
  • Posts: 16
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #22 on: April 16, 2014, 10:28:12 PM »
Did anyone have any success with this frame?

I am very afraid of the fact that these black frames can't be returned?


g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3169
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!

spnsir

  • New to the forum
  • *
  • Posts: 48
Re: mlv_rec problem? Not blacklevel? [black takes]
« Reply #24 on: April 18, 2014, 07:12:36 PM »
Did anyone have any success with this frame?

I am very afraid of the fact that these black frames can't be returned?

I had the exact same problem and following the posts in this thread fixed it for me. Look at my posts in this thread and the responses and it should work for you. Thanks @g3gg0 and everyone for the quick help