CLI Tool to record video and audio via selected source, uses FFMpeg in Backend
,initially a prompt will appear for save location that can be modified later, file is stored in the format <date_month_year>/<timestamp>.<output-format>
- Clone the repository.
- Ensure you have FFMpeg installed on your system.
- Run the following commands:
go buildto build the project../rcrdto execute the binary file generated.
- Use the following command line flags to specify settings:
-r <framerate>: Specify the framerates of the video output.-c:v <library>: Specify the encoding library.-c:a <audio_output>: Specify the audio output format.-p <select_path>: Specify if you want to specify location on startup as y/n.-f <op_format>: Specify the format of the output video.-vi <video_input>: Specify the video input source index.-ai <audio_input>: Specify the audio input source index.
- FFMpeg
- Go programming language
brew install ffmpeg
sudo apt-get install ffmpeg
- Download the latest build from the official FFMpeg website: https://ffmpeg.org/download.html
- Extract the downloaded zip file.
- Add the FFMpeg bin directory to the system's PATH environment variable.
