Is it possible to create animation that would be similar to "page turn / curl" effect in FFmpeg between two videos? The basic idea: the first video is playing and after some time the second video is replacing the first video with this effect. On images below, blue color means the first video, black color means the second video and yellow color means the transition color between two videos. An example in images

1 Answer 1


You'll need (to compile) a ffmpeg build with a custom filter: https://github.com/transitive-bullshit/ffmpeg-gl-transition, or use node.js script here: https://github.com/transitive-bullshit/ffmpeg-concat

The transition is at https://gl-transitions.com/editor/InvertedPageCurl

  • Thank you for the answer! Is it possible to use native filters of FFmpeg if I would simplify the effect this way: the second video appears from the right upper angle like on the images but without any animation (just keep the triangle form of appearing) and replaces the first video?
    – Shchipunov
    Jul 27, 2018 at 5:51
  • A diagonal wipe? That can be done. I'll add that method within a day or two.
    – Gyan
    Jul 27, 2018 at 6:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.