2 changed files with 35 additions and 0 deletions
@ -0,0 +1,32 @@
@@ -0,0 +1,32 @@
|
||||
Ffmpeg Cheatsheet |
||||
################# |
||||
|
||||
:date: 2021-03-13 17:40 |
||||
:tags: ffmpeg, video |
||||
:category: video |
||||
:slug: ffmpeg-cheatsheet |
||||
:authors: Alexandros Theodotou |
||||
:summary: Commands for doing various things with video using ffmpeg |
||||
|
||||
This is a list of commands for editing video using ffmpeg. |
||||
|
||||
Cut and Fade |
||||
------------ |
||||
Start the video at minute 1, make it last 20 seconds and fade the |
||||
first and last 4 seconds of audio and video: |
||||
|
||||
.. code-block:: bash |
||||
|
||||
ffmpeg \ |
||||
# start at minute 1 |
||||
-ss 00:01:00 \ |
||||
# duration 20 seconds |
||||
-t 20 \ |
||||
# input video |
||||
-i myinvideo.webm \ |
||||
# audio fade |
||||
-af "afade=in:d=4,afade=t=out:st=16:d=4" \ |
||||
# video fade |
||||
-vf "fade=in:d=4,fade=out:st=16:d=4" \ |
||||
# output video |
||||
myoutvideo.webm |
Loading…
Reference in new issue