mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-05-21 04:26:40 +08:00
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.
This commit is contained in:
@ -206,7 +206,7 @@ class PresentationConfig(BaseModel): # type: ignore
|
|||||||
dest_path = merge_basenames(files)
|
dest_path = merge_basenames(files)
|
||||||
|
|
||||||
f = tempfile.NamedTemporaryFile(mode="w", delete=False)
|
f = tempfile.NamedTemporaryFile(mode="w", delete=False)
|
||||||
f.writelines(f"file {os.path.abspath(path)}\n" for path in files)
|
f.writelines(f"file '{os.path.abspath(path)}'\n" for path in files)
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
command = [
|
command = [
|
||||||
|
Reference in New Issue
Block a user