<p>You'll need (to compile) a ffmpeg build with a custom filter: <a href="https://github.com/transitive-bullshit/ffmpeg-gl-transition" rel="nofollow noreferrer">https://github.com/transitive-bullshit/ffmpeg-gl-transition</a>, or use node.js script here: <a href="https://github.com/transitive-bullshit/ffmpeg-concat" rel="nofollow noreferrer">https://github.com/transitive-bullshit/ffmpeg-concat</a></p>

<p>The transition is at <a href="https://gl-transitions.com/editor/InvertedPageCurl" rel="nofollow noreferrer">https://gl-transitions.com/editor/InvertedPageCurl</a></p>

CC BY-SA 4.0
2018-07-27T05:51:47.367Z
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
CC BY-SA 4.0
2018-07-27T06:35:21.387Z
A diagonal wipe? That can be done. I'll add that method within a day or two.
Gyan
CC BY-SA 4.0
2018-07-15T08:01:00.623Z
2018-07-15T08:01:00.623Z
Gyan
<p>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.
<a href="https://i.sstatic.net/oireD.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/oireD.png" alt="An example in images"></a></p>

<ffmpeg>
How to create “page turn / curl” effect in FFmpeg?
Shchipunov
# How to create “page turn / curl” effect in FFmpeg?

(Asked by: username_0 on 2018-07-15)

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](https://i.sstatic.net/oireD.png)](https://i.sstatic.net/oireD.png)

**Tags:** ffmpeg


---

## 1 answers

### Answer by username_1 on 2018-07-15. Score: 2

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>

> **Comments:**
> **username_0**: 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?  
> **username_1**: A diagonal wipe? That can be done. I'll add that method within a day or two.  

---

