8000 Update README.md · monir-dev/ffmpeg-python@ce06215 · GitHub
[go: up one dir, main page]

Skip to content

Commit ce06215

Browse files
authored
Update README.md
< 8000 pre class="color-fg-muted d-flex flex-items-center">1 parent ae4b6a9 commit ce06215

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ ffmpeg.run(stream)
2323
Or if you prefer a fluent interface:
2424
```python
2525
import ffmpeg
26-
(ffmpeg
26+
(
27+
ffmpeg
2728
.input('input.mp4')
2829
.hflip()
2930
.output('output.mp4')
@@ -54,7 +55,8 @@ import ffmpeg
5455

5556
in_file = ffmpeg.input('input.mp4')
5657
overlay_file = ffmpeg.input('overlay.png')
57-
(ffmpeg
58+
(
59+
ffmpeg
5860
.concat(
5961
in_file.trim(start_frame=10, end_frame=20),
6062
in_file.trim(start_frame=30, end_frame=40),
@@ -127,7 +129,8 @@ ffmpeg.run(stream)
127129

128130
Or fluently:
129131
```python
130-
(ffmpeg
132+
(
133+
ffmpeg
131134
.input('dummy.mp4')
132135
.filter_('fps', fps=25, round='up')
133136
.output('dummy2.mp4')
@@ -137,7 +140,8 @@ Or fluently:
137140

138141
Arguments with special names such as `-qscale:v` can be specified as a keyword-args dictionary as follows:
139142
```python
140-
(ffmpeg
143+
(
144+
ffmpeg
141145
.input('dummy.mp4')
142146
.output('dummy2.mp4', **{'qscale:v': 3})
143147
.run()

0 commit comments

Comments
 (0)
0