mirror of
https://github.com/tkmxqrdxddd/davinci-video-converter
synced 2026-03-29 15:25:33 +02:00
- Add .devcontainer/devcontainer.json for Podman development - Add shell.nix for Nix users - Refactor monolithic main.cpp into modular components: - parser: argument parsing - validator: configuration validation - converter: ffmpeg command building/execution - Update Makefile with proper dependencies and test target - Simplify build.sh to use make - Update README with development environment docs
16 lines
268 B
C++
16 lines
268 B
C++
#ifndef CONFIG_HPP
|
|
#define CONFIG_HPP
|
|
|
|
#include <string>
|
|
|
|
struct Config {
|
|
std::string input_path;
|
|
std::string output_path;
|
|
std::string codec = "h264";
|
|
std::string quality = "medium";
|
|
int crf = 23;
|
|
bool verbose = false;
|
|
};
|
|
|
|
#endif // CONFIG_HPP
|