transitive-bullshit / ffmpeg-concat

Concats a list of videos together using ffmpeg with sexy OpenGL transitions.
863 stars 113 forks source link

how to use custom transition #157

Closed cdg720 closed 6 months ago

cdg720 commented 6 months ago

Hi,

I wanted to use some transitions listed on gl-transitions repo, e.g. https://github.com/gl-transitions/gl-transitions/blob/master/transitions/BookFlip.glsl

I tried ffmpeg-concat -t bookflip and I get fade effect, which is default when no transition is found. Is there a way to provide a custom glsl to ffmpeg-concat?

Thanks, DK

cdg720 commented 6 months ago

I ended up modifying /usr/lib/node_modules/ffmpeg-concat/node_modules/gl-transitions/index.js and I can use the BookFlip.