This project is a simple video converter that converts a list of videos to .mp4 format using terminal commands.
- Go installed on your machine.
- FFmpeg installed and available in your system's PATH. FFmpeg is a powerful multimedia framework that can decode, encode, transcode, mux, demux, stream, filter, and play almost anything that humans and machines have created.
-
Clone the repository:
git clone <repository-url> cd go-video-converter
-
Install the necessary Go modules:
go mod tidy
To convert videos to .mp4 format, you can run the application from the terminal. Use the following command:
go run src/main.go <video1> <video2> ... <videoN>
Replace <video1>
, <video2>
, ..., <videoN>
with the paths to the video files you want to convert.
go run src/main.go video1.avi video2.mov
This command will convert video1.avi
and video2.mov
to .mp4 format.
This project is licensed under the MIT License - see the LICENSE file for details.