FFMPEG incantations I used to do stuff

2021-05-17


This page will be an ever-updating list of FFMPEG incantations I used to do, well, anything involving FFMPEG.


If you have any improvements to these, please let me know.


Convert 4K video to 720p30


ffmpeg -i input.mp4 -vf "scale=iw/3:ih/3,fps=fps=30" output.mp4

Convert 4K (non-HEVC) video to 720p30 (HEVC):


ffmpeg -i input.mp4 -vf "scale=iw/3:ih/3,fps=fps=30" -c:v libx265 -vtag hvc1 output.mp4

Convert video to HEVC:


ffmpeg -i input.mp4 -c:v libx265 -vtag hvc1 output.mp4

Last updated: 2021-05-17

🐺 · CC BY-SA 4.0 · me@ecmelberk.com