Coding Spirit

一位程序员,比较帅的那种

0%

Use ffmpeg to make kazam recorded mp4 available for Android devices

kazam is an easy to use screen record tool for Linux. User can install it via apt install kazam on Debian based distribution. After recording, kazam supports to save as mp4 files, which are 4:4:4 by default. To make it available for typical player on other platform, we can covert it to 4:2:0:

1
ffmpeg -i ${original.mp4} -vf format=yuv420p ${new.mp4}