8000 Update doc · Powercoder64/ffmpeg-python@f131a9a · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

8000
Appearance settings

Commit f131a9a

Browse files
committed
Update doc
1 parent 350f30d commit f131a9a

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

README.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,32 @@
11
# ffmpeg-python: Powerfully simple A/V routing with Python
22

3-
FFmpeg is extremely powerful, but its command-line interface gets really complicated really quickly - especially when working with signal graphs and doing anything more than trivial.
3+
## Overview
4+
5+
There are tons of Python FFmpeg wrappers out there but they seem to lack complex filter support - useless for anything but trivial examples. `ffmpeg-python` works well for simple as well as complicated signal graphs.
6+
7+
## Quickstart
8+
9+
```
10+
import ffmpeg
11+
ffmpeg \
12+
.file_input('input.mp4') \
13+
.file_output('output.mp4') \
14+
.run()
15+
```
16+
17+
Or if you dislike fluent-style APIs:
18+
```
19+
import ffmpeg
20+
in = ffmpeg.file_input('input.mp4')
21+
out = ffmpeg.file_output(in)
22+
ffmpeg.run(out)
23+
```
24+
25+
## Complex filter graphs
26+
FFmpeg is extremely powerful, but it's command-line interface gets really complicated really quickly - especially when working with signal graphs and doing anything more than trivial.
427

528
Take for example a signal graph that looks like this:
6-
![Signal graph](https://raw.githubusercontent.com/kkroening/ffmpeg-python/master/doc/graph1.png|width=300)
29+
<img src="https://raw.githubusercontent.com/kkroening/ffmpeg-python/master/doc/graph1.png" alt="Signal graph" width="50%" />
730

831
The corresponding command-line arguments are pretty gnarly:
932
```

0 commit comments

Comments
 (0)
0