Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

reduce file size of mp4 using ffmpeg

ffmpeg -i input.mp4 -vcodec libx264 -crf 24 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 :: how to install visual studio code in ubuntu 
Shell :: linux kill process by pid 
Shell :: how to check tls version 
Shell :: kill dyno process heroku 
Shell :: get your ip address from terminal 
Shell :: keep the container running and not exit directly 
Shell :: check disk space linux 
Shell :: git compare two branches with meld 
Shell :: unzip command in linux 
Shell :: realtek rtl8812au ubuntu 
Shell :: no module named cv2 mac os 
Shell :: to see all after commit in local repository in git 
Shell :: find pip install directory 
Shell :: unix count files in directory with specific name 
Shell :: install adonis cli 
Shell :: awk if else 
Shell :: install psycopg2 
Shell :: gitlab set global username and password 
Shell :: install alacritty ubuntu 
Shell :: reinit git-submodules 
Shell :: git get remote branches 
Shell :: remove permission denied file folder linux 
Shell :: homebrew zsh completion 
Shell :: ${a,}: bad substitution 
Shell :: disable aslr 
Shell :: generate keystore on mac 
Shell :: install itertools 
Shell :: install cocoapods mac 
Shell :: check nativescript version 
Shell :: delete a local and remote git branch 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =