commit af75a31662cc76582e92a6ea5a38880b7c1ab3f9 parent 002c000e52286a60b436b94a392abd80fae44278 Author: pyratebeard <root@pyratebeard.net> Date: Wed, 5 Jun 2019 14:09:05 +0100 new note - adjust crf Diffstat:
M | technology/linux/audio_visual/ffmpeg.md | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/technology/linux/audio_visual/ffmpeg.md b/technology/linux/audio_visual/ffmpeg.md @@ -20,3 +20,9 @@ ffmpeg -f alsa -ac 2 -i alsa -f x11grab -r 15 -i :0.0 -acodec libmp3lame -vcode ``` ffmpeg -i videofile.mp4 videofile.webm ``` + +### adjust crf +adjust constant rate factor to lower bit rate +``` +ffmpeg -i input.mp4 -vcodec libx264 -crf 20 output.mp4 +```