Skip to content

Commit 1ff2330

Browse files
authored
fix(convert): correctly quote paths when using ffmpeg on Windows
With the current version of ffmpeg on Windows, the list file must enclosed by single quotes.
1 parent 1e150bb commit 1ff2330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manim_slides/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def concat_animations(self, dest: Optional[str] = None) -> "PresentationConfig":
206206
dest_path = merge_basenames(files)
207207

208208
f = tempfile.NamedTemporaryFile(mode="w", delete=False)
209-
f.writelines(f"file {os.path.abspath(path)}\n" for path in files)
209+
f.writelines(f"file '{os.path.abspath(path)}'\n" for path in files)
210210
f.close()
211211

212212
command = [

0 commit comments

Comments
 (0)