ffmpeg-gl-transition icon indicating copy to clipboard operation
ffmpeg-gl-transition copied to clipboard

general uniforms support

Open turengege opened this issue 6 years ago • 9 comments

Hi This feature is unfinished but I think it should help.

Usage:

./ffmpeg -i media/0.mp4 -i media/1.mp4 -filter_complex "gltransition=duration=4:offset=1.5:source=WaterDrop.glsl:uniforms='amplitude=10.0&speed=15.5'" -y out.mp4

Limits: only int and float are supported

turengege avatar Jul 19 '18 03:07 turengege

need more test

turengege avatar Jul 19 '18 10:07 turengege

This looks awesome @turengege! Will have some time to view more in-depth this weekend 💯

Thanks!!

transitive-bullshit avatar Jul 20 '18 04:07 transitive-bullshit

Int and float vectors are supported now:

ffmpeg -i media/0.mp4 -i media/1.mp4 -filter_complex "gltransition=duration=2:offset=1.5:source=fadecolor.glsl:uniforms='color=vec3(0.0,0.5,0.0)',format=yuv420p" -y out.mp4

I don't have much C Coding experience. Hope for code reviewing and suggestions. @transitive-bullshit

turengege avatar Jul 21 '18 03:07 turengege

Added a few quick comments -- overall, this looks really great!

transitive-bullshit avatar Jul 23 '18 07:07 transitive-bullshit

awesome! why not merge it ?

xinghuolei avatar Dec 22 '18 08:12 xinghuolei

Hello, which ffmpeg version were you using?

joao-carvalheira avatar Mar 28 '19 17:03 joao-carvalheira

+1

owen-m1 avatar Aug 20 '19 18:08 owen-m1

Hello, which ffmpeg version were you using?

I think I use the latest version at that time.

turengege avatar Oct 08 '19 03:10 turengege

@transitive-bullshit @xinghuolei What's missing here to merge? I am willing to step in and help finish this one

SiviP-Glossai avatar Oct 06 '22 08:10 SiviP-Glossai