make a vid smaller
ffmpeg -y -i 'vid.mp4' -c:v libx264 -preset slow -b:v 1000k -c:a aac -b:a 96k -pass 1 -f null /dev/null && \
ffmpeg -y -i 'vid.mp4' -c:v libx264 -preset slow -b:v 1000k -c:a aac -b:a 96k -pass 2 mixtape.mp4
and if you are embedding it in HTML to make it more compatible,
you can use this to make a vp9 / webm version that will work on all computers/phones that cant read h264 mp4s:
ffmpeg -y -i "vid.mp4" -c:v libvpx-vp9 -b:v 1000k -tile-columns 2 -g 240 -threads 8 -quality good -crf 31 -c:a libopus -b:a 96k -pass 1 -speed 4 -f null /dev/null && \
ffmpeg -y -i "vid.mp4" -c:v libvpx-vp9 -b:v 1000k -tile-columns 3 -g 240 -threads 8 -quality good -crf 31 -c:a libopus -b:a 96k -pass 2 -speed 4 "mixtape.webm"
vibin == vi bin
el guante poet - existential poetry