Skip to content

Commit

Permalink
add simple example for overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
wanglei.w committed Apr 5, 2021
1 parent ceeee69 commit bb39562
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ffmpeg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ func TestSimpleExample(t *testing.T) {
assert.Nil(t, err)
}

func TestSimpleOverLayExample(t *testing.T) {
err := Input(TestInputFile1, nil).
Overlay(Input(TestOverlayFile), "").
Output(TestOutputFile1).OverWriteOutput().
Run()
assert.Nil(t, err)
}

func ComplexFilterExample() *Stream {
split := Input(TestInputFile1).VFlip().Split()
split0, split1 := split.Get("0"), split.Get("1")
Expand Down

0 comments on commit bb39562

Please sign in to comment.