10000 Update readme · Powercoder64/ffmpeg-python@e14e9e5 · GitHub
[go: up one dir, main page]

Skip to content

Commit e14e9e5

Browse files
committed
Update readme
1 parent 330fe09 commit e14e9e5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ ffmpeg \
2222
Or if you prefer a non-fluent interface:
2323
```
2424
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)
2929
```
3030

3131
## 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
9090
>>> import ffmpeg
9191
```
9292

93-
## API Reference
93+
## [API Reference](https://kkroening.github.io/ffmpeg-python/)
9494

9595
API documentation is automatically generated from python docstrings and hosted on github pages: https://kkroening.github.io/ffmpeg-python/
9696

@@ -100,12 +100,12 @@ import ffmpeg
100100
help(ffmpeg)
101101
```
102102

103-
## Custom filters
103+
## Custom Filters
104104

105105
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:
106106
```
107107
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')
109109
node = ffmpeg.output(node, 'dummy2.mp4')
110110
```
111111

@@ -117,7 +117,7 @@ It should be fairly easy to use filters that aren't explicitly built into `ffmpe
117117

118118
Pull requests are welcome as well.
119119

120-
## Additional resources
120+
## Additional Resources
121121

122122
- [FFmpeg Homepage](https://ffmpeg.org/)
123123
- [FFmpeg Documentation](https://ffmpeg.org/ffmpeg.html)

0 commit comments

Comments
 (0)
0