8000 Update readme · dreamCodeMan/ffmpeg-python@2d2d3d7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2d2d3d7

Browse files
committed
Update readme
1 parent 2fbb5e4 commit 2d2d3d7

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ The easiest way to acquire the latest version of `ffmpeg-python` is through pip:
8282
pip install ffmpeg-python
8383
```
8484

85-
It's also possible to clone the source and make sure it's on your python path (e.g. `$PYTHONPATH`, `sys.path`, etc.):
85+
It's also possible to clone the source and put it on your python path (`$PYTHONPATH`, `sys.path`, etc.):
8686
```
8787
> git clone git@github.com:kkroening/ffmpeg-python.git
8888
> export PYTHONPATH=${PYTHONPATH}:ffmpeg-python
@@ -107,13 +107,23 @@ Don't see the filter you're looking for? `ffmpeg-python` is a work in progress,
107107
stream = ffmpeg.input('dummy.mp4')
108108
stream = ffmpeg.filter_(stream, 'fps', fps=25, round='up')
109109
stream = ffmpeg.output(stream, 'dummy2.mp4')
110+
ffmpeg.run(stream)
111+
```
112+
113+
Or fluently:
114+
```
115+
ffmpeg \
116+
.input('dummy.mp4') \
117+
.filter_('fps', fps=25, round='up') \
118+
.output('dummy2.mp4') \
119+
.run()
110120
```
111121

112122
When in doubt, refer to the [existing filters](https://github.com/kkroening/ffmpeg-python/blob/master/ffmpeg/_filters.py) and/or the [official ffmpeg documentation](https://ffmpeg.org/ffmpeg-filters.html).
113123

114124
## Contributing
115125

116-
Please feel free to report any bugs or feature requests.
126+
Feel free to report any bugs or feature requests.
117127

118128
It should be fairly easy to use filters that aren't explicitly built into `ffmpeg-python` but if there's a feature or filter you'd really like to see included in the library, don't hesitate to open a feature request in GitHub.
119129

0 commit comments

Comments
 (0)
0