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

hjfilmspeed

  • Senior
  • ****
  • Posts: 466
  • 5D III and IV
Re: Canon 5D Mark IV - announced
« Reply #250 on: June 20, 2017, 08:04:29 PM »
So I was doing some thinking. I apologize if this was covered. If or when the ML makes its way to the 5D IV, I was wondering what would the RAW Video/live view capabilities would even be. 4K would be tricky in RAW since I read the CF card slot are still limited. Not sure if this also applies to the SD card slot.

I, personally would be more interested in the full frame capabilities in [email protected] 24fps

Now we know the resolution of the 5DIII Sensor is 5760 / 3x3 Pixel bin brings us to 1920 right? (maybe I am wrong)
With that same math the 5Div 6720 / 3x3 bin would be 2240. This makes me much more excited if this is possible. With compression, in theory, this should rec just fine to the CF card @ 24fps

However, I read (not sure true) the 5D iv does an 4x4 binning during full frame live view. This would be most disappointing bringing our numbers down to 1680 which sadly sounds like a canon move.
On the flip side, since live view understanding seems to be improving quite nicely thanks to ML maybe... just maybe (wishes don't do dishes) ML can force the 3x3 bin and the 5D IV will have a decent 2k RAW 24fps mode.
Canon, no doubt "could" make this happen no problem especially with the new Canon Cinema RAW LITE on there C200.
IMO canon is super dumb for not having done something like RAW 1920 mode on the Mark IV. However I think ML will most likely be able to take the glory here once again. So we can thank Canon for dropping the innovation ball I guess. Just my thoughts.

Ilia3101

  • Senior
  • ****
  • Posts: 252
Re: Canon 5D Mark IV - announced
« Reply #251 on: June 20, 2017, 08:45:42 PM »
As far as I'm aware (simple) 4x4 binning would result in monochrome video :D, so whoever said that is wrong - don't worry, it has 3x3 binning... unless of course they went full Canon and made it 5x5, which is extremely unlikely and would look terrible
5D2

hjfilmspeed

  • Senior
  • ****
  • Posts: 466
  • 5D III and IV
Re: Canon 5D Mark IV - announced
« Reply #252 on: June 20, 2017, 09:03:59 PM »
As far as I'm aware (simple) 4x4 binning would result in monochrome video :D, so whoever said that is wrong - don't worry, it has 3x3 binning... unless of course they went full Canon and made it 5x5, which is extremely unlikely and would look terrible
hahaha 5x5!!!!
4x4 Binning = Monochrome, never new or fully understood the binning process.
3x3 would be a dream on 5d IV. True 2K WHHAAAAA!
4k rolling shutter is quite bad on mark IV so I could care less about that in RAW.


cheshirecat

  • New to the forum
  • *
  • Posts: 3
Newbie ARM Console disassemble questions
« Reply #253 on: July 17, 2017, 08:16:38 PM »
My setup;
I have a working ML Development environment in Ubuntu on a VirtualBox.
I have ARM Console working.

From ARM Console I have outputted a disassembly of ROM1.BIN from a 5d4
I did that by following the instructions at
http://magiclantern.wikia.com/wiki/GPL_Tools/ARM_console
Quote
Prepare a working directory where you will put the input files. You will need:
    Some dumps, with the .bin extension. Include the load address in the dump name.
    Some databases, in IDC or Stubs (*.S) format. Try to give them names similar to the dumps, to help the autodetection.

Question: What should I use as the load address ?
Question: I presume that there is currently no IDC I could use for this dump ?
Question: I presume that there is currently no Stub I could use for this dump, since the stubs have not yet been found ?


a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 10545
  • 5D Mark Free
Re: Newbie ARM Console disassemble questions
« Reply #254 on: July 17, 2017, 09:51:51 PM »
First of all, 5D4 has mostly Thumb code, and ARM-console won't help with that (it's ancient stuff I wrote before getting an IDA license, ARM only). Look on CHDK forum for suggestions (from there, I've tried capdis, but only for double-checking small snippets of code where I didn't trust the output from IDA).

Many stubs are easily identified from strings; chris_overseas found some (look up his repo). Running the firmware in QEMU will save an IDC with what functions got called during that session. Currently the emulation works for the bootloader (which is ARM code) and it also runs a tiny part of the main firmware.

Memory layout is similar to other D6 models (look up my notes on e.g. 7D2 or 80D threads). Or just read it from QEMU logs.

First puzzle to solve: how to jump to main firmware from autoexec.bin? Note the 5D4 has two cores, and I believe we have to do something about it somehow.

Next step (which is easy, will probably work in QEMU, but not on the real hardware) would be to adapt the 7D2/80D startup code (which... works in QEMU, but not on the real hardware).

Third step would be making the startup code work on the real hardware (likely as easy as copying a routine from CHDK, discussed on 80D thread). Since I don't have a D6 model yet, I didn't feel any rush to try it.

After that, porting ML should be more or less straightforward (I don't expect major issues, other than some special handling for Thumb stubs).

For the first puzzle (which was solved for single-digic D6 models, and was a non-issue on earlier single-digic models), I've made some limited progress understanding the IPC protocol (communication between the two cores); if you (or anyone else) is interested in continuing this investigation, I can publish them in the current state.

cheshirecat

  • New to the forum
  • *
  • Posts: 3
Re: Newbie ARM Console disassemble questions
« Reply #255 on: July 19, 2017, 05:48:43 PM »
First of all, 5D4 has mostly Thumb code, and ARM-console won't help with that (it's ancient stuff I wrote before getting an IDA license, ARM only). Look on CHDK forum for suggestions (from there, I've tried capdis, but only for double-checking small snippets of code where
I didn't trust the output from IDA).
Thanks a1ex.  Ah, I knew about the Thumb code but didn't realise ARM-console was not the way to go with it.
Thanks for the advice. I tried capdis and it worked but disassembled without text strings when I tried it.
I had better luck with the GPL Disassembling advice at CHDK and the disassemblev7.pl from there produced a disassembly with text strings. I now have disassembled code which agrees with the stubs found by chris_overseas. I have found a few more stubs and have registered at bitbucket. I will fork the ML repo once I have figured out the bitbucket workflow ( chris_overseas has given me his ideas for what to do at bitbucket ).

Many stubs are easily identified from strings; chris_overseas found some (look up his repo). Running the firmware in QEMU will save an IDC with what functions got called during that session. Currently the emulation works for the bootloader (which is ARM code) and it also runs a tiny part of the main firmware.
Yes, I had seen the initial stubs work from chris_overseas and it was that which inspired me to have a go to see what I might be able to do. I have been in contact with Chris and he has been very helpful.
I am yet to get QEMU up and running but that is my next step.

First puzzle to solve: how to jump to main firmware from autoexec.bin? Note the 5D4 has two cores, and I believe we have to do something about it somehow.

Next step (which is easy, will probably work in QEMU, but not on the real hardware) would be to adapt the 7D2/80D startup code (which... works in QEMU, but not on the real hardware).

Third step would be making the startup code work on the real hardware (likely as easy as copying a routine from CHDK, discussed on 80D thread). Since I don't have a D6 model yet, I didn't feel any rush to try it.

After that, porting ML should be more or less straightforward (I don't expect major issues, other than some special handling for Thumb stubs).

For the first puzzle (which was solved for single-digic D6 models, and was a non-issue on earlier single-digic models), I've made some limited progress understanding the IPC protocol (communication between the two cores); if you (or anyone else) is interested in continuing this investigation, I can publish them in the current state.

I would be happy to look at the jump to main firmware from autoexec.bin problem to see if there is anything I can figure out. So if you can publish your work on the IPC protocol, please do.

AlexRo

  • New to the forum
  • *
  • Posts: 32
Re: Canon 5D Mark IV - announced
« Reply #256 on: July 19, 2017, 08:06:24 PM »
So what's the situation with the 5D Mk IV?? Can someone answer? Did the ML team hack it or is it stil in "not in priority" mode?

Walter Schulz

  • Hero Member
  • *****
  • Posts: 5802
Re: Canon 5D Mark IV - announced
« Reply #257 on: July 19, 2017, 08:34:39 PM »
Top of page -> Downloads -> Download Nightly Build -> Scroll down to "When will it be ready"

cheshirecat

  • New to the forum
  • *
  • Posts: 3
Re: Newbie ARM Console disassemble questions
« Reply #258 on: July 23, 2017, 06:07:24 PM »
Thanks for the advice. I tried capdis and it worked but disassembled without text strings when I tried it.

CORRECTION: I had the wrong start address in my capdis command.
Start address should be 0xfe000001 NOT 0xfe000000. The lowest bit tells capdis whether or not to disassemble thumb.
My capdis disassembled code now looks very similar to my disassemblev7.pl disassembled code.

AlexRo

  • New to the forum
  • *
  • Posts: 32
Re: Canon 5D Mark IV - announced
« Reply #259 on: July 26, 2017, 12:23:49 AM »
No, I did not want to know when it will be ready. I asked about the situation with the development of ML for 5d mark iv. Is it being worked on or not.
Sorry for my English.

D_Odell

  • Member
  • ***
  • Posts: 181
Re: Canon 5D Mark IV - announced
« Reply #260 on: July 26, 2017, 01:15:15 AM »
No, I did not want to know when it will be ready. I asked about the situation with the development of ML for 5d mark iv. Is it being worked on or not.
Sorry for my English.
Don't wait for it..
5D3 (OLPF removed) :: 1.1.3 :: Canon FD L Serie

Walter Schulz

  • Hero Member
  • *****
  • Posts: 5802
Re: Canon 5D Mark IV - announced
« Reply #261 on: July 26, 2017, 07:22:26 AM »
No, I did not want to know when it will be ready. I asked about the situation with the development of ML for 5d mark iv. Is it being worked on or not.

Answered in
Top of page -> Downloads -> Download Nightly Build -> Scroll down to "When will it be ready"

olofen

  • New to the forum
  • *
  • Posts: 9
Re: Canon 5D Mark IV - announced
« Reply #262 on: August 12, 2017, 11:00:33 AM »
   Hi,

With the 5D Mark IV Canon have copied Magic Lanterns HDR movie situation but made a rather poor in-camera version.
Why not do a three videos-in-one variant with all those resources there is in the Mark IV camera. A version similar to the original one in Magic Lantern but with a decent fps speed (so people don't look like Charlie Chaplin) and last but not least a better abillity to "see in the dark" - as well as make recordings....
And RAW if possible...

From a video artist mainly working nighttime... :D

....and if possible I wish I could use the full screen of the MK IV viewer for filming i.e. ending in 1920 x 1280 px

TrEK

  • New to the forum
  • *
  • Posts: 10
  • Canon 5d mk2 , CF Sandisk Extreme PRO 64gb 160MB/s
Re: Canon 5D Mark IV - announced
« Reply #263 on: August 23, 2017, 04:29:40 PM »
Anybody know if available ML on Canon 5d Mark 4 ???
and ability shooting ML RAW ??

andy kh

  • Senior
  • ****
  • Posts: 323
Re: Canon 5D Mark IV - announced
« Reply #264 on: August 23, 2017, 04:50:50 PM »
Anybody know if available ML on Canon 5d Mark 4 ???
and ability shooting ML RAW ??

NO

mkporwit

  • Just arrived
  • *
  • Posts: 1
Re: Canon 5D Mark IV - announced
« Reply #265 on: August 31, 2017, 03:57:51 AM »
So on a more serious note than the whining for features...

Is there anyone even informally poking at a 5D4? I just got one, and I'm a developer of that certain age that still remembers his C fondly. It just seems like it would be easier to pair up with someone to get going...

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 10545
  • 5D Mark Free
Re: Canon 5D Mark IV - announced
« Reply #266 on: August 31, 2017, 09:02:37 AM »
Yes, get the ROM dumper and check out the QEMU branch.

ricardo huertas hernandez

  • Just arrived
  • *
  • Posts: 1
Re: Canon 5D Mark IV - announced
« Reply #267 on: September 06, 2017, 09:26:50 AM »
Hello, I am new here, nobody thinks about the output dng direct video usb 3.0 that could reach at least 360 mbs in sequential with an external ssd controlled with the flashlight and be able to record continuous 4k gross 30 fps.

According to an American commentator last August I commented that it was possible the direct recording ssd in the 5d mark iv, and this way does not seem to be explored as the most feasible and economic (ssd cheap) in the absence of cfast 2.0.

It is necessary to promote this way as a means of giving a definitive impulse to the lantern in all the canon with usb 3.0 and to counter the lack of cfast 2.0, as in the competition with its equivalents.
Thank you.

AOK

  • New to the forum
  • *
  • Posts: 26
Canon 5D Mark IV - announced
« Reply #268 on: September 06, 2017, 12:56:06 PM »
A1ex, as I remember you somewhere shared that from the core developers nobody has it - ergo no development...

Perhaps a little more asking from your side around in your own forum  would speed it up.

1 year after its release - nobody even has began it according to my understanding. I would love to help, but I am a noob compared to you Gods of firmware code.


Sent from my iPhone using Tapatalk

Walter Schulz

  • Hero Member
  • *****
  • Posts: 5802
Re: Canon 5D Mark IV - announced
« Reply #269 on: September 06, 2017, 01:09:35 PM »
Sorry, unable to decode your request. Rephrase, please.

Audionut

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3453
  • Blunt and to the point
Re: Canon 5D Mark IV - announced
« Reply #270 on: September 07, 2017, 06:14:13 AM »
from the core developers nobody has it - ergo no development...

Need hardware + time.

Hardware is easy.

AOK

  • New to the forum
  • *
  • Posts: 26
Re: Canon 5D Mark IV - announced
« Reply #271 on: September 12, 2017, 02:30:48 PM »
Sorry, unable to decode your request. Rephrase, please.

We are beyond 1st year of 5D4.

5D3 is still the hot topic around and I find that for normal. The majority of people still are happy with 5D3 and see ni reason to update. In the context of Nikon D850 however ML will begin to seem outdated ;)

Dev’s time is neither cheap nor in abundance. Ergo new serious recruits would be a fresh and good idea.


Sent from my iPhone using Tapatalk

JohanJ

  • Freshman
  • **
  • Posts: 52
Re: Canon 5D Mark IV - announced
« Reply #272 on: September 12, 2017, 07:46:51 PM »
@AOK
Are you aware of that ML is a project based in voluntary contribution? Feel free to participate in the process of porting ML to a new platform
Fresh resources and ideas are certainly welcome.

Sent from my SM-G930F using Tapatalk

60D.111 / 100D.101 / M2.103

Walter Schulz

  • Hero Member
  • *****
  • Posts: 5802
Re: Canon 5D Mark IV - announced
« Reply #273 on: September 12, 2017, 08:09:23 PM »
Ergo new serious recruits would be a fresh and good idea.

You are preaching to the choir. This has been an issue as long as I can remember. Unmaintained cams, blindly maintained cams and a1ex (and other) constantly asking for people to look after those neglected. Offering low entry coding task teasers, offering assistance. It wasn't without success. See Nikfreak's ports + dfort's porting EOS M to latest firmware version.
And Digic 6 is around us since 2014, November (7D2) and a generous offer (750D for free) for anyone willing to port a 750D is still open. Only lately we saw substantial progress: Bootflags for Digic 6 cams. 
So: What do you expect? If you have any ideas we all will listen ...

Advocatus Diaboli: Why bother? A few years ago affordable cams offering state-of-the-art video simply didn't exist. Now you can get them and some are cheaper than 5D4.

garry23

  • Hero Member
  • *****
  • Posts: 1369
Re: Canon 5D Mark IV - announced
« Reply #274 on: September 12, 2017, 08:30:19 PM »
At the risk of upsetting some ML (virtual) friends, I will throw in my thoughts, especially seeing that next year we will expect a Canon full frame mirrorless, at 4K and accessing EOS lenses.

I've always felt there are two 'families' of ML user: the stills guys and the videographers.

I've always, maybe naively thought it might be good to spin out two versions of ML, i.e. for each family.

For stills photographers, ETTR, dual, auto bracketing and Lua are killer features.

It would be incredible if our ML stills family could transition to a new format, i.e. FF mirrorless. Note I said stills.

In other words, can we envision a stills biased version of ML that is enduring.

Of course, this is all speculation and a bit of fun.

But the world is made by dreamers :-)