aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authortassaron2017-07-16 23:13:00 -0400
committertassaron2017-07-16 23:13:00 -0400
commitaa464632c64725201dc7584ebf6bf2c3d06b47b6 (patch)
treed0acb70a5fc839a1810a962f2ff9b4a9a931025a /src/components
parentec0abd190273b7b636c7085d7caed8220ab09172 (diff)
new hotkey to preview the ffmpeg command
Diffstat (limited to 'src/components')
-rw-r--r--src/components/video.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/video.py b/src/components/video.py
index e1f182c..9e3db30 100644
--- a/src/components/video.py
+++ b/src/components/video.py
@@ -45,7 +45,7 @@ class Video:
'-i', self.videoPath,
'-f', 'image2pipe',
'-pix_fmt', 'rgba',
- '-filter:v', 'scale=%s:%s' % scale(
+ '-filter_complex', '[0:v] scale=%s:%s' % scale(
self.scale, self.width, self.height, str),
'-vcodec', 'rawvideo', '-',
]
@@ -272,7 +272,7 @@ class Component(Component):
'-i', self.videoPath,
'-f', 'image2pipe',
'-pix_fmt', 'rgba',
- '-filter:v', 'scale=%s:%s' % scale(
+ '-filter_complex', '[0:v] scale=%s:%s' % scale(
self.scale, width, height, str),
'-vcodec', 'rawvideo', '-',
'-ss', '90',