Changes between Version 2 and Version 3 of Xfade


Ignore:
Timestamp:
Feb 4, 2020, 8:41:31 PM (7 years ago)
Author:
llogan
Comment:

added ToC. mentioned custom effects and opencl.

Legend:

Unmodified
Added
Removed
Modified
  • Xfade

    v2 v3  
    1 The [https://ffmpeg.org/ffmpeg-filters.html#xfade xfade] filter can create transitions between two inputs with various wipes and crossfades.
     1[[PageOutline]]
     2
     3The [https://ffmpeg.org/ffmpeg-filters.html#xfade xfade] and [https://ffmpeg.org/ffmpeg-filters.html#xfade_005fopencl xfade_opencl] filters can create transitions between two inputs with various wipes, slides, crossfades, and other effects.
    24
    35= Examples =
     
    2123= Gallery =
    2224
     25Below is gallery of the available effects. `fade` is the default transition. Names in '''bold''' are also available in xfade_opencl.
     26
    2327||  [[Image(fade.gif)]]  ||  [[Image(fadeblack.gif)]]  ||  [[Image(fadewhite.gif)]]  ||  [[Image(distance.gif)]]  ||
    24 ||  fade  ||  fadeblack  ||  fadewhite  ||  distance  ||
     28||  '''fade''' (default)  ||  fadeblack  ||  fadewhite  ||  distance  ||
    2529||  [[Image(wipeleft.gif)]]  ||  [[Image(wiperight.gif)]]  ||  [[Image(wipeup.gif)]]  ||  [[Image(wipedown.gif)]]  ||
    26 ||  wipeleft  ||  wiperight  ||  wipeup  ||  wipedown  ||
     30||  '''wipeleft'''  ||  '''wiperight'''  ||  '''wipeup'''  ||  '''wipedown'''  ||
    2731||  [[Image(slideleft.gif)]]  ||  [[Image(slideright.gif)]]  ||  [[Image(slideup.gif)]]  ||  [[Image(slidedown.gif)]]  ||
    28 ||  slideleft  ||  slideright  ||  slideup  ||  slidedown  ||
     32||  '''slideleft'''  ||  '''slideright'''  ||  '''slideup'''  ||  '''slidedown'''  ||
    2933||  [[Image(smoothleft.gif)]]  ||  [[Image(smoothright.gif)]]  ||  [[Image(smoothup.gif)]]  ||  [[Image(smoothdown.gif)]]  ||
    3034||  smoothleft  ||  smoothright  ||  smoothup  ||  smoothdown  ||
     
    3337||||||||  [[Image(radial.gif)]]  ||
    3438||||||||   radial  ||
     39
     40= Custom effects =
     41
     42You can make your own custom effects using `transition=custom` and the `expr` options. See the [https://ffmpeg.org/ffmpeg-filters.html#xfade xfade documentation] for more info.
     43
     44= xfade_opencl =
     45
     46[https://ffmpeg.org/ffmpeg-filters.html#xfade_005fopencl xfade_opencl] is the Open CL variant of the xfade filter. This filter supports a subset of the filters available in xfade (see '''bold''' names in gallery above) and also supports creation of custom effects. It requires `ffmpeg` to be configured with `--enable-opencl` and you must initialize a hardware device in your command. See [https://ffmpeg.org/ffmpeg-filters.html#OpenCL-Video-Filters OpenCL Video Filters] for general info.