Skip to content

Commit 0e8a003

Browse files
committed
bugfix: / in output filename tried to make new tmpdir and failed
1 parent b492dc4 commit 0e8a003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ffmpeg_editlist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def main(argv=sys.argv[1:]):
433433
ensure_filedir_exists(output)
434434
if output in all_inputs:
435435
raise RuntimeError("Output is the same as an input file, aborting.")
436-
tmpdir_out = str(Path(tmpdir)/('final-'+segment['output']))
436+
tmpdir_out = str(Path(tmpdir)/('final-'+segment['output'].replace('/', '%2F')))
437437
cmd = ['ffmpeg', '-loglevel', str(LOGLEVEL),
438438
#*itertools.chain.from_iterable(('-i', x) for x in tmp_outputs),
439439
#'-i', 'concat:'+'|'.join(tmp_outputs),

0 commit comments

Comments
 (0)