You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -111,7 +111,7 @@ See the [Examples README](https://github.com/kkroening/ffmpeg-python/tree/master
111
111
112
112
## Custom Filters
113
113
114
-
Don't see the filter you're looking for? `ffmpeg-python` includes shorthand notation for some of the most commonly used filters (such as `concat`), but it's easy to use any arbitrary ffmpeg filter:
114
+
Don't see the filter you're looking for? While `ffmpeg-python` includes shorthand notation for some of the most commonly used filters (such as `concat`), all filters can be referenced via the `.filter` operator:
@@ -140,11 +140,23 @@ Arguments with special names such as `-qscale:v` can be specified as a keyword-a
140
140
)
141
141
```
142
142
143
+
Filters that take multiple input streams can be specified by passing the input streams as an array to `ffmpeg.filter`:
144
+
```python
145
+
main = ffmpeg.input('main.mp4')
146
+
logo = ffmpeg.input('logo.png')
147
+
stream = (
148
+
ffmpeg
149
+
.filter([main, logo], 'overlay', 10, 10)
150
+
.output('out.mp4')
151
+
.run()
152
+
)
153
+
```
154
+
143
155
When in doubt, refer to the [existing filters](https://github.com/kkroening/ffmpeg-python/blob/master/ffmpeg/_filters.py), [examples](https://github.com/kkroening/ffmpeg-python/tree/master/examples), and/or the [official ffmpeg documentation](https://ffmpeg.org/ffmpeg-filters.html).
144
156
145
157
## Frequently asked questions
146
158
147
-
**Why do I get an import/attribute/etc error from `import ffmpeg`?**
159
+
**Why do I get an import/attribute/etc. error from `import ffmpeg`?**
148
160
149
161
Make sure you ran `pip install ffmpeg-python` and not `pip install ffmpeg` or `pip install python-ffmpeg`.
150
162
@@ -168,7 +180,7 @@ As usual, take a look at the [examples](https://github.com/kkroening/ffmpeg-pyth
One of the best things you can do to help make `ffmpeg-python` better is to answer [open questions](https://github.com/kkroening/ffmpeg-python/labels/question) in the issue tracker. The questions that are answered will be tagged and eventually incorporated into the documentation, examples, and other learning resources.
183
+
One of the best things you can do to help make `ffmpeg-python` better is to answer [open questions](https://github.com/kkroening/ffmpeg-python/labels/question) in the issue tracker. The questions that are answered will be tagged and incorporated into the documentation, examples, and other learning resources.
172
184
173
185
If you notice things that could be better in the documentation or overall development experience, please say so in the [issue tracker](https://github.com/kkroening/ffmpeg-python/issues). And of course, feel free to report any bugs or submit feature requests.
0 commit comments