From personal use

  • add text -vf drawtext="text='Complimenti':"
  • -b:v 2600k to change video bitrate
  • -hide_banner to remove configuration build options
  • -filter:v "setpts=0.5*PTS" to double speed (halving the presentation timestamp of a frame)
  • using pause (to bring to the background) then fg to bring the process back to life and continue encoding
  • resolution
    • fixed: -vf scale=2048:1024
    • relative e.g. half: -vf scale=iw*.5:ih*.5
  • crop: -filter:v "crop=720:420:0:450" following the format "crop=out_w:out_h:x:y"
  • start and duration: -ss 5 -t 25, especially important to test without wasting time
    • -to 1:25 to use the ending time
    • note the -ss 0:1:59 format (to avoid using bc to calculate starting time)
  • remove audio: -an
  • remove video: ffmpeg -i input-video.mkv -vn -acodec copy opus
  • -y to confirm e.g. to replace existing file

To explore


My notes on Tools gather what I know or want to know. Consequently they are not and will never be complete references. For this, official manuals and online communities provide much better answers.