smart cut: Fix int in ffmpeg args

pull/163/head
Mike Lang 5 years ago
parent b39e844c1e
commit 82346a55ca

@ -489,7 +489,7 @@ def smart_cut_segments(segments, start, end):
'ffmpeg', 'ffmpeg',
'-hide_banner', '-loglevel', 'error', # suppress noisy output '-hide_banner', '-loglevel', 'error', # suppress noisy output
'-f', 'concat', '-', # read concat config from stdin '-f', 'concat', '-', # read concat config from stdin
'-safe', 0, # trust weird filenames '-safe', '0', # trust weird filenames
'-protocol_whitelist', 'file,pipe', # need to explicitly allow pipe '-protocol_whitelist', 'file,pipe', # need to explicitly allow pipe
'-c', 'copy', # don't re-encode the actual video '-c', 'copy', # don't re-encode the actual video
'-fflags', '+genpts', # this does something to do with timestamps? '-fflags', '+genpts', # this does something to do with timestamps?

Loading…
Cancel
Save