You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Added curve-based color as the canvas background color (red, green, and blue), so it can be animated now.
This commit is contained in:
@@ -55,6 +55,8 @@ int main()
|
||||
|
||||
// Create timeline
|
||||
Timeline t(624, 348, Framerate(24,1), 44100, 2);
|
||||
t.color.blue.AddPoint(1, 0);
|
||||
t.color.blue.AddPoint(300, 65000);
|
||||
|
||||
// Add some clips
|
||||
//Clip c1(new FFmpegReader("/home/jonathan/Apps/videcho_site/media/user_files/videos/bd0bf442-3221-11e2-8bf6-001fd00ee3aa.webm"));
|
||||
@@ -171,8 +173,8 @@ int main()
|
||||
|
||||
// Add clips
|
||||
t.AddClip(&c1);
|
||||
t.AddClip(&c2);
|
||||
t.AddClip(&c3);
|
||||
//t.AddClip(&c2);
|
||||
//t.AddClip(&c3);
|
||||
|
||||
|
||||
// Create a writer
|
||||
|
||||
Reference in New Issue
Block a user