From ce06215af50b0781d65dcbaa975d6ed043c7f1ce Mon Sep 17 00:00:00 2001 From: Karl Kroening Date: Wed, 4 Jul 2018 00:16:41 -0700 Subject: [PATCH] Update README.md --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5b3f5fc..eb4cbf9 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,8 @@ ffmpeg.run(stream) Or if you prefer a fluent interface: ```python import ffmpeg -(ffmpeg +( + ffmpeg .input('input.mp4') .hflip() .output('output.mp4') @@ -54,7 +55,8 @@ import ffmpeg in_file = ffmpeg.input('input.mp4') overlay_file = ffmpeg.input('overlay.png') -(ffmpeg +( + ffmpeg .concat( in_file.trim(start_frame=10, end_frame=20), in_file.trim(start_frame=30, end_frame=40), @@ -127,7 +129,8 @@ ffmpeg.run(stream) Or fluently: ```python -(ffmpeg +( + ffmpeg .input('dummy.mp4') .filter_('fps', fps=25, round='up') .output('dummy2.mp4') @@ -137,7 +140,8 @@ Or fluently: Arguments with special names such as `-qscale:v` can be specified as a keyword-args dictionary as follows: ```python -(ffmpeg +( + ffmpeg .input('dummy.mp4') .output('dummy2.mp4', **{'qscale:v': 3}) .run()