Created
September 21, 2022 14:22
-
-
Save csharpforevermore/5ce17a02bdbfda8278675e217a6ddde5 to your computer and use it in GitHub Desktop.
Encoding mp4 videos using FFMPEG
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FFMPEG is used to reduce size of videos and compress | |
To reduce size | |
• ffmpeg -i .\inputvideo.mp4 -vcodec libx265 -crf 28 outputvideo.mp4 | |
To compress audio | |
• ffmpeg -i .\2.mp4 -filter_complex "[0]dynaudnorm[a]" -map 0:v -map "[a]" -map 0:a -c:v copy -c:a:1 copy 3.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment