Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
fix(preprocessor): fix bug in params in ffmepg
  • Loading branch information
Larryjianfeng committed Aug 1, 2019
1 parent c7df090 commit e6a3711911f6bfc9631aec4590502a71e52f84f3
Showing with 2 additions and 0 deletions.
  1. +2 −0 gnes/preprocessor/helper.py
@@ -37,6 +37,8 @@ def get_video_frames(buffer_data: bytes, image_format: str = 'cv2',
# (-vsync, vfr)
# (-vf, select=eq(pict_type\,I))
for k, v in kwargs.items():
if type(v) in [int, float]:
v = str(v)
ffmpeg_cmd.append('-' + k)
ffmpeg_cmd.append(v)

0 comments on commit e6a3711

Please sign in to comment.