New filters on the Home Feed, take a look!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
Script for Converting Videos to DaVinci Resolve-Compatible Formats on Linux
Post Flair (click to view more posts with a particular flair)
Post Body

Hey everyone,

I've been working on a small but useful shell script for those of us using DaVinci Resolve on Linux. As you might know, DaVinci Resolve doesn't support h.264/5 and aac formats on Linux, which can be a real hassle when working with video files.

To solve this, I wrote a script called dconvert.sh that converts h.264/5 and aac video files to formats that DaVinci Resolve on Linux can handle—specifically VP9 for video and FLAC for audio. This script processes all supported video files in the current directory and outputs the converted files to an output directory.

Here's a brief summary of what it does:

  • Batch Conversion: Converts all .mp4, .webm, and .mkv files in the directory where the script is executed.
  • Video Codec: Converts video streams to VP9.
  • Audio Codec: Converts audio streams to FLAC.
  • Output Directory: Saves converted files in a new output directory within the current directory.
  • Optional Deletion: Can delete the original files after conversion with the --delete-after flag.

To use it, simply run:

./dconvert.sh [--delete-after]
  • --delete-after: Deletes the original video files after conversion.
  • --help: Displays the help message.

Placing this script in a directory that's included in your PATH can make it easier to use from any location.

Here is the link to the gist

https://gist.github.com/oguzBatur/e52494d0d006490f9c0a5e3633d4fa59


Feel free to use and modify it as needed. Hope this helps make your video editing workflow a bit smoother!

Author
Account Strength
40%
Account Age
1 year
Verified Email
Yes
Verified Flair
No
Total Karma
n/a
Link Karma
1
Comment Karma
n/a
Profile updated: 4 days ago
Posts updated: 2 days ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 months ago