fixed libraries
This commit is contained in:
@@ -15,6 +15,8 @@ import argparse
|
|||||||
import logging
|
import logging
|
||||||
import glob
|
import glob
|
||||||
import time
|
import time
|
||||||
|
import subprocess
|
||||||
|
from os.path import splitext
|
||||||
|
|
||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
logger=logging.getLogger()
|
logger=logging.getLogger()
|
||||||
@@ -187,7 +189,7 @@ if __name__=="__main__":
|
|||||||
#add check for mov and mp3 here
|
#add check for mov and mp3 here
|
||||||
input_type = 'file'
|
input_type = 'file'
|
||||||
|
|
||||||
if file_ext.lower() in ['.mp4','mov']:
|
if file_ext.lower() in ['.mp4','.mov']:
|
||||||
if file_ext.lower() == '.mov':
|
if file_ext.lower() == '.mov':
|
||||||
convert_file(args.input_path)
|
convert_file(args.input_path)
|
||||||
process_raw_video_file(args, s_config, r_config)
|
process_raw_video_file(args, s_config, r_config)
|
||||||
|
|||||||
Reference in New Issue
Block a user