@@ -22,10 +22,10 @@ ffmpeg \
22
22
Or if you prefer a non-fluent interface:
23
23
```
24
24
import ffmpeg
25
- in = ffmpeg.input('input.mp4')
26
- flipped = ffmpeg.hflip(in )
27
- out = ffmpeg.output(flipped )
28
- ffmpeg.run(out )
25
+ node = ffmpeg.input('input.mp4')
26
+ node = ffmpeg.hflip(node )
27
+ node = ffmpeg.output(node )
28
+ ffmpeg.run(node )
29
29
```
30
30
31
31
## Complex filter graphs
@@ -90,7 +90,7 @@ It's also possible to clone the source and make sure it's on your python path (e
90
90
>>> import ffmpeg
91
91
```
92
92
93
- ## API Reference
93
+ ## [ API Reference] ( https://kkroening.github.io/ffmpeg-python/ )
94
94
95
95
API documentation is automatically generated from python docstrings and hosted on github pages: https://kkroening.github.io/ffmpeg-python/
96
96
@@ -100,12 +100,12 @@ import ffmpeg
100
100
help(ffmpeg)
101
101
```
102
102
103
- ## Custom filters
103
+ ## Custom Filters
104
104
105
105
Don't see the filter you're looking for? ` ffmpeg-python ` is a work in progress, but it's easy to use any arbitrary ffmpeg filter:
106
106
```
107
107
node = ffmpeg.input('dummy.mp4')
108
- node = FilterNode([ node] , 'custom_filter', 'a', 'b', kwarg1='c')
108
+ node = ffmpeg.filter_( node, 'custom_filter', 'a', 'b', kwarg1='c')
109
109
node = ffmpeg.output(node, 'dummy2.mp4')
110
110
```
111
111
@@ -117,7 +117,7 @@ It should be fairly easy to use filters that aren't explicitly built into `ffmpe
117
117
118
118
Pull requests are welcome as well.
119
119
120
- ## Additional resources
120
+ ## Additional Resources
121
121
122
122
- [ FFmpeg Homepage] ( https://ffmpeg.org/ )
123
123
- [ FFmpeg Documentation] ( https://ffmpeg.org/ffmpeg.html )
0 commit comments