diff --git a/README.md b/README.md index 83e7e19..d9c5d68 100644 --- a/README.md +++ b/README.md @@ -6,5 +6,8 @@ Source for www.alexandrostheodotou.com # Build `make html` +# Dependencies +* pelican + # Deploy `SSH_USER= SSH_HOST= SSH_TARGET_DIR= make rsync_upload` diff --git a/content/ffmpeg-cheatsheet.rst b/content/ffmpeg-cheatsheet.rst new file mode 100644 index 0000000..d4cb1fd --- /dev/null +++ b/content/ffmpeg-cheatsheet.rst @@ -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