Answers for "ffmpeg resize video"

4

ffmpeg shrink video size

ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4
Posted by: Guest on July-14-2020
1

ffmpeg resize video

ffmpeg -i input.avi -vf scale=320:240 output.avi
Posted by: Guest on June-29-2021
2

ffmpeg change resolution

ffmpeg.exe -i input.mp4 -s 1376x744 output.mp4
Posted by: Guest on October-29-2020
1

ffmpeg reduce video size

$ ffmpeg -i "[inputName.mp4]" -vcodec [libx265]  -crf [28] "[outputName.mp4]"
# vcodec: libx265 for HVEC or libx264 for H.264
# crf: ranges form 0-51, (Value > less quality & size), (Value < Higher quality & size, size can get higher than the original size)
# To ouput Matroska/Mkv ad: -f matroska
Posted by: Guest on February-25-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language