Author Topic: Canon 5D Mark IV  (Read 347723 times)

yourboylloyd

  • Senior
  • ****
  • Posts: 298
Re: Canon 5D Mark IV
« Reply #475 on: September 17, 2020, 05:39:30 PM »
I just asked around for the rom in the discord chat. You should really join it!
Join the ML discord! https://discord.gg/H7h6rfq

chris_overseas

  • Moderators
  • Member
  • *****
  • Posts: 233
Re: Canon 5D Mark IV
« Reply #476 on: September 17, 2020, 06:43:05 PM »
is there any one out there on the forum that have the source for the 5D Mark iv ?

The best place to start would be with my old BitBucket repository, it contains the most recent progress on the 5D4 along with a (somewhat inaccurate) todo list of sorts. The difficulty is that BitBucket deleted all their Hg repos, plus my home PC (where my copy of the repo lives) is currently in storage (I'm part way through a house move). To make things worse I'm also away travelling for the next few weeks with no ability to access my home PC in the meantime. Your best bet would be to find someone who backed up the BitBucket Hg repos and grab a copy of my code from what used to be https://bitbucket.org/chris_miller, and see how you go from there.
EOS R5 1.1.0 | Canon 16-35mm f4.0L | Tamron SP 24-70mm f/2.8 Di VC USD G2 | Canon 70-200mm f2.8L IS II | Canon 100-400mm f4.5-5.6L II | Canon 800mm f5.6L | Canon 100mm f2.8L macro | Sigma 14mm f/1.8 DG HSM Art | Yongnuo YN600EX-RT II

Ant123

  • Contributor
  • Member
  • *****
  • Posts: 161
Re: Canon 5D Mark IV
« Reply #477 on: September 17, 2020, 07:15:19 PM »
Your best bet would be to find someone who backed up the BitBucket Hg repos and grab a copy of my code from what used to be https://bitbucket.org/chris_miller, and see how you go from there.

Probably archive.org can help...

reddeercity

  • Contributor
  • Hero Member
  • *****
  • Posts: 2267
Re: Canon 5D Mark IV
« Reply #478 on: September 18, 2020, 12:36:21 AM »
@chris_overseas , thanks I'm not in a big rush at the moment , still looking for a good deal on the 5d4 other then new one or course .
So hoping i can get one used in the next 3-4 weeks , I need reliable 4k now without aliasing and RT preview with auto focus for work (news & short doc's -- run & gun sometimes)
Beside that all my gear is still setup for full frame dlsr bodies , (Redrock micro rig/matte box , 4x3 filtes, ninja hdmi HD recorder,  etc. ....)
I can use a 5d4 right out of the box without magic lantern , unlike the 5d3 which need magic lantern for 4k , thou it raw  :D
I can live with C-Log 8bit 422 4k , which has about the same DR as a 10bit non Log prores file e.g. rec709 .
I did download some Repo when a1ex was backing up ML source  , I'll see if your's is there .

Probably archive.org can help...

First thing I check , no source or commit data , etc. ....  :'(

 

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12457
Re: Canon 5D Mark IV
« Reply #479 on: September 18, 2020, 07:09:34 AM »
It is, indeed, in the archive, under chris_miller/ml-fork:

Please find the archive with all ML forks, here: ml-repos.tar.xz

Caveat: unzipping that file took me about an hour of processing time and 17 GiB of space.

However, if you are looking for raw video, you may want to know I wasn't able to save a full-sized DNG yet (experiments start around here). The same experiment worked without much trouble on 80D.

My hypothesis back then was that some important parts from image capture configuration might be offloaded to a secondary CPU (Omar). If that's true, getting raw video out of this camera might be as difficult as porting crop_rec to the 7D (that is, orders of magnitude harder than porting crop_rec to any other DIGIC 4/5 camera).

reddeercity

  • Contributor
  • Hero Member
  • *****
  • Posts: 2267
Re: Canon 5D Mark IV
« Reply #480 on: September 18, 2020, 07:58:42 AM »
It is, indeed, in the archive, under chris_miller/ml-fork:

Caveat: unzipping that file took me about an hour of processing time and 17 GiB of space.

However, if you are looking for raw video, you may want to know I wasn't able to save a full-sized DNG yet (experiments start around here). The same experiment worked without much trouble on 80D.

My hypothesis back then was that some important parts from image capture configuration might be offloaded to a secondary CPU (Omar). If that's true, getting raw video out of this camera might be as difficult as porting crop_rec to the 7D (that is, orders of magnitude harder than porting crop_rec to any other DIGIC 4/5 camera).

@a1ex thanks , thats what i wanted to know  :)
Ok i understand , I was looking for all the d6 info but didn't see that. I'll re-read over all this and see if i understand it enough to work this port e.g. raw video & other features ,
but that not the only thing i like to get up & running , I would like to get at least ml gui with the feature we use today (not including raw video)
Something to the effect before raw video was a thing .

It's good to know the source is still there , thanks .

Still not 100% sure if that's the cam i want ( still like the new eos R there's a speed booster RF-EF lens available now that reducers 4k crop factor from 1.7 to 1.24)
So would you say that the 80D would be more achievable/easier for raw video ?


a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12457
Re: Canon 5D Mark IV
« Reply #481 on: September 18, 2020, 08:27:06 AM »
Getting the basic features working (menus, intervalometer etc) shouldn't be harder than on any other DIGIC 6/7/8/10 camera.

80D can output a 1080p-sized DNG without much fuss, so getting raw video is likely straightforward. On 5D4, we need to request a larger size for the Bayer raw data, to cover the entire frame - this is the missing bit from the puzzle (where is that done in Canon firmware, and how to modify it?)

There is a caveat on DIGIC 6 - there's no known way to temporarily patch parts in the ROM. On DIGIC 2..5, we can patch a small number of 32-bit integers directly in the cache (aka "cache hacks") - though, they are only required for advanced features. On DIGIC 7..10 (Cortex A9) we've got a MMU, so we can remap any parts of the ROM into RAM, and patch pretty much anything - without actually modifying the ROM. On DIGIC 6, there's no known way to patch ROM contents, though it might be possible with ARM debug registers. Others tried, without success, to my knowledge (I didn't).

Such a patch might be required for getting full-size raw video, but I don't know yet what exactly to patch. That alone may take several hundred hours of investigation. Even if I'll spend these hours on this particular task, there's no guarantee I'll succeed, even if the community would pay me at the rate suggested by names_are_hard.

Or I might be wrong and you'll figure it out in a few hours. I'm pretty bad at estimating the difficulty of a task in advance :D

yourboylloyd

  • Senior
  • ****
  • Posts: 298
Re: Canon 5D Mark IV
« Reply #482 on: September 18, 2020, 08:54:54 AM »
still like the new eos R there's a speed booster RF-EF lens available now that reducers 4k crop factor from 1.7 to 1.24
It also works on the R6 in Fullframe!! I'm making an entire video about this. 0.71x Medium Format crop factor on EF lenses!





(Sorry I know it's unrelated but also at the same time related to discussion)
Join the ML discord! https://discord.gg/H7h6rfq

reddeercity

  • Contributor
  • Hero Member
  • *****
  • Posts: 2267
Re: Canon 5D Mark IV
« Reply #483 on: September 29, 2020, 08:56:00 AM »
@a1ex , thanks ! yes i thought it would be a tough nut to crack . I was actively bidding on a 5D4 on ebay that when for a tumble & swim  ???
had a broken battery door & don't startup/bootup so i thought if i could get it for under $400 even if it wouldn't power up it would have been good
to take apart and explore  :D , by sadly someone paid $1200.0 for it  :o , that was far to much in my books , specially that it didn't even power up . 
But that 80D sound interesting , that it's that close to raw video , and more develop  , I'll kept a eye out for a cheap 80D .

I'll keep searching for a 5d4 also , I think there's a lot of people with  DIGIC 6 , 7 etc. ... would come to help if there see a active development .
I'm willing to get thing started the best i can , when i have a d6,7,etc. ... cam   

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 7577
Re: Canon 5D Mark IV
« Reply #484 on: September 29, 2020, 10:07:43 AM »
In Germany (notorious for low prices on used cams) you will have to pay around 1700 Euro for 5D4 in mint condition.

codemonkey

  • New to the forum
  • *
  • Posts: 24
Re: Canon 5D Mark IV
« Reply #485 on: September 30, 2020, 10:02:42 AM »
I wrote a1ex in a pm but I didn't get a reply.  Although it's probably a stupid idea, I'm from Germany and have a 5d4, but I might be willing to lend it to a ml guy, but my main motivation is for raw video, 1080p would be fine first.

But it seems like this might be really difficult with a 2nd proc thing.  Or maybe I could send it to someone that can get all the info needed for other developers. 

It also has c-log, but I'm not sure how that will affect  anything? 


Sapporo

  • Freshman
  • **
  • Posts: 87
Re: Canon 5D Mark IV
« Reply #486 on: September 30, 2020, 01:36:50 PM »
C log in 5D IV is just an on/off feature in the firmware. Same as language restriction or WiFi/GPS.
Possible to change with Tornado EOS but I also suppose A1ex could do the same.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12457
Re: Canon 5D Mark IV
« Reply #487 on: September 30, 2020, 05:28:30 PM »
I wrote a1ex in a pm but I didn't get a reply.

I couldn't find any message from you, neither PM, nor e-mail. Anyway.

Quote
I'm from Germany and have a 5d4, but I might be willing to lend it to a ml guy, but my main motivation is for raw video, 1080p would be fine first.

In my case, the main issue is not lack of hardware - that's relatively easy to get on the used market, or borrow from a friend etc. The biggest problem, in *my* case, is the allocation of large amounts of time for hobby projects (estimated several hundred hours required for a working port, not including maintenance). I'm no longer able to allocate this amount of time without risking my ability to put food on the table. This wasn't an issue before ~ 2017, but living expenses increased a lot in recent years (they doubled this year, for example). I'm already looking for a second job (tried freelancing, without success, but still considering it), and having an extra 5D4 to take care of, is definitely not going to help, as it only means additional workload for me. Even if I'll be allowed to sell it afterwards, I still won't be tempted, sorry.

In other words:
Need hardware + time.

Hardware is easy.

However, that's my motivation behind Open Collective - if it works out (unlikely, given the reverse engineering nature of our project), and if I'll be able to cover at least a significant part of my living expenses out of that, I'll reconsider. Otherwise, I'm really sorry, but this port will have to be created and maintained by somebody else. Same for all other cameras that are not yet supported.

So, if other developers are willing to look into it and can prove their skills first, preferably on another DIGIC 6 camera, OK from my side. Just be careful with lending - I won't be able to guarantee they will succeed, or that they will actually return the camera afterwards ;)

C log in 5D IV is just an on/off feature in the firmware. Same as language restriction or WiFi/GPS.
Possible to change with Tornado EOS but I also suppose A1ex could do the same.

As for C-Log, if it's a paid upgrade, I wouldn't touch it, no matter how trivial it might be to unlock. It would be software piracy, which could upset Canon and put our project in danger.

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 7577
Re: Canon 5D Mark IV
« Reply #488 on: September 30, 2020, 06:05:38 PM »
In Germany (notorious for low prices on used cams) you will have to pay around 1700 Euro for 5D4 in mint condition.

Just found an offer: 1000 €, 3 batteries (no type info yet). Shutter count: 270,000

71m363nd3r

  • New to the forum
  • *
  • Posts: 34

codemonkey

  • New to the forum
  • *
  • Posts: 24
Re: Canon 5D Mark IV
« Reply #490 on: Yesterday at 12:27:00 AM »
I couldn't find any message from you, neither PM, nor e-mail. Anyway.

In my case, the main issue is not lack of hardware - that's relatively easy to get on the used market, or borrow from a friend etc. The biggest problem, in *my* case, is the allocation of large amounts of time for hobby projects (estimated several hundred hours required for a working port, not including maintenance). I'm no longer able to allocate this amount of time without risking my ability to put food on the table. This wasn't an issue before ~ 2017, but living expenses increased a lot in recent years (they doubled this year, for example). I'm already looking for a second job (tried freelancing, without success, but still considering it), and having an extra 5D4 to take care of, is definitely not going to help, as it only means additional workload for me. Even if I'll be allowed to sell it afterwards, I still won't be tempted, sorry.

In other words:
However, that's my motivation behind Open Collective - if it works out (unlikely, given the reverse engineering nature of our project), and if I'll be able to cover at least a significant part of my living expenses out of that, I'll reconsider. Otherwise, I'm really sorry, but this port will have to be created and maintained by somebody else. Same for all other cameras that are not yet supported.

So, if other developers are willing to look into it and can prove their skills first, preferably on another DIGIC 6 camera, OK from my side. Just be careful with lending - I won't be able to guarantee they will succeed, or that they will actually return the camera afterwards ;)

As for C-Log, if it's a paid upgrade, I wouldn't touch it, no matter how trivial it might be to unlock. It would be software piracy, which could upset Canon and put our project in danger.

Oh, I already paid and sent my camera in for c-log. I wasn't looking for a hack or anything. But I could've sworn reading somewhere that there was an issue with clog and ML.


Sapporo

  • Freshman
  • **
  • Posts: 87
Re: Canon 5D Mark IV
« Reply #491 on: Yesterday at 09:36:16 AM »
Firmware 1.3.0 out now.