Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
 
PREVIOUS NEXT
Tagged: #ffmpeg #reduce #video #size
ADD COMMENT
Topic
Name
4+6 =