Friday, April 21, 2023

Tool to compress video recordings; FFmpeg

 FFmpeg is a powerful open-source audio and video processing tool which can be used to compress videos. It can be used to reduce the size of a video file while maintaining the same quality. It supports a wide range of video and audio codecs and offers a variety of features including video scaling, cropping, and merging videos. It can also be used to convert videos from one format to another.


https://ffmpeg.org/

https://youtu.be/26Mayv5JPz0



ffmpeg -i input.mp4 -c:v libx264 -crf 20 output.mp4
In this command, you are specifying the video codec (libx264) and the Constant Rate Factor (CRF) to 20. The lower the CRF value, the higher the quality and the larger the file size.



No comments: