mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
4 commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
1f249e45b9 |
Let SceneFileWriter access ffmpeg via av instead of via external process (#3501)
* added av as a dependency * make partial movie files use av instead of piping to external ffmpeg * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * opengl rendering: use av for movie files * no need to check for ffmpeg executable * refactor: *_movie_pipe -> *_partial_movie_stream * improve (oneline) documentation * pass more options to partial movie file rendering * move ffmpeg verbosity settings to config; renamed option dict * replaced call to ffmpeg in combine_files by using av Co-authored-by: Jérome Eertmans <jeertmans@icloud.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * there was one examples saved as a gif? * chore(deps): re-order av * chore(lib): simplify `write_frame` method Reduces the overall code complexity * chore(lib): add audio * fix(lib): same issue for conversion * fix(lib): webm export * fix(lib): transparent export Though the output video is weird * try(lib): fix gif + TODOs * chore(deps): lower dep crit * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat(lib): add support for GIF * fix(ci): rewrite tests * fix * chore(ci): prevent calling concat on empty list * add missing dot * fix(ci): update frame comparison ? * fix(log): add handler to libav logger * chore: add TODO * fix(lib): concat issue * Revert "fix(ci): update frame comparison ?" This reverts commit |
||
|
|
3ce4c133dd |
Introduced API for scene sections via :meth:.Scene.next_section (#2152)
* feat: added section class * fix: fixed imports in scene.py * feat: added section class * fix: fixed imports in scene.py * feat: scene file writer update; needs testing * broken test * fixed wrong partial movie files * feat: added animation concatenation for sections * fix: sections can contains None as partial movie file * fix: correct section output file names * fix: removed media folder * feat: section output able to extract type * feat: added guarantee_existence tests * fix: touch file on windows * fix: touch file on windows * feat: automatically create control data with --set_test flag * feat: added tests for sections output folder * feat: added flag to enable sections * feat: testing section metadata file * feat: finished metadata tests; changed enums to be extendable * fix: removed testing files * fix: fixed section types * fix: fixed outdated control data * fix: fixed simple_scenes.py * fix: fixed section type documentation example * feat: added section video metadata to API * fix: isort should stop destroying the import order for commands.py * fix: fixed types of section metadata output * fix: better comments * ? * feat: added elaborate test; switched name and type in next_section call * feat: changed testing terminology: "config" got renamed to "movie metadata" * fix: removed unicode lambda :< * fix: fixed control data * fix: removed test setter * feat: added tutorial in the documentation * fix: updated test control data * fix: fixed double '.' in video tests * fix: fixed some documentation * fix: fixed missign JSON file in docs * fix: implemented proposed changes * fix: better --save_sections help * fix: better docstrings * fix: fixed last docstring...hopefully :> * feat: custom section output supported * fix: removed resolved todos * fix: added debug for movie concatenation back * fix: removed implemented TODO * fix: removed doubled log * fix: changed debug to info log * fix: fixed log test data |
||
|
|
94821c10d8 |
Flake8 Changes + Fixing Warnings (#1968)
* Warning Removal * Flake Stuff * HotFix * Docs Fix * I'm Dumb * Docs Fix 2 * Fixing Github Requests * Fix * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * quick fix * Add Deprecation Warning * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Weird Pre Commit Stuff * Quick Fix * Quick Fix * Fix * Flake Fix * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> |
||
|
|
a623a9e4c3 |
Refactored tests and added new tests tools for videos-tests. (#335)
* Refactored file architecture of graphical tests * removed tests_cache now useless * added show_diff helper flag * updated test data for TextMobjecttest * refactored set_test_scene * removed useless imports * added video comparison tools * improved tests helpers for devs * added small video tests (provisionnal) * small changes and cleanup * RUN BLACK SIR YES SIR * removed unused imports * improved docs * Apply suggestions from code review Co-authored-by: Leo Torres <dleonardotn@gmail.com> * updated tests from master. * RUN BLACK SIR YES SIR * fixed logging tests * fixed test name * rgb(0,0,0) * fixed tests * changed .npy data to fix test (hopefully) * removed bad control data. * aaand re added control data * Regenerate Reference data for TextMobject and Text tests. * Turn off fast-failing to see if tests pass anywhere * Use shell mode for logging test. (Fixes the failing logging test) * Merge branch 'master' into refactor-tests * Add OS Specific control data for Tex[t] tests on MacOS, Windows * Use old TextMobject reference data. * Add reference data for Linux. * Use reference data from Ubuntu for Linux tests. * Use @CorvidCanine's Text data and @leotrs's Tex[t]Mobject data. * removed hash comparison in video tests. * updated control data * updated helpers * removed useless comment * removed test_writing * updated tests * renamed tests * fixed tests * Re-add fail-fast * Apply suggestions from code review Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com> * small docs mistake * Update tests/utils/video_tester.py Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com> Co-authored-by: Leo Torres <dleonardotn@gmail.com> Co-authored-by: Aathish Sivasubrahmanian <aathish04@gmail.com> Co-authored-by: Hugues Devimeux <hugues.devimeux@gmail.com> Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com> |