Skip to content

Commit bb39562

Browse files
author
wanglei.w
committed
add simple example for overlay
1 parent ceeee69 commit bb39562

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ffmpeg_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ func TestSimpleExample(t *testing.T) {
6969
assert.Nil(t, err)
7070
}
7171

72+
func TestSimpleOverLayExample(t *testing.T) {
73+
err := Input(TestInputFile1, nil).
74+
Overlay(Input(TestOverlayFile), "").
75+
Output(TestOutputFile1).OverWriteOutput().
76+
Run()
77+
assert.Nil(t, err)
78+
}
79+
7280
func ComplexFilterExample() *Stream {
7381
split := Input(TestInputFile1).VFlip().Split()
7482
split0, split1 := split.Get("0"), split.Get("1")

0 commit comments

Comments
 (0)