Skip to content

Commit 65e7cb8

Browse files
authored
Update README.md
1 parent ddb4538 commit 65e7cb8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,20 @@ FFMpeg::fromDisk('videos')
9393
->save('short_steve.mkv');
9494
```
9595

96+
Sometimes you don't want to use the built-in filters. You can apply your own filter by providing a set of options. This can be an array or multiple strings as arguments:
97+
98+
``` php
99+
FFMpeg::fromDisk('videos')
100+
->open('steve_howe.mp4')
101+
->addFilter(['-itsoffset', 1);
102+
103+
// or
104+
105+
FFMpeg::fromDisk('videos')
106+
->open('steve_howe.mp4')
107+
->addFilter('-itsoffset', 1);
108+
```
109+
96110
Chain multiple convertions:
97111

98112
``` php

0 commit comments

Comments
 (0)