Make ffmpeg less verbose

hightide
Dan Howe 5 years ago
parent ea517114f9
commit dac4fa17c7

@ -222,16 +222,11 @@ def create_video():
mp4_name = os.path.join(current_hightide_dir, f'{timestamp}_{height}.mp4')
now.strftime('%Y-%m-%d_%H-%M')
command = [
'ffmpeg',
'-pattern_type',
'glob',
'-framerate',
'10',
'-i',
current_hightide_dir + '/jpg/*.jpg',
mp4_name,
'ffmpeg', '-hide_banner', '-loglevel', 'panic', '-pattern_type',
'glob', '-framerate', '10', '-i', current_hightide_dir + '/jpg/*.jpg',
mp4_name
]
subprocess.run(command, stdout=subprocess.DEVNULL)
subprocess.run(command)
# Create counter

Loading…
Cancel
Save