you are viewing a single comment's thread
view the rest of the comments
[–] 23 points 1 year ago* (10 children)

Pretty much, yeah.

Rather than jot down in a text file the various ffmpeg commands I use frequently...

Raktajino@laptop:~/Downloads$ history | grep ffmpeg
   12  sudo apt install audacity gimp ffmpeg mplayer
  184  history | grep ffmpeg
  215  ffmpeg -i source.mkv -ss 629 -t 7 out.mkv
  217  ffmpeg -i out.mkv -s 0.5 -vf scale=1280:720 out.mp4
  218  ffmpeg -i out.mkv -ss 0.5 -vf scale=1280:720 out.mp4
  231  ffmpeg -i out.mp4 -vf "subtitles=out.srt" final.mp4
  503  ffmpeg -i toofat.wav toofat.mp3
  ...
  682  history | grep ffmpeg
  684  ffmpeg -i 1.gif -i 2.gif -filter_complex "[1:0] [2:0] concat=n=2" out.gif
  685  ffmpeg -i 1.gif -i 2.gif -filter_complex "[1:0] [2:0] concat=n=2:v=1" out.gif
  686  ffmpeg -i 1.gif -i 2.gif -filter_complex "[1:0] [2:0] concat=n=2:v=1" -map '[v]' out.gif
  687  history | grep ffmpeg
  688  ffmpeg -i 1.gif -i 2.gif -filter_complex "[0:0] 12:0] concat=n=2:v=1" -map '[v]' out.gif
  689  ffmpeg -i 1.gif -i 2.gif -filter_complex "[0:0] 1:0] concat=n=2:v=1" -map '[v]' out.gif
  690  ffmpeg -i 1.gif -i 2.gif -filter_complex "[0:0] [1:0] concat=n=2:v=1" -map '[v]' out.gif
  691  ffmpeg -i 1.gif -i 2.gif -filter_complex "[0:0] [1:0] concat=n=2"  out.gif
  694  history | grep ffmpeg
  • source
  • hideshow 10 child comments
  • [–] 11 points 1 year ago* (last edited 1 year ago) (2 children)

    I like how 'history | grep ffmpeg' shows up twice

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 1 year ago (3 children)

    I'm begging you to use CTRL+R

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 1 year ago (2 children)

    If you have a fzf or other plugin installed, great. the vanilla Ctrl R is kinda mid in most shells IMO

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 1 year ago* (last edited 1 year ago)

    You're gonna love once you start

    1. tagging your ffmpeg commands like do a thing # dothingname

    2. Just !?dothingname later to recall it and run it.

    Its a little easier to NOT accidentally !?alt and discover halt is matched first.

  • source
  • parent