You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Added experimental AddEffect method to the frame object, to apply image effects
This commit is contained in:
@@ -62,10 +62,13 @@ int main()
|
||||
// Output stream info
|
||||
w.OutputStreamInfo();
|
||||
|
||||
for (int frame = 1; frame <= 500; frame++)
|
||||
for (int frame = 300; frame <= 450; frame++)
|
||||
{
|
||||
Frame f = r.GetFrame(frame);
|
||||
|
||||
// Apply effect
|
||||
f.AddEffect("oilPaint");
|
||||
|
||||
// Write frame
|
||||
cout << "Write frame " << f.number << endl;
|
||||
w.WriteFrame(&f);
|
||||
|
||||
Reference in New Issue
Block a user