Video
A Simple Tutorial on Using FFmpeg
· β˜• 2 min read
1. Installing FFmpeg Run this command on macOS: 1 brew install ffmpeg 2. Using FFmpeg 1 ffmpeg {1} {2} -i {3} {4} {5} The five parts of the arguments are, in order: Global arguments, such as -y, -loglevel, -preset, which control the overall behavior Input file arguments, such as -i, -ss, -t, -stream_loop, which control how the input file is read Input file, the path to the audio/video input file to process Output file arguments, such as -c:v, -c:a, -vf, -af, which control the encoding and filtering of the output Output file, the path to the processed output audio/video file Common output arguments: