RBG shifting is one of the coolest and easiest effects for emulating 3D or add that Vaporwave Aesthetics. With rgbashift, the RGBA pixels can freely shift horizontally and/or vertically.
In this example, a red horizontal shift is applied to create red/blue 3D, as seen in figure 61.0:
$ ffmpeg -i input.mp4 -vf "rgbashift=rh=-10" -pix_fmt yuv420p output.mp4
In this example, a blue horizontal shift is applied, as seen in figure 61.1:
$ ffmpeg -i input.mp4 -vf "rgbashift=bh=10" -pix_fmt yuv420p output.mp4
In this example, a green vertical shift is applied, as seen in figure 61.2:
$ ffmpeg -i input.mp4 -vf "rgbashift=gv=10" -pix_fmt yuv420p output.mp4