Matt Jones Tech
  • Blog
  • Video Projects
  • Web Projects
  • Using DaVinci Resolve 15 on Ubuntu

    Default Experience

    If you’re like me, you’ve been on a quest to find the best video editing software that you can run on your Ubuntu Linux PC build. If you’ve been in the video world for any amount of time, you’ll probably know that Resolve 15 is arguably one of the most robust tools in the industry. Here’s my experience on running DaVinci Resolve 15 on Ubuntu 18.04

    After the initial install, everything seemed to have went fine, but when I clicked the new icon in my application tray… nothing happened. After a few more clicks, I uninstalled it and went on with my life. A few months later, DaVinci Resolve came up in conversation when talking about postproduction solutions for Linux. So I decided to give it another shot. Same issue.

    Unfortunately, in Linux_Installation_Instructions.PDF there is literally nothing telling you that you should install dependencies. I ended up finding the required dependencies somewhere online.

    Install Dependencies:

    sudo apt install libssl1.0.0 ocl-icd-opencl-dev fakeroot

    After that simple line in the terminal, Resolve fired right up in Ubuntu 18.04 On to the next hurdle: limited file type imports.

    Convert footage using FFMPEG.

    Only some file types work with Davinci Resolve 15. The ones I’ve tested that work are:

    • Apple ProRes (.mov)
    • Motion JPEG (.mov)

    If you can afford the space, I’d choose Apple ProRes before anything else. Unfortunately I haven’t found a way to specify 4:2:2, 4:4:4, or HQ preferences. It’s just ProRes, and from the looks of it, it’s the highest quality possible. You may be able to change this with the -q value. Still testing this.

    ffmpeg -i input.mov -vcodec prores -acodec pcm_s24le -max_muxing_queue_size 1024 output.mov

    In my 10+ years as a video editing professional, I have never used the motion jpeg codec. However, after running a few tests, playback in Resolve 15 is flawless, and the file size is the same, if not slightly smaller than the original file. My original test file was a Panasonic .MTS file clip at 1.7GB. After the transcode to motion jpeg, the result was 1.6GB, and played perfectly inside Resolve.

    The further I tested this transcode setting in ffmpeg, this reduced the file size just a little bit. The biggest clips were originally 4.3GB and the resulting files were hanging out around 2.3GB-2.7GB.

    ffmpeg -i input.MTS -vcodec mjpeg -acodec pcm_s24le -max_muxing_queue_size 1024 output.mov

    First Paid Project

    The only way to truly test if this is a viable alternative to Adobe CC on Mac or Windows is to actually test it on a live project with a real deadline. This may have been unwise, but I found it to be thoroughly worth it. I tried the above ffmpeg commands, only to realize after exporting that the resulting transcodes were sub-par. Pixelated garbage in, pixelated garbage out. So this time I hit up Handbrake. This one got me. Handbrake is essentially ffmpeg under the hood, but it doesn’t offer all the options that the command line does. So my exports out of Handbrake looked great, but there was no audio supported. On Ubuntu, Davinci Resolve only supports PCM audio, and that’s the one thing you can’t kick out of Handbrake (at least from the options I have).

    New Plan

    The original exports from my ffmpeg commands above looked like garbage, but the audio (pcm_s24le) was supported and sounded fine. So I ended up exporting Mpeg4 video out of Handbrake with no audio. I synced those clips up with the existing PCM audio in Resolve, and everything looked and sounded awesome. Next objective, getting an H.264/AAC file out of the free version of Resolve.

    Instead, I exported 20-30 minute bits of my 3 hour long timeline as Quicktime MOV files with MPEG4 codecs. They looked and sounded great, but were a touch big on the file size. Next. I just dropped them in order into Shotcut, and encoded the whole thing as H.264/ACC. Done. So for future reference, it probably wouldn’t hurt to just encode everything as Quicktime ProRes PCM, do my work in Resolve, then export QT ProRes PCM as an intermediate, then concatenate in Shotcut or Kdenlive. Kind of a wonky workaround for now, until I can afford the full version.

    Notes about the free version of Resolve 15

    The editing capabilities of the free version are quite nice, but they clamp down your options when it comes to exporting. First cheap shot: they don’t support H.264 encoding on export for Ubuntu. And at the time of this writing, DNxHD and DNxHR both cause Resolve to crash upon export. So without H.264 and DNxHD/HR… your export options become extremely limited. This is especially true if you have a long (3 hour) timeline that you need to deliver to a client. So is there a workaround? Fortunately there is one, but it requires a bit of hard drive space, extra time, and some FFMPEG knowledge. First, trying kicking out your timeline with these goofy settings:

    I thought a Kakadu was a bird…

    Here’s the gigantic and disheartening list of features that they hold back from the free version. Also, here’s another magic setting that seems even smaller than Kakadu:

    Project Complete

    I eventually exported the video in about 10 different sections, using MPEG4 encoded Quicktime MOV files. Decent quality, and decent file size. I ended up assembling all those color graded and sound-edited files in Shotcut and rendering the H.264 MP4 that I was looking to deliver in the first place. A super wonky workflow, but in hindsight, I think it will be worth picking up a copy of Lightworks for my edit work Resolve Studio for my color work, and cutting audio in Resolve’s Fairlight, or if Fairlight absolutely cannot handle the task at hand, I can always grab a copy of Ardour. Those softwares paired with Blender, Kritia, Inkscape, and GIMP, I don’t think there’s anything I’d be missing from Adobe CC that these platforms can’t provide.

    matt

    February 12, 2019
    Compositing, Linux, Motion Graphics, Video Editing
    blackmagic design, color grading, davinci resolve 15, postproduction, ubuntu, video editing
  • Watercolor Video

    The 24 Before

    This was a project that started off as raw video. After several layers of After Effects work, we ended up with a final result that mimicked a genuine watercolor video. Somewhat inspired by larger projects like Loving Vincent, the initial concepts  were very fluid in their design. Some of the early designs used crumpled paper textures. The idea with watercolor video was to make it seem as if every single frame was a genuine watercolor painting.

    The actual content for this piece was tricky to obtain. The idea was to capture some of the key moments from the 24 hours before Jesus’s death on the cross. Obviously it’s not something we can just go out and film easily, but we did manage to fake it fairly well.

    Watercolor Video to Unite Different Sources

    The final result is a combination of several different shots from different sources, styles, and locations. There was even one shot that was a 3D rendering that just provided enough detail to make out the shape of what was trying to be conveyed, while the watercolor effects were so strong, that they were able to unite even the most unrelated-looking sources. All these shots would have never stood on their own if it weren’t for the watercolor elements layered on top of them.

    Final Result

    matt

    November 4, 2018
    Video Editing, Video Portfolio
  • Free Software That Could Replace Your Adobe Subscription

    If you’re like me, you’ve probably second-guessed how much you’ve shelled out to companies like Microsoft, Apple, Adobe, and others. It costs a great deal to be on the cutting edge of technology, and some software can set you back literally thousands of dollars. Seriously. Have you tried licensing a copy of Maya lately? Let’s check out some free software that could make you money.

    It took me a bit of testing out different software, but I think I’ve compiled a pretty decent list that, I’m personally convinced, with enough skill and creativity could completely replace Adobe Creative Cloud.

    Operating System

    First up, I’m going to start with the most basic. The operating system. Most people think computers fall into 2 categories: Mac vs PC. Well, PC just means ‘personal computer’ so… every consumer computer falls into this category, but- I digress. A great open source alternative to Mac and/or Windows is Ubuntu Linux. There’s TONs of documentation out there and a mega community who supports it.

    Update January 2020: I’ve been using Manjaro on both my work and home machines, and I find it much easier to set up out-of-the-box, and there’s much more support for my video editing applications. I write more about that here.

    Photoshop

    Photoshop is no doubt the industry standard when it comes to image retouching and manipulation. But few people know of a great open source alternative to Photoshop called GIMP. GIMP is an acronym that stands for GNU Image Manipulation Program. Kind of an unusual name, but a stellar piece of software available for free. An excellent choice for users who only need to do minor editing and retouching every now and again.

    Premiere Pro

    This one is a tough one, I’m not going to lie. Depending on how much video you need to edit, how big the project is, and how often you need reliable editing tools, there may not be much of a choice here. Just to be fair, this comment is coming from someone who makes his living and supports his family editing video. If that’s not you, Kdenlive is an excellent choice to edit just about any video you might need.

    Another piece of software on this list is Shotcut. It’s a little more scaled back as far as the technical capabilities, but it’s still able to do some basic edits. I haven’t logged more than a few hours in Shotcut, but it can handle basic edits for small applications like vlogs and home movies. If you need more technical control, I’d check out Davinci Resolve, or Kdenlive.

    Also, this one’s kind of an honorable mention, but just to be clear, this is NOT open source software, but it is excellent (the Hollywood gold standard) software in color correction, and more recently, video editing. It’s now available as free software that can be used with Mac, Windows, and Linux. That of course, is DaVinci Resovle. Definitely worth checking out.

    After Effects

    Again, another toughie, because of the way that this program operates. After Effects is a layer-based compositor, which is the only compositor that I am aware of that operates in this fashion. It makes sense when you view it as a part of Adobe CC as a whole, because Illustrator, Photoshop, Premiere Pro, Lightroom, and others are all layer-based. However, there are a few node-based compositors that are open source that I can suggest. The first, and definitely the most battle-tested is Blender. Easily the most powerful software I’ve ever come across. Another option would be Natron. Natron is more up-and-coming than Blender, but still something to keep an eye on.

    If you’re already checking out Davinci Resolve, then you’ll already have Blackmagic Fusion which comes bundled with Resolve. Admittedly, I have limited experience in Fusion, but from what I gather from coworkers and others who have used it, it’s more than capable for graphics and VFX. It’s a node-based platform much like Blender, Natron, and Nuke, so if you’re coming from a node-based platform, you should feel comfortable pretty quickly!

    Illustrator

    Illustrator is a great platform for creating vector art for use in large-format work like billboard design or design works that require your images to be flexible, such as a web environment. It’s is included in Adobe CC, but there’s also a great open source alternative called Inkscape. An amazing tool for creating vector art and logos, and available for Mac, Windows, and Linux.

    Audition

    Again, if you’re checking out Davinci Resolve, you’ll get another built-in program called Fairlight. My experience at the time of this writing is zero with Fairlight, but from my brief glances at the interface, it looks absolutely capable.

    Another powerful option is Ardour. Conveniently enough, Ardour is available to download and install via the Ubuntu Software Center.

    Missed Something?

    Drop a comment below, or shoot me a message, and I’ll add to this list!

    matt

    October 7, 2018
    3D Animation, 3D Modeling, Compositing, General Computing, Motion Graphics, Photo Editing, Video Editing
    3d animation, 3d modeling, compositing, computing, motion graphics, photo editing, video editing
Previous Page
1 2

Prove all things; hold fast that which is good. 1 Thess 5:21