Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ffmpeg shrink video size

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

ffmpeg resize video

ffmpeg -i input.avi -vf scale=320:240 output.avi
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 :: check ram memory usage linux 
Shell :: clementine linux download 
Shell :: linux how to kill any process on port 
Shell :: firewall-cmd status 
Shell :: bash copy files but exclude some directories 
Shell :: reload shell 
Shell :: apache config location 
Shell :: tail colorful 
Shell :: install arronax 
Shell :: install flask on ubuntu 
Shell :: uninstall gns3 ubuntu 
Shell :: kali linux git install 
Shell :: understand the user of git in terminal 
Shell :: how to save a file in emacs 
Shell :: how to install .deb file on termux 
Shell :: how to uninstall zsh on mac 
Shell :: cmd kill process by pid 
Shell :: command check macos version 
Shell :: install saas 
Shell :: install chatterbot anaconda 
Shell :: how to remove a file from commit 
Shell :: git remote.origin.url check 
Shell :: clean up untagged docker images 
Shell :: install mod_wsgi 
Shell :: linux view kernel version 
Shell :: bash slurm view jobs from date 
Shell :: android init emulator with cli 
Shell :: how to collect GREPCC coin in grepper 
Shell :: install from github pip 
Shell :: heroku delete app 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =