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.
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!
Subreddit
Post Details
- Posted
- 3 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/davincireso...