From 208e19377ad1b023fdb7949e30433c30bb08cace Mon Sep 17 00:00:00 2001 From: Jem Date: Wed, 7 Aug 2019 15:25:04 +0800 Subject: [PATCH] feat(audio): add preprocess and mfcc encoder for audio, update protobuf --- gnes/preprocessor/helper.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gnes/preprocessor/helper.py b/gnes/preprocessor/helper.py index 83e183b8..9d62ab6d 100644 --- a/gnes/preprocessor/helper.py +++ b/gnes/preprocessor/helper.py @@ -47,7 +47,6 @@ def get_video_length(video_path): def get_video_length_from_raw(buffer_data): import re - import datetime ffmpeg_cmd = ['ffmpeg', '-i', '-', '-'] with sp.Popen(ffmpeg_cmd, stdin=sp.PIPE, stdout=sp.PIPE, stderr=sp.PIPE, bufsize=-1, shell=False) as pipe: