Skip to content

Commit

Permalink
manim Configuration (change video media_dir)
Browse files Browse the repository at this point in the history
all the video will be saved in the most top media folder (https://github.com/markNZed/codespaces-manim/tree/main/media)
  • Loading branch information
AhmmedHesham authored Apr 26, 2024
1 parent 7484335 commit 12db201
Showing 1 changed file with 107 additions and 0 deletions.
107 changes: 107 additions & 0 deletions src/notebook/manim.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
[CLI]
notify_outdated_version = True
write_to_movie = True
format = mp4
save_last_frame = False
write_all = False
save_pngs = False
zero_pad = 4
save_as_gif = False
save_sections = False
preview = False
show_in_file_browser = False
verbosity = INFO
progress_bar = display
output_file =
log_to_file = False
background_color = BLACK
background_opacity = 1
from_animation_number = 0
upto_animation_number = -1
media_dir = ../../media
log_dir = {media_dir}/logs
assets_dir = ./
video_dir = {media_dir}/videos/{module_name}/{quality}
sections_dir = {video_dir}/sections
images_dir = {media_dir}/images/{module_name}
tex_dir = {media_dir}/Tex
text_dir = {media_dir}/texts
partial_movie_dir = {video_dir}/partial_movie_files/{scene_name}
renderer = cairo
enable_gui = False
gui_location = 0,0
fullscreen = False
window_position = UR
window_size = default
window_monitor = 0
force_window = False
use_projection_fill_shaders = False
use_projection_stroke_shaders = False
movie_file_extension = .mp4
frame_rate = 60
pixel_height = 1080
pixel_width = 1920
max_files_cached = 100
flush_cache = False
disable_caching = False
disable_caching_warning = False
enable_wireframe = False
dry_run = False
tex_template =
plugins =

[CLI_CTX]
align_option_groups = True
align_sections = True
show_constraints = True
indent_increment = 2
width = 80
col1_max_width = 30
col2_min_width = 35
col_spacing = 2
row_sep =
theme =
command_help =
invoked_command =
heading =
constraint =
section_help =
col1 =
col2 =
epilog =

[custom_folders]
media_dir = videos
video_dir = {media_dir}
sections_dir = {media_dir}
images_dir = {media_dir}
text_dir = {media_dir}/temp_files
tex_dir = {media_dir}/temp_files
log_dir = {media_dir}/temp_files
partial_movie_dir = {media_dir}/partial_movie_files/{scene_name}

[logger]
logging_keyword = bold yellow
logging_level_notset = dim
logging_level_debug = green
logging_level_info = green
logging_level_warning = red
logging_level_error = red bold
logging_level_critical = red bold reverse
log_level =
log_time = cyan dim
log_message =
log_path = dim
log_width = -1
log_height = -1
log_timestamps = True
repr_number = green

[ffmpeg]
loglevel = ERROR
ffmpeg_executable = ffmpeg

[jupyter]
media_embed =
media_width = 60%%

0 comments on commit 12db201

Please # to comment.