|
|
Log in / Subscribe / Register

Testing Magic Lantern 2.3

By Nathan Willis
January 9, 2013

In some circles, installing custom or aftermarket firmware like CyanogenMod on a $200 phone is enough to garner street cred, while in others, such minor trifles are fit only to be scoffed at. For those who do not flinch at danger, there is Magic Lantern, a GPL-licensed replacement firmware for high-end Canon digital SLR cameras. The current release is version 2.3, which offers a wealth of improvements for shooting video, plus a growing list of enhancements for still photographers.

Magic Lantern regularly makes releases for a fixed list of Canon models, at the moment including most of the models from the EOS 600D and up. The supported list focuses on cameras using Canon's DIGIC 4 chip and newer models. Recent DIGIC chips include an embedded ARM core which makes writing custom software possible, and the cameras can load and run firmware from an inserted memory card without overwriting the existing firmware. Consequently, projects like Magic Lantern and CHDK (which targets point-and-shoot models) can provide firmware that adds new functionality with minimal risk of bricking the camera — or of voiding the warranty and losing out on Canon's much-loved hardware service offerings. There is still risk involved, however, particularly for new camera models.

Magic Lantern was initially focused on improving video recording functionality. The first model supported by the project was the EOS 5D Mark II, a camera which started a minor revolution by allowing high-quality HD recording in a compact form. But for some budding filmmakers, the stock firmware simply left out too much. Magic Lantern added usability features like crop marks in the preview window, more precise control over ISO speed, white balance, and shutter speed, and a number of miscellaneous add-ons like on-screen sound meters for the audio input.

The current development work is focused on the EOS 5D Mark III, for which the third alpha release was unveiled on January 6. Installation requires unpacking the build onto a supported Compact Flash or SD card, making the card bootable, and loading it into the camera. The download package includes the firmware image plus several folders full of auxiliary files such as the focusing-screen overlays. Normally, the card can be set to automatically boot the camera into Magic Lantern, but this feature has not been enabled in the pre-release builds for the EOS 5D Mark III.

The 5D Mark III release is still incomplete in other areas as well; a good portion of the features enabled for other camera models are still unimplemented for the 5D Mark III. The issue is that some Magic Lantern features (for example, changes to live preview and information display) can work without touching any of the camera's persistent settings, but others require altering properties saved in onboard memory. The team has simply encountered too many unsolved problems with accessing and setting the 5D Mark III's stored settings. Developer a1ex reported that the stability test froze the camera and required a cold reboot and clearing all of the camera settings to restore functionality. For a piece of hardware with a four digit price tag, some caution is understandable.

Still, there is a long list of features which are enabled in the 5D Mark III builds of 2.3. As is to be expected in light of the project's emphasis on digital film-making, most are related to video, but not all of them are so esoteric that a semester of cinematography class is required. The gradual exposure function, for example, allows the user to switch from one exposure setting to another while still filming; Magic Lantern will smoothly transition through the intermediate shutter and ISO speed settings, so that the change fades in (so to speak), instead of hitting all at once.

But there are more unusual features, too. The HDR video mode, for example, shoots twice as many frames as normal, alternating the exposure of each: one set to properly expose the highlights, and one set to properly expose the shadows. Combining the results into a single video stream is not easy, though, and needs to be done in post-production software. So far no tool exists for Linux users, although there is a script using the open source VirtualDub and Enfuse applications.

The majority of the Magic Lantern features enabled for the 5D Mark III at the moment are of the display or composition aide variety, though. But this is not to say that they are merely cosmetic; some offer important enhancements. For instance, the "display gain" feature brightens the live preview window so that items in frame are visible even if it is pitch black outside. That allows the user to compose a decent-looking foreground when doing night shooting or astrophotography, which is a nearly impossible task otherwise.

As a still photographer, I am more interested in some of Magic Lantern 2.3's features that are not yet available on the 5D Mark III. To be honest, though, there are so many features these days that nearly every user will find some of them useful given a random subset. That is a testament to the development team's creativity. More important, of course, is that such aftermarket firmware allows the camera owners to do more (and better) creative work. To Canon's credit, the company has not cracked down on magic Lantern or CHDK — in fact the company adeptly steps around the issue of whether using either project is a warranty violation. Those users with camera models supported by stable builds of 2.3 should consider giving Magic Lantern a try — but should do so with open eyes. With a well-tested model, there is relatively little risk of doing damage to one's camera, but there is virtually no recourse should something go horribly wrong. Perhaps the best advice is to say cowboy up, but do your reading first.



to post comments

Canon legal response

Posted Jan 10, 2013 19:43 UTC (Thu) by yodermk (subscriber, #3803) [Link] (16 responses)

http://www.canonrumors.com/2013/01/inside-the-canon-eos-1...

Seems like they might not be so indifferent about it on the really high end stuff.

"I was told by someone at Canon that they would “bring the might of its legal team” to anyone that attempts to modify at the software level, the features of an EOS-1 camera body. So I think the firmware community out there today will probably leave the EOS-1D X alone."

Canon legal response

Posted Jan 10, 2013 21:59 UTC (Thu) by man_ls (guest, #15091) [Link] (15 responses)

Why is this? Just the usual cluelessness? I mean, custom firmwares are adding value to the camera body without Canon having to spend a cent, and so make the camera more attractive for free. I read the link but did not understand anything: is Canon locking down some features in the lower model and doesn't want people to unlock them?

Canon legal response

Posted Jan 11, 2013 19:05 UTC (Fri) by yodermk (subscriber, #3803) [Link] (14 responses)

The EOS-1d-X seems pretty close in hardware to the new cinema 1D-C, so they probably don't want folks making the 1D-X more like the 1D-C.

Canon legal response

Posted Jan 11, 2013 21:26 UTC (Fri) by man_ls (guest, #15091) [Link] (10 responses)

So essentially they are disguising a firmware upgrade as a new camera... I don't think many people will be fooled though, especially if Canon pursues the legal route.

Canon legal response

Posted Jan 11, 2013 23:08 UTC (Fri) by giraffedata (guest, #1954) [Link] (9 responses)

Is a disguise necessary? The way I look at it, software is as material a part of a machine as hardware, and if the EOS-1D C takes pictures better than the EOS-1D X, it's the same difference whether it's because of different software or a different shutter. I can't picture people who want the features of the EOS-1D C turning it down because they're done in software.

Price discrimination by disabling features in software for the low-end customers (thereby making product available to them that otherwise could not be) is a well-worn business strategy, and that seems to be what is described in the cited article.

Canon legal response

Posted Jan 11, 2013 23:32 UTC (Fri) by man_ls (guest, #15091) [Link] (7 responses)

Is a disguise necessary?
I imagine that owners of the $6k EOS-1D X will not be happy about having to pay $12k for what is essentially a firmware upgrade (which are usually given for free even for cheap cameras). So yes, a disguise would be necessary to avoid angry customers.
Price discrimination by disabling features in software for the low-end customers (thereby making product available to them that otherwise could not be) is a well-worn business strategy, and that seems to be what is described in the cited article.
You are right. What is novel is the approach that Canon customers cannot legally buy a lowly model and modify it to upgrade to the more costly model. Or perhaps that they cannot share the means to do so -- a bit of software. (Given the amounts of money involved the terms "lowly" and "more costly" are relative.) I suppose there is no infringing code here, so I don't see any legal basis at all -- just intimidation. But you are the lawyer IIRC.

Imagine that you purchase a low-end video recorder and discover that pulling it apart and removing a resistance you get the same features as the high-end model. Can it be made illegal? Now imagine you share how in a forum. Is that illegal? Furthermore, suppose that a company starts selling a special tool to remove the resistance. Is this commercial activity illegal?

The original article speaks about voiding the warranty, which can be reasonable; not about "bringing the might of Canon's legal team" which is outrageous.

Canon legal response

Posted Jan 12, 2013 7:33 UTC (Sat) by giraffedata (guest, #1954) [Link]

I imagine that owners of the $6k EOS-1D X will not be happy about having to pay $12k for what is essentially a firmware upgrade

Could be, but I suspect this kind of emotional response doesn't have much market significance. Customers who want the camera, and can't get the same thing for less than $12K elsewhere, will get over it.

In the business world at least, this is commonplace. I recently saw a network switch that came in a $3000 12 port model and a $5000 24 port model. The literature was upfront about the fact that the only difference is that with the 24 port model you get a key to type in to enable the upper 12 ports.

I don't often see firmware upgrades distributed for free to existing owners of a product when those upgrades substantially add to the product's capabilities. The manufacturer didn't develop that firmware for charity, after all.

Canon legal response

Posted Jan 12, 2013 8:08 UTC (Sat) by giraffedata (guest, #1954) [Link] (5 responses)

But you are the lawyer IIRC.

I am not an IP lawyer, so I'm about as credible on this as you are. (A great example of how screwed up law practice licensing is in the US is that a contract/corporation lawyer like me can legally represent someone in a copyright case, but you can't).

But I've learned a lot about IP law from LWN comments and similar places, and I suspect the legal tool Canon allegedly wields to protect its X market from competition by modders is the right under copyright law to exclude others from preparing a derivative copy. This would be similar to when the copyright owners of the Titanic movie stopped an editor from modifying VHS copies of the movie to make them PG by cutting out two pieces of tape with a knife. (He was doing this as a business, and sold the service of editing a tape owned by the customer).

I understand and support most principles of copyright law, but I have to say I don't get the exclusive right to prepare derivative works.

It could also just be part of the contract of sale - the legally enforceable bargain the parties made when the camera changed hands. Buyers often agree not to reverse engineer, and this isn't much different from that.

Canon legal response

Posted Jan 12, 2013 23:40 UTC (Sat) by man_ls (guest, #15091) [Link] (4 responses)

If the new software is GPL, and reverse-engineered, I don't see how it can be a derivative. It is a new piece of software (or firmware as they are called in cameras) that happens to use the internal processor of a camera. The parts of the original software used are just for interoperability, which is usually legal.

As to the contract of sale, I have never seen any of those for consumers. I just sign on the credit card slip. Perhaps there is a shrink-wrap agreement or something, but I have not seen them on cameras either. How can a court prevent me from doing what I want with my purchase. Also, the original project is not modifying anything, just distributing software (which is not a derivative of the original). Is Canon going to sue its customers, following the RIAA strategy?

I suspect the strategy would be just to sue the Magic Lantern project on whatever grounds allowed by the most absurd legislation they may find, and make them waste time and efforts in the defense. And that this move would not grant Canon much love either.

Canon legal response

Posted Jan 13, 2013 2:48 UTC (Sun) by giraffedata (guest, #1954) [Link] (2 responses)

If the new software is GPL, and reverse-engineered[1], I don't see how it can be a derivative.

I agree that the derivative work thing doesn't stop anyone from installing Magic Lantern. I was just commenting on the statement (second hand and anonymous) in the Canonrumors review of the expensive camera that Canon would use legal measures to stop people from converting the cheap camera into the expensive one. You're pointing out that if Canon's power to do that is based on copyright law, then the Canonrumors article is irrelevant to the LWN article about Magic Lantern.

Perhaps there is a shrink-wrap agreement or something, but I have not seen them on cameras either.

Have you bought a camera with $4000 worth of software restrictions (price difference between the expensive and cheap camera)? It's considerably more likely that a purchaser would have to make certain promises to get one of those than to get typical consumer items. Trying to make sense of the "Canon would bring the might of its legal team" statement, I'm surmising that Canon does in fact require this kind of contract.

Canon legal response

Posted Jan 13, 2013 10:45 UTC (Sun) by man_ls (guest, #15091) [Link] (1 responses)

In fact I have never bought such an expensive camera, by an order of magnitude. Perhaps some lucky reader can enlighten us about whether Canon really places burdens before its customers in the form of contract agreements.

Note that the original camera was not sold with software restrictions: the expensive new model is just now being released.

Canon legal response

Posted Jan 15, 2013 15:50 UTC (Tue) by n8willis (subscriber, #43041) [Link]

Perhaps some lucky reader can enlighten us about whether Canon really places burdens before its customers in the form of contract agreements.

I've never seen or heard anything of the sort. When it comes to "making sense of" the legal-might quote, I think it's what it appears to be: an off-the-cuff remark. Perhaps intended to intimidate; more likely uttered by someone without a studied understanding of copyright law and reverse engineering -- particularly as applied to firmware replacement hacks.

Nate

Canon legal response

Posted Jan 14, 2013 22:52 UTC (Mon) by ssam (guest, #46587) [Link]

(i have used magic lantern on a 5DII, but not looked deeply into how it is implemented).

Magic lantern runs along side the original software. The original interface is still there, but hooks are added in, so that additional information can be shown in screen, and buttons can trigger additional features.

see the main picture at http://www.gizmag.com/magic-lantern-canon-eos-7d-cracked/... for an example.

I am not sure i they achieve this by creating a firmware that contains bits of the original software plus extra functions. Or whether magic lantern is more like an extra application running on the system.

Canon legal response

Posted Jan 11, 2013 23:37 UTC (Fri) by dlang (guest, #313) [Link]

it's worth a note that the 'low end' 1D X camera has a street price of around $7K

the 1D C doesn't appear to be available yet

One issue with DSLR cameras is that they are limited to shooting 29 min 59 seconds of video because if they could shoot 30 min of video they are classified as video cameras, which apparently costs a lot (import duties, patent fees, etc)

from a 10 min google search, it appears that the biggest difference between the 1DX at $7K and the 1DC with street prices of $11K is this 30 minute barrier.

the software on the 1DC also will record 4K video, but when it's doing so it's still only using a fraction of the camera sensor (these are both -only- 18MP cameras, and 4K video uses somewhere around 8MP)

so it does seem to be that the difference between the two (and the almost doubling in price) is just the software.

Canon legal response

Posted Jan 14, 2013 17:38 UTC (Mon) by n8willis (subscriber, #43041) [Link] (2 responses)

The assertion that the 1DX and 1DC are physically identical is rumor, though. It originated from a trade show discussion as I understand it; thus far no one has actually gotten a hold of a 1DC to do a teardown or even take detailed pictures of the internals. CanonRumors got a peek inside and said they were different. Same sensor, yes, but different in other respects visible to the unaided eye. For exactly what, I suppose we'll have to wait and see -- whether busing 4X the data off of the sensor onto storage requires a little reconfiguration or a lot is the issue, I guess. Canon's certainly not shy about putting out scads of different camera bodies, though; I'd be a little surprised if they exercised the restraint to not do so in this instance.

But that's all a tangent anyway....

Nate

Canon legal response

Posted Jan 14, 2013 19:04 UTC (Mon) by harold (guest, #44046) [Link] (1 responses)

Canon Rumours says the biggest change is the heat sink inside the camera to keep the sensor circuitry cool during 4K video operation.

Canon legal response

Posted Jan 15, 2013 15:28 UTC (Tue) by n8willis (subscriber, #43041) [Link]

But CR didn't get to inspect (or much less teardown) the hardware; they only said that they could see the heatsink difference (and along with other unidentified changes) after being shown the camera by a Canon rep. There is a lot of room for different circuitry changes that are not visible or obvious to the unaided eye; I don't know how many "initial reports" I've read about Android devices that turn out to be wrong months later about important things like whether or not there is a Bluetooth chip or if the USB charging port is power-only or has data lines.

You just don't know until you can break it into little pieces with your own two hands. Doubly so for hardware that's still unreleased.
Nate


Copyright © 2013, Eklektix, Inc.
This article may be redistributed under the terms of the Creative Commons CC BY-SA 4.0 license
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds