parent
bd4d958398
commit
feb274c25a
1 changed files with 5 additions and 5 deletions
|
@ -33,7 +33,7 @@ Acquire fastly
|
||||||
-video_size 1920x1080 -framerate 60 \
|
-video_size 1920x1080 -framerate 60 \
|
||||||
-input_format yuyv422 \
|
-input_format yuyv422 \
|
||||||
-i /dev/video0 \
|
-i /dev/video0 \
|
||||||
-codec:v libx264 -preset ultrafast -qp 0 \
|
-codec:v libx264 -preset ultrafast -crf 0 \
|
||||||
-y ultrafast.mkv
|
-y ultrafast.mkv
|
||||||
|
|
||||||
.. code:: shell
|
.. code:: shell
|
||||||
|
@ -44,7 +44,7 @@ Acquire fastly
|
||||||
-input_format bgr24 \
|
-input_format bgr24 \
|
||||||
-i /dev/video0 \
|
-i /dev/video0 \
|
||||||
-vf vflip \
|
-vf vflip \
|
||||||
-codec:v libx264 -preset ultrafast -qp 0 \
|
-codec:v libx264 -preset ultrafast -crf 0 \
|
||||||
-y ultrafast.mkv
|
-y ultrafast.mkv
|
||||||
|
|
||||||
Windows desktop:
|
Windows desktop:
|
||||||
|
@ -60,7 +60,7 @@ Cut and shrink
|
||||||
|
|
||||||
ffmpeg -i ultrafast.mkv \
|
ffmpeg -i ultrafast.mkv \
|
||||||
-ss 00:00:01.000 -to 00:00:02.000 \
|
-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
|
-y uf.mkv
|
||||||
|
|
||||||
Compress for web
|
Compress for web
|
||||||
|
@ -69,14 +69,14 @@ Compress for web
|
||||||
.. code:: shell
|
.. code:: shell
|
||||||
|
|
||||||
ffmpeg -i uf.mkv \
|
ffmpeg -i uf.mkv \
|
||||||
-codec:v libx264 -preset veryslow -qp 23 \
|
-codec:v libx264 -preset veryslow -crf 23 \
|
||||||
-movflags +faststart -pix_fmt yuv420p \
|
-movflags +faststart -pix_fmt yuv420p \
|
||||||
-y uf.23.mp4
|
-y uf.23.mp4
|
||||||
|
|
||||||
.. code:: shell
|
.. code:: shell
|
||||||
|
|
||||||
ffmpeg -i uf.mkv \
|
ffmpeg -i uf.mkv \
|
||||||
-codec:v libx265 -preset veryslow -qp 28 \
|
-codec:v libx265 -preset veryslow -crf 28 \
|
||||||
-movflags +faststart -pix_fmt yuv420p \
|
-movflags +faststart -pix_fmt yuv420p \
|
||||||
-y uf.28.mp4
|
-y uf.28.mp4
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue