Tips and tricks with ffmpeg
This is a quick cheatsheet for me and for anyone that would be interested by ffmpeg. I use ffmpeg for many things but especially: screen recording and to be able to upload larger files on Discord without Nitro.
Recording screen and audio
- Recording screen without audio
- Recording screen with audio
- Recording audio without screen
Shrink file size
To be able to upload files on Discord (or just have easier time to edit the video if your computer is low end) you can shrink the file isze by a lot this way:
- Shrink file size by re-encoding. This doesn't really reduce quality but has a huge impact on filesize (sometimes even x10 times smaller).
- Make the file previewable (I've had the bad surprise the files converted by ffmpeg cannot be previewed in WhatsApp and Discord). This may increase the file size a bit.
EDIT: the above command might be completely wrong, try this one instead: