crf
All checks were successful
/ job (push) Successful in 1m17s

This commit is contained in:
Marc Beninca 2025-01-11 00:56:11 +01:00
parent bd4d958398
commit feb274c25a
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -33,7 +33,7 @@ Acquire fastly
-video_size 1920x1080 -framerate 60 \
-input_format yuyv422 \
-i /dev/video0 \
-codec:v libx264 -preset ultrafast -qp 0 \
-codec:v libx264 -preset ultrafast -crf 0 \
-y ultrafast.mkv
.. code:: shell
@ -44,7 +44,7 @@ Acquire fastly
-input_format bgr24 \
-i /dev/video0 \
-vf vflip \
-codec:v libx264 -preset ultrafast -qp 0 \
-codec:v libx264 -preset ultrafast -crf 0 \
-y ultrafast.mkv
Windows desktop:
@ -60,7 +60,7 @@ Cut and shrink
ffmpeg -i ultrafast.mkv \
-ss 00:00:01.000 -to 00:00:02.000 \
-codec:v libx264 -preset veryslow -qp 0 \
-codec:v libx264 -preset veryslow -crf 0 \
-y uf.mkv
Compress for web
@ -69,14 +69,14 @@ Compress for web
.. code:: shell
ffmpeg -i uf.mkv \
-codec:v libx264 -preset veryslow -qp 23 \
-codec:v libx264 -preset veryslow -crf 23 \
-movflags +faststart -pix_fmt yuv420p \
-y uf.23.mp4
.. code:: shell
ffmpeg -i uf.mkv \
-codec:v libx265 -preset veryslow -qp 28 \
-codec:v libx265 -preset veryslow -crf 28 \
-movflags +faststart -pix_fmt yuv420p \
-y uf.28.mp4