How to clone a specific ffmpeg version from git
example.sh
git clone -b n6.1 --depth 1 https://git.ffmpeg.org/ffmpeg.git ffmpeg
This will clone version 6.1
(-b n6.1
) and only perform a shallow clone (i.e. only download the neccessary files for this specific version).
Check out similar posts by category:
Audio/Video, Video
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow