Alex Balgavy

Just some stuff about me.

Here's my dotfiles repository.

Check out my blog.

My keys: PGP, SSH

My crypto wallets (BTC, XMR)

ffmpeg how to invert the colors of a video

Written by John Riselvato - original link

FFmpeg has a very simple filter, negate, that inverts the colors of the input. The train station looks really futuristic with this filter on.

Figure 60.0: inverted video{width=“436” height=“240”}

Although this filter is simplistic in use, it has a great effect, below is the command as seen in figure 60.0:

  $ ffmpeg -i input.mp4 -vf "negate" output.mp4