Simple script written in bash to convert videos using ffmpeg
to the format supported by Davinci Resolve for Linux.
I recommend watching tihs video before using the script.
- First, download and install
git
andmake
usnig your package manager. - Then, clone the repo:
git clone https://github.com/gohny/davinconv
- Change current directory to
davinconv
:
cd davinconv
- Install:
sudo make install
https://aur.archlinux.org/packages/davinconv
- Simply install the
davinconv
package using your AUR helper.
yay davinconv
pikaur -S davinconv
- Install
git
:
sudo pacman -S git
- Clone the repo from AUR:
git clone https://aur.archlinux.org/davinconv.git
- Change current directory to
davinconv
:
cd davinconv
- Install:
makepkg -si
- If you're missing repo files, clone it again:
git clone https://github.com/gohny/davinconv
- Change current directory to
davinconv
:
cd davinconv
- Uninstall:
sudo make uninstall
- Uninstall
davinconv
withpacman
:
sudo pacman -Rsnu davinconv
Usage: davinconv [-c|C|e|E|h|R]
Options:
{-c} [file] - Convert video to the MJPEG codec that can be read by Davinci Resolve.
{-C} - Convert all videos in current directory to the MJPEG codec that can be read by Davinci Resolve.
{-e} [file] - Export converted video back to the H264 codec.
{-E} - Export all converted videos stored in ~/Videos/davinconv/converted back to the H264 codec.
{-h} - Display this message.
{-R} - Remove all converted videos stored in ~/Videos/davinconv/converted. - Remove all converted videos stored in ~/Videos/davinconv/converted.
Converted videos are stored in: ~/Videos/davinconv/
Created by Gohny