66 Commits

Author SHA1 Message Date
df0ae6fdc9 Fix missing ignore_skipping -> force_draw 2024-08-15 16:40:16 -05:00
0609c1bfa8 Change default saturation and gamma to each be 1 2023-06-10 09:25:03 -07:00
162fd4a92b Change defaults for where videos are saved
Save them directly to the relevant output directory, rather than to a "videos" subdirectory within it.
2023-06-10 09:24:50 -07:00
557cb66c52 Fix transparent background videos 2023-02-15 09:38:35 -08:00
3e3e4de5e9 Add option for gamma correction to SceneFileWriter 2023-02-08 20:09:33 -08:00
ded06c1f88 Give SceneFileWriter an option for saturation, and set default to 1.7
The colors in a scene can look a little different in a preview window vs. in the rendered file written by ffmpeg. This is mean to bring them closer together.
2023-02-08 19:41:07 -08:00
a54d1eddfc Set default pixel format to yuv420p 2023-02-03 12:48:56 -08:00
e1bb360e0b Add CLI args for setting video codec and pixel forma 2023-02-03 12:46:01 -08:00
12dc124d72 Revert to simple progress_description_len default 2023-02-03 11:46:03 -08:00
b25f022859 Make it an option (default to false) to prerun a scene to calculate its number of frames 2023-02-03 11:06:07 -08:00
2beb55727f Change naming logic for recorded inserts 2023-01-25 17:30:12 -08:00
8a6deb4068 Enable recording during a Scene embed 2023-01-23 17:10:18 -08:00
1708fbd672 Updated tqdm to support also notebooks 2023-01-12 12:03:14 +01:00
afab37c2d2 Remove stray digest_config references 2022-12-16 11:00:59 -08:00
69b0b0727e Kill CONFIG in scene_file_writer.py 2022-12-14 17:07:05 -08:00
7de03e2541 Change/refactor progress display defaults in scene file writing 2022-11-18 09:12:40 -08:00
6decb0c32a Rename frame_rate -> fps 2022-05-14 17:47:31 -07:00
f741217c34 Make sure keyboard interrupted renders don't overwrite pre-existing video files 2022-05-11 12:48:08 -07:00
c4d452248a Move mirror output path logic to config.py 2022-05-04 21:21:49 -07:00
2ba9243067 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-04-23 09:03:53 -07:00
5927f6a1cd Default to "" for scene_file_writer output dir 2022-04-22 08:14:29 -07:00
78a7078772 Move saved mobject directory logic to scene_file_writer.py 2022-04-21 15:02:11 -07:00
d24b8ff48f Merge branch 'master' into master 2022-04-20 22:40:11 -07:00
eae7dbbe6e Change default transparent background codec to be prores 2022-04-20 21:51:36 -07:00
a3579eab41 Have SceneFileWriter handle a location for saved mobjects 2022-04-20 21:51:18 -07:00
9ef9961d0e Sort imports 2022-04-12 19:19:59 +08:00
4fbe948b63 style: insert an empty line after import 2022-02-16 21:08:25 +08:00
be5de32d70 chore: add type hints to manimlib.scene 2022-02-14 21:22:18 +08:00
5aa8d15d85 Use FFMPEG_BIN instead of "ffmpeg" for sound incorporation 2021-12-21 10:58:58 -08:00
f8e6e7df3c Update progress display for full scene render 2021-12-07 10:06:48 -08:00
9dd1f47dab Create single progress display for full scene render
When a scene is written to file, it will now do a preliminary run of a copy of the scene with skip_animations turned on to count the total frames, which has the added benefit of catching runtime errors early, and allowing an quicker preview of the last frame to be sure everything will render as expected.

The Progress display bars for individual animations are replaced with a more global progress display bar showing the full render time for the scene.

This has the downside that all the non-rendering computations in a scene are run twice, so any scene with slow computations unrelated to rendering will take longer. But those are rarer, so the benefits seem worth it.
2021-11-30 11:41:33 -08:00
0e574882b3 Refactor #1637 (#1650)
* Refactor #1637

* Refactor #1637

* Refactor #1637

* Refactor #1637

* Refactor #1637

* Refactor #1637

* Update config.py

Co-authored-by: 鹤翔万里 <tonycrane@foxmail.com>
2021-10-16 13:04:52 +08:00
7425057d9f use rich to log 2021-10-07 17:37:10 +08:00
1e621e8278 fix: fix typo spelling grammar 2021-08-07 22:25:26 +07:00
a58772db87 Fix writing to gifs 2021-01-23 16:08:39 -08:00
0ac155d150 Making writing to partial movies optional, and set the default to be False. 2021-01-23 11:02:22 -08:00
592432611b Remove all configuration from constants.py, and clean up the many files affected by this move 2021-01-02 20:47:51 -08:00
81f6063736 Change string format style 2020-06-18 16:26:04 -07:00
145c6a7e78 Remove already commented out alternate pix_fmt 2020-06-13 15:22:44 -07:00
0b8cb3b6e1 Leaving a note for the better color-preserving encoding 2020-04-12 09:53:14 -07:00
c591954fc3 Small formatting change 2020-02-13 10:41:55 -08:00
2cf21fd0ad Add file opening operations to SceneFileWriter 2020-02-11 19:50:36 -08:00
8488b9053d Removed live_streaming conditions, as those don't work anyway and will be replaced in functionality soon. Also have the ffmpeg pipe take in raw bytes directly, rather than going through the intermediary of a numpy array 2020-02-04 15:26:09 -08:00
1279f040da Temporarily adding input_file_path to SceneFileWrite config. Not sure why this isn't there already, or if there are problems with setting a default, but it fixed a weird bug that had arisen 2020-01-11 17:14:02 -08:00
bcb8824e2c Merge pull request #698 from Elteoremadebeethoven/master_3b1b
Solve issue add sound in Windows 10
2019-11-06 16:21:58 -08:00
c79474a57c Small changes to the ffmpeg args when writing video files 2019-10-28 14:40:46 -07:00
32abbb9371 Change way to remove sound_file_path 2019-08-20 01:34:13 -05:00
61bb4944fa Remove borken save_as_gif lines 2019-07-24 20:36:44 -07:00
3ec231f0ca add video_output_dir flag 2019-06-21 22:52:16 -07:00
2ccf83c0aa Change output folder heirarchy back to grouping files of similar types, rather grouping them as parts of the same scene 2019-06-13 16:15:02 -07:00