The demise of Natron, how we got here, and where we go further
by Alexandre ProkoudineNatron, free/libre VFX compositing software, has been in serious trouble for at least the past year.
Natron, free/libre VFX compositing software, has been in serious trouble for at least the past year. With dozen of releases, active community, and well over 300 dedicated tutorials in many languages on YouTube, some of them posted as far back as last week, Natron would seem like a healthy free/libre software project. But it’s not, and here is why.
First off, there seems to be a doom (apocalyptic much?) over standalone free/libre compositing tools. Ramen went on and off for a while and even became a closed software project, until Esteban Tovagliari pulled a final plug on it (he’s now a lot happier working on appleseed and blenderseed). It’s been 7 years since we last heard of Synapse. And last year, Fabien Castan ended up admitting that ButtleOFX is done for.
So given the release frequency and persistance of Natron developers, one would think we are finally getting there. Unfortunately, nothing lasts forever.
The project was sponsored by the Inria institute and worked on mostly by just two people: Alexandre Gauthier-Foichat, principal developer of the project, and Frédéric Devernay, his mentor at Inria. For a short period of time, Ole-André Rodlie, another Inria employee, helped out.
The collaboration wasn’t without its moments. At some point, the duo started developing a falling-out over things like making Natron a clone of Nuke or focusing on original work and new ideas instead. Eventually, Alexandre left Inria to work on a closed-source project (in a conversation, he said it’s not compositing-related and that he can’t disclose any details right now).
Frédéric continued maintaining the project and releasing updates until August 2018, but these were mostly bugfix releases, while more serious work had to be done. To give you idea, while Alexandre was working on a private tracking plug-in requested by Inria, these things stood out:
- Natron had lots of memory issues when reading very long video files
- A lot of race conditions were caused due to multi-threading
- A lot of logic in the internal engine had to be re-written
Given that, Alexandre started working alone towards a more solid rendering engine that would become the staple of Natron 3, but says he never had the time to complete it. The personal clashes kicked in, and he left Inria in December 2017. Frédéric subsequently left Inria in September 2018.
Now that neither original developers works for Inria or wants to continue contributing to this project, the question is: how could it have been prevented and where do we go next?
We spoke to both Alexandre and Frédéric about it.
Development of Natron was at some point paid by Inria. I think they paid for the first 12 months, then extended for at least another year. Is that so? Why did they stop supporting it?
Frédéric: Inria did not stop supporting it, since I kept maintaining Natron until I left Inria in September 2018. Inria still owns most of the Natron code (as it was my employer). In Dec 2017, Alexandre Gauthier left the project to start a closed-source commercial graphics software which I know nothing about.
What were the conditions of Ole-André’s paid participation?
Frédéric: He was paid as an engineer by Inria to work on his contribution to the Natron infrastructure (source code, build and test systems). Any code he produced was property of Inria, as with the code I produced. The fact that Alexandre still owns part of the code was due to an agreement between him and Inria during his first year on Natron.
Did you try to find other funding sources?
Frédéric: Any user can offer a bounty to solve a github issue (using bountysource, there’s a link at the bottom of every issue). Since when I started this in April 2018, no bounty has ever been offered. My hope was that if there were bounties, this could attract new developers, but it didn’t. In April 2018, I already knew I would have to quit Natron a few months later.
Has the signing of Contributor License Agreement ever been a problem (that you know of) for potential contributors?
Frédéric: I don’t know. Nobody ever said “if you dump that CLA, I’ll gladly contribute to Natron”. People only said that the CLA was bad, without offering any help.
At some point, you had a content team of three people and an online communication guy. What happened to their involvement? (I see that Omar is still active on Facebook, although he wasn’t part of that team, at least as per the old ‘Team’ page.)
Frédéric: The communication guy (is that Ren D’vila?) was the original Natron website designer, but the web site was since totally redesigned. Ren also wrote that initial “team” page.
Francois Grassard and Jean-Christophe Levet are VFX artists, and may still be working with Alexandre on his commercial project. I had no contact with them since Alexandre left.
The reason I asked the previous question is that as far as I can tell, at some point you kept producing releases, but media stopped covering your work. It might or might not have something to do with dropping News section on the website. What’s your opinion on that?
Frédéric: The Facebook page was still very active, and was actually the only reason I had a Facebook account (which I since closed). I think many people were still using Natron and following Natron development but did not talk on social media, mainly because they were also working for VFX studios (small or medium). Now that BlackMagic Fusion is being stopped, they start crying for help…
Natron’s source code is very nearly half a million lines of code large. That could be a bit too much for new contributors to chew. Is the developers’ guide sufficiently up-to-date (seeing how it’s built from source code anyway) and does it provide information that would help newly arrived contributors to get the hang of the source code structure etc.?
Frédéric: Yes, at least a few developers managed to build Natron on Linux and Windows. I also made sure during the last few months to add sources and documentation for all our build systems (Mac, Linux, Windows) in the Natron sources (see the “tools” directory). This also includes patches for Qt4.
The source itself is hardly documented. This is often the case when using Agile software development.
A lot of the source code is also generated by shiboken (directories Engine/NatronEngine and Gui/NatronGui), so these should really not be counted as human-written source code.
Supposing, someone gets interested in continuing the development. What do you think would be a good place to start? What kind of work do you think would help establishing the feeling of ownership (and, by extension, accountability for the future of the project)? Are the any low-hanging fruits you could think of?
Frédéric: By order of difficulty (from 0 to 10):
- 2: pyplugs, shadertoys (there are still developers for these, see https://github.com/NatronGitHub/natron-plugins)
- 4: write an OpenFX plugin, starting from an example in openfx-misc or from the official openfx examples, for example try to make an OpenFX plugin from a widely-used PyPlug. There are a few OFX plugin developers in the community.
- 5: build Natron locally (on any system)
- 7: compile a redistributable Natron binary (Linux is easier, since we build and ship most dependencies using the build scripts)
- 9: fix a simple Natron bug
- 10: add new functionality to Natron (see issues)
There is a hard slope from building Natron to fixing a bug.
Is there some sort of a roadmap, or do you think a new maintainer have to come up with his/her own one? Basically, since you have a unique insight into the code of Natron, what do you see as must-do items on the TODO list, if the project would continue?
Frédéric: With the widespread of 4K, people are now finally asking for working proxy support in Natron, which allows working on low-resolution videos and rendering in full resolution. This almost works, it just has to be debugged and tested. We should have the same functionality as in Nuke.
Then, there should be an open-source movie project using Natron. This will bubble up the remaining 2D bugs and help fixing these.
I think support for metadata in the compositing graph goes next. Everyone keeps asking for “3D space”, but this is not possible without metadata support. Metadata includes camera parameters, timestamps, 2D (SVG) graphics, 3D meshes.
From there on, a proper roadmap should be discussed, and would probably include that famous “3D space”. 3D space should not be a big thing: I think only basic functionality should be there, such as tracking cameras, reprojecting videos using a 3D mesh, rendering simple 3D objects, and it should all be done with OpenGL. Serious 3D stuff should really be done with external software (Blender, Maya…).
In a nutshell, what do you think are the crucial skills for someone working on a compositing application?
Frédéric: I just added these to the Natron README.md:
- Git and GitHub
- C++. Natron source is still C++98, but switching to C++11 or C++14 should be straightforward if needed Design patterns
- Qt. Natron still uses Qt4 because of the lack of PySide support in Qt5, which should be integrated shortly after Qt 5.12 is released
- Basic knowledge of OpenGL
- Basic knowledge of Python
Alexandre: If the community wants to continue developing Natron, they should know that this is not a task for a developer that wants to help on lazy Sundays. This is a full-time job necessitating a lot of experience and trial & error.
The only realistic option is if they would find a financial structure that has the shoulders to support the needs of such a project, such as the Blender Foundation or any studio with an R&D department that masters C++ development.
It’s very challenging to find financial support for all the time and effort that needs to be put in this project, especially knowing that it is going to yield zero revenue. A full-time developer with taxes in France costs more than 70K€ a year.
Looking back, is there something you would absolutely do differently?
Frédéric: Get more people involved at the start of the project. A 2-people project rarely becomes a 10-people project, and often dies or stays a 2-people project. A 10-people project has more chances of becoming a stable 5-people project.
Inria’s initial 12 months “Boost Your Code” funding was for a one-guy project (Alexandre) mentored by me, but I think this either leads to nothing or to a commercial project.
The other thing I would do differently — work more closely with Blender, maybe work on a Natron-inside-Blender as well as a standalone.