Answers for "resize video ffmpeg"

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

extract video frame using ffmpeg

ffmpeg -i "C:ApplicationsFFMPEGaa.mp4" "frames/out-%03d.jpg"
Posted by: Guest on October-16-2020
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

Browse Popular Code Answers by Language