parent
bd4d958398
commit
feb274c25a
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue