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 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 :: reset to origin 
Shell :: how to install pygame windows 10 
Shell :: fzf install 
Shell :: uptime cmd 
Shell :: bash grep find lines that start with word 
Shell :: bash suppress error code 
Shell :: install chrome webdriver node 
Shell :: cordova run device 
Shell :: how to extract a zip file in linux terminal 
Shell :: linux bin to iso 
Shell :: zsh: command not found: protoc mac 
Shell :: npm install --unsafe-perm 
Shell :: run cmd as administrator command line 
Shell :: how to switch branch 
Shell :: edit bash profile 
Shell :: awk if else statement 
Shell :: how to list running processes in linux 
Shell :: offline heic to jpg converter on linux 
Shell :: delete branch git 
Shell :: install yt-dlp windows 
Shell :: git list all remote branches 
Shell :: debian sudo without password 
Shell :: error failed to commit transaction (failed to retrieve some files) 
Shell :: bash convert string to uppercase 
Shell :: ubuntu install lib usb 
Shell :: git force sync with remote 
Shell :: tailwindcss cli 
Shell :: install neo4j latest version ubuntu 
Shell :: nvm linux 
Shell :: update aws amplify cli 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =