ffmpeg-gl-transition
ffmpeg-gl-transition copied to clipboard
general uniforms support
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
need more test
This looks awesome @turengege! Will have some time to view more in-depth this weekend 💯
Thanks!!
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
Added a few quick comments -- overall, this looks really great!
awesome! why not merge it ?
Hello, which ffmpeg version were you using?
+1
Hello, which ffmpeg version were you using?
I think I use the latest version at that time.
@transitive-bullshit @xinghuolei What's missing here to merge? I am willing to step in and help finish this one