A command-line tool designed to convert various file formats into video presentations. It supports decoding existing videos and generating new ones from images or other multimedia files, providing flexibility for users to create engaging video content from static sources.
To install FileToVideo, ensure you have C++ and CMake installed on your system. Clone this repository and build the project using the provided build.sh
script.
git clone https://github.com/DarekParodia/FileToVideo.git
cd FileToVideo
./build.sh
FileToVideo is operated via command-line arguments. Navigate to the project directory and execute the binary with the desired options.
-i, --input-file
: Specifies the input file path. (Required)-o, --output-file
: Defines the output video file path. (Required)-f, --ffmpeg-path
: Path to the FFmpeg executable. (Required unless FFmpeg is in PATH)-d, --decode
: Decode mode flag. When set, the tool operates in decode mode.-w, --width
: Set the width of the generated video.-h, --height
: Set the height of the generated video.-f, --fps
: Frames per second (FPS) for the generated video.-p, --pixel-size
: Size of a pixel in the generated video.-c, --use-color
: Enables color usage in the video generation process.-i, --input-file
: Path to the input file. (Required)-o, --output-file
: Specifies the output file path. (Required)
bash ./FileToVideo -i=/path/to/input.jpg -o=/path/to/output.mp4 -w=1920 -h=1080 -f=30
All contributions are welcome! Just create a pull request with your changes.