Author Topic: 3K/UHD 5D2 Raw development and Other Digic IV Cams  (Read 160828 times)

jpegmasterjesse

  • Freshman
  • **
  • Posts: 97
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #675 on: May 03, 2019, 01:44:57 AM »
EDIT - I don't need to contribute to bad vibes. Appreciate everyone's hard work.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12297
  • Emergencies only
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #676 on: May 03, 2019, 12:11:57 PM »
Hacking the hack. Let's take one of the builds from first post:

April 16 2019
2.6k_5d2_R_T_PreView_4-7-2019_crop_rec.rar

It contains a single file: crop_rec.mo. Put it in your magic-lantern/modules directory and run:
Code: [Select]
./module_hginfo_dump.sh crop_rec.mo

Result:
Code: [Select]
Build date  : 2019-04-05 04:19:36 UTC
Build user  : david@reddeercity

diff -r 8bfbb0ca228e modules/crop_rec/crop_rec.c
...
< what follows is the complete source code of crop_rec, displayed as diff from changeset 8bfbb0ca228e >

Changeset 8bfbb0ca228e is public (exactly where reddeercity indicated). The diff embedded in the binary module (crop_rec.mo in our case) contains all changes to that module, since the reference changeset.

Et voilà, you've got the complete source code.

Ilia3101

  • Contributor
  • Hero Member
  • *****
  • Posts: 683
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #677 on: May 03, 2019, 12:34:04 PM »
Nice ;)

Maybe we should make an agreement with reddeercity - keep releasing as before, and we will extract the source using that method.

Thoughts ? (@Danne/@dfort/@Audionut/@anyone who's said anything about this)
5D2, MLV App

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 5925
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #678 on: May 03, 2019, 12:43:35 PM »
Hacking the hack. Let's take one of the builds from first post:

It contains a single file: crop_rec.mo. Put it in your magic-lantern/modules directory and run:
Code: [Select]
./module_hginfo_dump.sh crop_rec.mo

Result:
Code: [Select]
Build date  : 2019-04-05 04:19:36 UTC
Build user  : david@reddeercity

diff -r 8bfbb0ca228e modules/crop_rec/crop_rec.c
...
< what follows is the complete source code of crop_rec, displayed as diff from changeset 8bfbb0ca228e >

Changeset 8bfbb0ca228e is public (exactly where reddeercity indicated). The diff embedded in the binary module (crop_rec.mo in our case) contains all changes to that module, since the reference changeset.

Et voilà, you've got the complete source code.

dfort did the same to complete unreleased code as well but frankly, who cares? And if this is the important part of this, to me, very strange "collaboration" approach, it can´t take long to backtrack several places where nothing is returned when asking for it. Even if everything is published(i know it isn´t and frankly I don´t care about the code), it´s faul play in my book, he´s even admitting that the very reason for keeping posts coming is about testing "trollers"? Come on. Is this what this forum is about? Honestly, I thought more of this place...

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12297
  • Emergencies only
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #679 on: May 03, 2019, 12:56:01 PM »
I agree, things could be a lot better. What I mean is that reddeercity did not actively take steps towards hiding the source code. Rather, I believe he just had some difficulties getting started with Mercurial.

TLDR - yes, it's not the preferred way of sharing things, but I don't see it as a GPL violation.

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 5925
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #680 on: May 03, 2019, 01:01:43 PM »
TLDR - yes, it's not the preferred way of sharing things, but I don't see it as a GPL violation.
That's a good thing though.
I would label it communication breakdown. Leaning towards either getting this cam myself and do all presets or take active measures to stay off this topic completely(no threat intended)  8).

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12297
  • Emergencies only
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #681 on: May 03, 2019, 01:05:55 PM »
No need, my plan is to make crop_rec fully generic on all models (arbitrary resolutions, binning factors and frame rates, within the sensor readout speed limits).

That is, I'm going to use the current code (preset-based) only as documentation.

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 5925
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #682 on: May 03, 2019, 01:17:16 PM »
Didn't see that one coming. Looking forward to this coded artwork.

Audionut

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3565
  • Blunt and to the point
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #683 on: May 03, 2019, 01:30:21 PM »
Ah.....thanks a1ex.

I did check back through several pages, hence the merged duplicate posts, and I did check the OP, but it was a speed-read of the OP.  No apologies though, because.....

One could have taken the high road and simply linked to the correct current source, everything sorted.  Pats on the back, apologies.  I mean, you could even link to the current source, and still take a jab at the lack of reading skills of the participants of the conversation.

.......the op got what he was after!

Igor_Braun

  • Freshman
  • **
  • Posts: 90
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #684 on: May 03, 2019, 10:30:23 PM »
Ugh.. That was the "coming of gods" time... So, i just wanna say to @banertop, that my 1x1 on h264 is absolutely distorted, but not with lines... It was absolutely wrecked.
I do not know if this will be any use in this thread but anyway just in case.




Video from phone (sorry for shaky footage):
https://drive.google.com/file/d/1Rwb-UcuOI658NBkzb3biFNm-PGJScFrk/view?usp=sharing

Footage from camera:
https://drive.google.com/open?id=1Lye4j21sme_KfOt8bBoIVQy-tIphahHT

Also, my 5d2 started to have some problems with turning on, I don't know if it's related to the ML build:
https://drive.google.com/file/d/1vGMVn1rD5uO7QnOF6xHv0GOPU8Zh7h1f/view?usp=sharing

banertop

  • Freshman
  • **
  • Posts: 65
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #685 on: May 03, 2019, 11:38:48 PM »
@Igor_Braun
Dont be sad about 1:1 mode.....it is really not worth it.....just an interesting idea, to shoot h264 in crop mode :)

Igor_Braun

  • Freshman
  • **
  • Posts: 90
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #686 on: May 04, 2019, 01:49:34 AM »
@banertop, Yeah... And as i said, it was very very useful on my previous 650d when shooting some kind of events

Bender@arsch

  • New to the forum
  • *
  • Posts: 18
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #687 on: May 04, 2019, 04:05:43 PM »
I tested the new crop module and at the beginning I thought everything was great, no stripes or anything and I can change the Shutterspeed as I want, but ... later i see "sometimes" (not everytime or always) false greenish blacklevel for some sec.
Yes, I record ALL in manuel mode and i have testet the 1/48 shuterspeed too -> same resultat

Btw. if i set shuterspeed to 1/33, it set to 1/26 -> good for low light

Here a short testfootage, no correction, F11,3, iso 100, 1/48, 10bit (112 black, 1013 white), temp. 5800 -> false blacklevel here at the beginning :
https://www.dropbox.com/s/n11skw92t0fo6et/M04-1357.mov?dl=0

Igor_Braun

  • Freshman
  • **
  • Posts: 90
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #688 on: May 04, 2019, 09:40:20 PM »
By the way, i can confirm that, i have the same thing that Bender@arsch has

Macke1

  • New to the forum
  • *
  • Posts: 33

masc

  • Contributor
  • Hero Member
  • *****
  • Posts: 1374
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #690 on: May 06, 2019, 07:59:23 PM »
See first post in this thread.
5D2.212 | EOSM.202

Macke1

  • New to the forum
  • *
  • Posts: 33
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #691 on: May 06, 2019, 09:23:04 PM »
ok, i forgot it that the 1 is in the first post, sorry but i can't see 30 only 24 25. this image shows 30


kitor

  • Contributor
  • Member
  • *****
  • Posts: 130
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #692 on: May 07, 2019, 08:23:38 AM »
Change PAL/NTSC region in camera.
EOS R

Macke1

  • New to the forum
  • *
  • Posts: 33
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #693 on: May 07, 2019, 05:31:14 PM »
#kitor Thanks will try when i coming home! it worked thanks!


reddeercity

  • Contributor
  • Hero Member
  • *****
  • Posts: 2084
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #694 on: May 12, 2019, 06:26:34 AM »
 @a1ex yes, you're exactly right .

 Just pick up a cheap 50d body from my local camera store with 90 day warranty  :D
when I have time I want to build on @aprofiti early work & porting 3k/UHD crop_rec to 50d
Code: [Select]
Report : Canon EOS Digital INFO - v1.4 - CANON EDSDK v2.14
-------------------------------------------------------------------------
Camera Product Name : Canon EOS 50D
Serial Number : XXXXXXXXXXX
Firmware Version : 1.0.3
Shutter Counter : 21006
Battery Level : Battery Level : 80%
Camera Date/Time : Saturday, May 11, 2019 , 11:48:43 PM
Still need to be updated to firm 1.09v , only has 21k shutter activations
Very good shape , just like new almost , $300 cad ($225 usd) .

So I'm wondering now after all that did I waste my time getting this 50D ?
Is the drama over now , can I get back to work ?

FYI , I have always known that a1ex was going to make a generic crop_crop for all cams
but I couldn't wait that long , and this thread is the result of the effort .

banertop

  • Freshman
  • **
  • Posts: 65
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #695 on: May 12, 2019, 09:03:27 PM »
well guys,

after some testing, i can say that 2.6k build is the best thing ever happened to 5d2!!!

More useful than anything before -......very filmic, nice resolution, very nice aspect ratio, not so terrible crop with lens like sigma 18-35....

For now, only con is aliasing

5d2 is finally so close to be a true film camera....

BUT....is it possible to deal with aliasing and moire problem? In other crop modes there is no aliasing issues

reddeercity

  • Contributor
  • Hero Member
  • *****
  • Posts: 2084
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #696 on: May 13, 2019, 05:08:32 AM »
BUT....is it possible to deal with aliasing and moire problem?
show me please , upload a dng or short mlv file .
It can't happen in 5x zoom , because you are in true 1:1 pixel so there no pixel binding or line skipping .
If I open up the horizontal & vertical to the maximum (5632x3752) which is = to the full res cr2
https://www.magiclantern.fm/forum/index.php?topic=19336.msg205622#msg205622

I have canon "L" lens and I never seen aliasing and moire pattern in crop_rec ,
I use my EF 24-70 f2.8L at 24 in crop_mode and no issue .

reddeercity

  • Contributor
  • Hero Member
  • *****
  • Posts: 2084
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #697 on: May 13, 2019, 06:13:52 AM »
ran a adtg_gui log in 1080 mode & 5x zoom mode on the 50d
Looks almost like the 5d2 exactly , just different cmos numbers
shouldn't be too hard to get this in the D4/5D2 crop_rec code .
50D-adtg_gui_1080mode.log
50D-adtg_gui_5xZoom.log

banertop

  • Freshman
  • **
  • Posts: 65
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #698 on: May 13, 2019, 12:59:22 PM »

reddeercity

  • Contributor
  • Hero Member
  • *****
  • Posts: 2084
Re: 3K/UHD 5D2 Raw development and Other Digic IV Cams
« Reply #699 on: May 13, 2019, 11:55:32 PM »
No a original dng & or a short mlv file , all  I see is bad h264 compression (blocky) & hi ISO noise