{"id":19589615,"url":"https://github.com/flolu/davinci-resolve-linux","last_synced_at":"2025-04-04T18:07:29.656Z","repository":{"id":51069430,"uuid":"225925163","full_name":"flolu/davinci-resolve-linux","owner":"flolu","description":"Setup Davinci Resolve on Linux an Fix Issues with Importing and Exporting Media","archived":false,"fork":false,"pushed_at":"2024-11-07T08:39:18.000Z","size":892,"stargazers_count":166,"open_issues_count":1,"forks_count":19,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-28T17:06:24.613Z","etag":null,"topics":["davinci-resolve","linux","ubuntu","video-editing"],"latest_commit_sha":null,"homepage":"https://youtu.be/pTbthVKFPiM","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flolu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-04T17:51:08.000Z","updated_at":"2025-03-28T09:14:48.000Z","dependencies_parsed_at":"2024-01-25T14:27:42.098Z","dependency_job_id":"201c9c42-0fad-47a4-a0e1-2c235df4a867","html_url":"https://github.com/flolu/davinci-resolve-linux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flolu%2Fdavinci-resolve-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flolu%2Fdavinci-resolve-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flolu%2Fdavinci-resolve-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flolu%2Fdavinci-resolve-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flolu","download_url":"https://codeload.github.com/flolu/davinci-resolve-linux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226215,"owners_count":20904465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["davinci-resolve","linux","ubuntu","video-editing"],"created_at":"2024-11-11T08:19:54.750Z","updated_at":"2025-04-04T18:07:29.651Z","avatar_url":"https://github.com/flolu.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# DaVinci Resolve on Linux (Debian)\n\n\u003c!-- TODO Insert thumbnail as image --\u003e\n\u003c!-- TODO Link YouTube video --\u003e\n\n\u003e Davinci Resolve is one of the most powerful **free** video editing software out there. But installing and using the software on Linux can be quite painful at first. This guide will help you to get started with Davinci Resolve on Linux (Ubuntu) in no time.\n\n## Contents\n\n- [Prerequisites](https://github.com/flolude/davinci-resolve-linux#prerequisites)\n- [Installation](https://github.com/flolude/davinci-resolve-linux#installation)\n- [Media Import](https://github.com/flolude/davinci-resolve-linux#media-import)\n- [Media Export](https://github.com/flolude/davinci-resolve-linux#media-export)\n- [Uninstall Resolve](https://github.com/flolude/davinci-resolve-linux#uninstall-resolve)\n- [Handle Common Issues](https://github.com/flolude/davinci-resolve-linux#handle-common-issues)\n- [Install NVIDIA driver](https://github.com/flolude/davinci-resolve-linux#install-nvidia-driver)\n\n## Prerequisites\n\n- Debian-bases Linux distribution\n- NVIDIA graphics card\n- [NVIDIA driver](https://github.com/flolude/davinci-resolve-linux#install-nvidia-driver)\n\n## Installation\n\n**Method 1** (recommended)\n\n1. Head to https://www.blackmagicdesign.com/products/davinciresolve\n2. Click on \"Download\"\n3. Select the free Linux version\n4. Unzip `DaVinci_Resolve_XX.Y.Z_Linux.zip` archive\n5. Double click `DaVinci_Resolve_XX.Y.Z_Linux.run` and follow installation guide\n\n   - or run `./DaVinci_Resolve_XX.Y.Z_Linux.run`\n\n   ![DaVinci Resolve Installer](./images/davinci-resolve-installer.png)\n\n6. Start Resolve by searching for it in your applications\n\n   - or run `/opt/resolve/bin/resolve`\n\n**Method 2**\n\n1. Head to https://www.blackmagicdesign.com/products/davinciresolve\n2. Click on \"Download\"\n3. Select the free Linux version\n4. Unzip `DaVinci_Resolve_XX.Y.Z_Linux.zip` archive\n5. Head to https://www.danieltufvesson.com/makeresolvedeb\n6. Download script with same version as your downloaded Resolve\n7. Unzip `makeresolvedeb_XX.Y.Z-X.sh.tar.gz`\n\n- Your folder should now include the following files:\n  ```\n  DaVinci_Resolve_Studio_XX.Y.Z_Linux.run\n  Linux_Installation_Instructions.pdf\n  makeresolvedeb_XX.Y.Z-X.sh\n  ```\n\n8. Run the `makeresolvedeb` script while passing the filename of DaVinci Resolve's .run file.\n\n  ```\n  ./makeresolvedeb_XX.Y.Z-X.sh DaVinci_Resolve_Studio_XX.Y.Z_Linux.run\n  ```\n- Optionally you can avoid installing the Blackmagic RAW Player / Speed Test apps by adding the `--skip-braw`.  \n\n\n9. Install the Resolve via the created `.deb` file\n\n- Double click and click \"Install\"\n- Or run in terminal:\n\n  ```\n  sudo dpkg -i davinci-resolve_XX.Y.Z-X_amd64.deb\n  ```\n\n10. If you get an error saying \"Sorry. Need 'xyz' to continue\", just install it\n\n- For example if the error is: \"Sorry. Need 'xorriso' to continue\", you should run:\n\n  ```\n  sudo apt-get install xorriso\n  ```\n\n## Media Import\n\nUnfortunately DaVinci Resolve's free version doesn't support `.mp4` import on Linux. Both version also neither supports the `AAC` audio codec. But we can work around this issue:\n\n**Convert your footage to a supported format**\n\nThere is a really powerful tool called [FFmpeg](https://www.ffmpeg.org/) for converting video file formats. You can install it by running `sudo apt install ffmpeg`.\n\nThen you can convert almost any video format to something, that can be imported into DaVinci Resolve by running:\n\n```\nffmpeg -i input.mp4 -c:v prores_ks -profile:v 3 -qscale:v 9 -acodec pcm_s16le output.mov\n```\n\n| Flag                | Explanation                                                                         |\n| ------------------- | :---------------------------------------------------------------------------------- |\n| `-i \u003cinput\u003e`        | input video file (e.g. `-i my-movie.mp4`)                                           |\n| `-c:v prores_ks`    | video codec to be ProRes Kostya                                                     |\n| `-profile:v 3`      | profile (value ranges from 0 to 3, where a higher number results in better quality) |\n| `-qscale:v 9`       | quality scale (value can be 5, 9 or 13, where 5 is best and 13 worst quality)       |\n| `-acodec pcm_s16le` | audio codec to be pcm_s16le                                                         |\n| `\u003coutput.mov\u003e`   | output video file (e.g. `my-movie-converted.mov`)                                |\n\n**Batch converting videos**\n\n```\nfor i in *.mp4; do ffmpeg -i \"$i\" -c:v prores_ks -profile:v 3 -qscale:v 9 -acodec pcm_s16le \"${i%.*}.mov\"; done\n```\n\n**Converting audio**\n\n```\nffmpeg -i input.mp3 -c:a pcm_s16le output.wav\n```\n\n**Batch Converting audio**\n\n```\nfor i in *.mp3; do ffmpeg -i \"$i\" -c:a pcm_s16le \"${i%.*}.mp3\"; done\n```\n\n**Record your footage as a supported format with [Open Broadcaster Software](https://obsproject.com/)**\n\n1. Go to \"Settings\" 🠪 \"Output\" 🠪 \"Recording\"\n2. Change \"Type\" to \"Custom Output (FFmpeg)\"\n3. Set \"Container Format\" to \"mov\"\n4. Set \"Video Encoder\" to \"mpeg4\"\n5. Set \"Audio Encoder\" to \"pcm_s16le\"\n\n![Open Broadcaster Software Output Settings](./images/obs-output-settings.png)\n\nThe resulting `.mov` can now be imported into DaVinci Resolve without any issues.\n\n## Media Export\n\nWhen exporting your edited video, I'd recommend:\n\n1. Head to your \"Render Settings\"\n2. Under Video, choose \"QuickTime\" as \"Format\"\n3. Under Video, choose \"MPEG\" as \"Format\"\n4. Under Audio, enable \"Export Audio\" if you want sound\n\n![DaVinci Resolve Render Settings](./images/render-settings.png)\n\nWith the above settings, you don't need to compress or convert the final file again.\n\n## Installing Sound Libraries\n\nIf you want to install the free sound library from Davinci resolve, follow these steps\n\nHead over to the fairlight section of Davinci resolve \u003e Sound Library and click \"Download\"\n\n![Sound library download](./images/SoundLibrary.png)\n\nYou'll be sent to the Sound Library Download page for linux, put in all your info and download it.\n\nOnce downloaded, go to where the file is located\n\n1. Left click on the file\n2. Click on properties\n3. Go on the Permissions tab\n4. Check on \"Allow executing file as program\"\n5. Double click on the file and choose \"run in terminal\"\n6. If done correctly you will see the sound library download open\n7. Go through all the steps and install!\n\n![Fairlight program](./images/Fairlight_sound_program.png)\n\nIf you want to see all your sounds on the Sound Library, go to Davinci resolve and type \"***\"\n\n## Uninstall Resolve\n\n**Method 1** (recommended)\n\nRun the same script, you used for installing Resolve (`DaVinci_Resolve_XX.Y.Z_Linux.run`) and choose \"Uninstall DaVinci Resolve\" in the second step.\n\n![Uninstall DaVinci Resolve](./images/uninstall-davinci-resolve.png)\n\n**Method 2**\n\n```\nsudo rm -f -r /opt/resolve\nsudo rm -f -r ~/Documents/BlackmagicDesign\n```\n\n## Handle Common Issues\n\nIf the installation doesn't work, you probably need to research any errors from the log output.\n\nIf DaVinci Resolve doesn't start after installing you might try the following:\n\n- Boot resolve by running `/opt/resolve/bin/resolve` and check the log output for errors\n- Open `~/.local/share/DaVinciResolve/logs/` and search for errors in the log files\n- Make sure you have CUDA and OpenCL libraries installed\n- If you're getting an error saying, that you need `ibOpenCL.so` then just run `sudo apt install ocl-icd-opencl-dev`\n\nIf nothing fixed your issue, you can always get fast help on the [Blackmagic Forum](https://forum.blackmagicdesign.com/)\n\n## Install NVIDIA driver\n\nDetermine recommended driver by running\n\n```\nubuntu-drivers devices | grep recommended\n```\n\nThe output will look like this:\n\n```\ndriver : nvidia-driver-440 - third-party free recommended\n```\n\nInstall recommended driver by running:\n\n```\nsudo apt install nvidia-driver-440\n```\n\nYou can also install it in the user interface by opening \"Additional Drivers\":\n\n![Install NVIDIA Driver](./images/nvidia-drivers.png)\n\nThen reboot your computer.\n\n---\n\n\u003e Alternatively you can use this [excellent guide](https://askubuntu.com/questions/61396/how-do-i-install-the-nvidia-drivers/61433#61433)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflolu%2Fdavinci-resolve-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflolu%2Fdavinci-resolve-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflolu%2Fdavinci-resolve-linux/lists"}