mirror of
https://github.com/3b1b/manim.git
synced 2025-08-19 13:01:00 +00:00
Revert "Allow for file_writing to use multiple thread"
This reverts commit 7b0b31e8d9
.
This commit is contained in:
parent
4c39c1abd6
commit
42f2461acb
1 changed files with 0 additions and 3 deletions
|
@ -47,7 +47,6 @@ class SceneFileWriter(object):
|
||||||
quiet: bool = False,
|
quiet: bool = False,
|
||||||
total_frames: int = 0,
|
total_frames: int = 0,
|
||||||
progress_description_len: int = 40,
|
progress_description_len: int = 40,
|
||||||
threads: int = 0, # Tells system to use max available
|
|
||||||
):
|
):
|
||||||
self.scene: Scene = scene
|
self.scene: Scene = scene
|
||||||
self.write_to_movie = write_to_movie
|
self.write_to_movie = write_to_movie
|
||||||
|
@ -64,7 +63,6 @@ class SceneFileWriter(object):
|
||||||
self.quiet = quiet
|
self.quiet = quiet
|
||||||
self.total_frames = total_frames
|
self.total_frames = total_frames
|
||||||
self.progress_description_len = progress_description_len
|
self.progress_description_len = progress_description_len
|
||||||
self.threads = threads
|
|
||||||
|
|
||||||
# State during file writing
|
# State during file writing
|
||||||
self.writing_process: sp.Popen | None = None
|
self.writing_process: sp.Popen | None = None
|
||||||
|
@ -263,7 +261,6 @@ class SceneFileWriter(object):
|
||||||
'-vf', 'vflip',
|
'-vf', 'vflip',
|
||||||
'-an', # Tells FFMPEG not to expect any audio
|
'-an', # Tells FFMPEG not to expect any audio
|
||||||
'-loglevel', 'error',
|
'-loglevel', 'error',
|
||||||
'-threads', str(self.threads),
|
|
||||||
]
|
]
|
||||||
if self.movie_file_extension == ".mov":
|
if self.movie_file_extension == ".mov":
|
||||||
# This is if the background of the exported
|
# This is if the background of the exported
|
||||||
|
|
Loading…
Add table
Reference in a new issue