Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ffmpeg shrink video size

 ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4
Comment

reduce file size of mp4 using ffmpeg

ffmpeg -i input.mp4 -vcodec libx264 -crf 24 output.mp4
Comment

video upscale ffmpeg

ffmpeg -i input.mp4 -vf scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:-1:-1,setsar=1 -r 60 output.mp4
Comment

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
Comment

ffmpeg video size reduction

 ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4
Comment

ffmpeg reduce video size

ffmpeg -i input.mp4 -fs 100M output.mp4

ffmpeg -i input.mp4 -vcodec libx264 -crf 24 output.mp4
Comment

PREVIOUS NEXT
Code Example
Shell :: get date whit batch 
Shell :: git revert to old commit 
Shell :: add group 
Shell :: vim :qa! 
Shell :: git publish git branch 
Shell :: rails add gem to gemfile 
Shell :: github checkout branch 
Shell :: how to copy my pub ssh key to server linux 
Shell :: rename github repository command line 
Shell :: how to update application in ubunut 
Shell :: git pull rebase 
Shell :: open folder from terminal 
Shell :: CocoaPods could not find compatible versions for pod "razorpay_flutter" when running pod install 
Shell :: command to stop docker 
Shell :: how to get token of a raw github file 
Shell :: search a tag git 
Shell :: download a file using curl 
Shell :: ubuntu fractional scaling 
Shell :: git delete commit history 
Shell :: rdp github shadow 
Shell :: pull master branch to gh-pages branch 
Shell :: delete empty pdf page 
Shell :: wget a file from bitbucket 
Shell :: git local git ignore 
Shell :: src/checkdep_freetype2.c:1:10: fatal error: ft2build.h: No such file or directo 
Shell :: git tag from commit 
Shell :: linux list users 
Shell :: debian install iwconfig 
Shell :: sync gitlab wit github 
Shell :: git remove vendor folder from remote 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =