This is a simple tool that converts your .mp4
videos into a format that DaVinci Resolve uses on Linux. The application utilizes ffmpeg
for video conversion.
- Convert
.mp4
videos to DNxHD format. - Simple command-line interface for user input.
Before building and running the application, ensure you have the following installed:
g++
(GNU C++ Compiler)make
(Build automation tool)ffmpeg
(Multimedia framework for handling video, audio, and other multimedia files)
-
Clone the repository:
git clone (https://github.com/tkmxqrdxddd/davinci-video-converter) cd davinci-video-converter
-
Run the build script to install dependencies and build the project:
./build.sh
This script will automatically install the required dependencies based on your Linux distribution and build the project. It will also install the application to
/usr/bin
, making it accessible from anywhere.
If you prefer to install manually, follow these steps:
-
Install the required dependencies (if not already installed):
- For Debian-based systems:
sudo apt-get install -y build-essential ffmpeg
- For Red Hat-based systems:
sudo dnf install -y gcc-c++ ffmpeg make
- For Arch Linux:
sudo pacman -Syu --noconfirm base-devel ffmpeg
- For openSUSE:
sudo zypper install -y gcc-c++ ffmpeg make
- For Alpine Linux:
sudo apk add --no-cache g++ ffmpeg make
- For Debian-based systems:
-
Build the project using
make
:make
This will create an executable named
davinci-convert
in theoutput
directory. -
Install the application:
make install
To run the program, use the following command:
davinci-convert
- When prompted, enter the input file path of the
.mp4
video you want to convert. - Enter the desired output file path (including the filename and extension) for the converted video.
- The program will start the conversion process. You will see messages indicating the progress.
- Once the conversion is complete, you will receive a success message.
To clean up the generated files (object files and the executable), run:
make clean
If you would like to contribute to this project, please fork the repository and submit a pull request. Any contributions, bug reports, or feature requests are welcome!
This project is licensed under the MIT License. See the LICENSE file for details.
- This project uses
ffmpeg
for video conversion. For more information, visit the FFmpeg website.