Commit graph

21 commits

Author SHA1 Message Date
Benjamin Hackl
01fc1ef71f
fix: re-add ffmpeg to docker container (#4150) 2025-02-04 09:10:33 -05:00
Romit Mohane
c933c74a40
Add Noto fonts install command to Dockerfile (#4069)
* added notosans fonts install command to dockerfile

* enh: move fonts-noto package to other packages

---------

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2025-01-19 17:23:13 +01:00
adeshpande
205f746bbd
Update docker to use ENV x=y instead of ENV x y (#3858) 2024-07-14 21:13:26 +02:00
adeshpande
8d70b0e886
Fix docker profile (#3827) 2024-06-27 23:53:24 +02:00
Benjamin Hackl
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 904cfb46ae.

* fix(ci): make it pass tests

* chore(lib/docs/ci): remove FFMPEG entirely

This removes any reference to FFMPEG, except in translation files

* 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 904cfb46ae.

* fix(ci): make it pass tests

* chore(lib/docs/ci): remove FFMPEG entirely

This removes any reference to FFMPEG, except in translation files

* chore(deps): update lockfile

* chore(lib): rewrite ffprobe

* fix typo

* slightly more aggressive removal of ffmpeg in docs; minor language changes

* fix gif output stream dimensions

* minor style change

* fix encoding of (transparent) mov files

* fixed metadata / comment

* set frame rate for --format=gif in output_stream

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* more video tests for different render settings, also test pix_fmt

* improve default bitrate setting via crf

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* parametrized format/transparency rendering test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* context managers for (some) av.open

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update manim/utils/commands.py

Co-authored-by: Jérome Eertmans <jeertmans@icloud.com>

* fixed segfault

* update test data involving implicit functions (output improved!)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* explicity set pix_fmt for transparent webms

* special-special case extracting frame from vp9-encoded file with transparency

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix transparent gifs, more special casing in parametrized video format test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* run tests on macos-latest again

* removed old control data

* Revert "run tests on macos-latest again"

This reverts commit f50efa4b88.

* added sound to codec test; fixed issue with sound track in gif (disabled) and webm (now via opus)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* manual wav -> ogg transcoding

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fixed f-string

* refactored codec test, split out gif

* check for non-zero audio samples

* more cleanup

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove ffmpeg from readthedocs apt_packages

* round up run_time if positive and shorter than current frame rate

* added more run_time tests

* black

* improve implementation of test

* removed some unused imports

* improve wording of logged warning

Co-authored-by: Jérome Eertmans <jeertmans@icloud.com>

* move run_time checks from Animation.begin to Scene.get_run_time

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove unused import

* flake: PT012

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jérome Eertmans <jeertmans@icloud.com>
2024-05-15 13:23:09 +00:00
Melody Griesen
40766cb648
Update Docker base image to python3.12-slim (#3458) (#3459)
* Update Docker base image to python3.12-slim (#3458)

* Update docker/Dockerfile

---------

Co-authored-by: Melody Griesen <jvgriese@ncsu.edu>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2023-12-07 00:30:17 +01:00
Jacob Evan Shreve
adf3e20ea8
Installed ghostscript in the docker image (#2746)
* Configure ghostscript in the docker image

* removed setting LIBGS

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2022-06-07 11:46:30 +00:00
Naveen M K
cddd47ca53
Remove WebGL renderer (#2630)
* Remove WebGL renderer

Fixes https://github.com/ManimCommunity/manim/issues/2629

* Remove occurence of webgl_renderer in CI config

* Fix Dockerfile

* Remove reference to webgl renderer in config docs

* Update poetry lock file

* Remove some scripts related to webgl

* Don't use rich 12.0 version

* Ignore rich 12.0.0

* Fix dependency, it was wrong previously
2022-03-24 08:39:24 +05:30
GameDungeon
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>
2021-09-03 13:45:48 -04:00
Benjamin Hackl
3759b73d55
Modified Dockerfile to support multi-platform builds via `docker buildx` (#1856)
* adapt Dockerfile for multi-platform build

* add command for multi-platform build to docker/readme

* fixed indentation
2021-08-30 21:14:57 +00:00
Darylgolden
44f2f37044
Support opengl rendering with docker (#1955)
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2021-08-26 22:24:16 +00:00
Jason Villanueva
e9aa7d3696
Renamed instances of master to main (#1720) 2021-06-24 08:57:30 -07:00
Benjamin Hackl
a8a37882da
Updated Dockerfile (include dependencies for building documentation), moved documentation to main README (#1219)
* include docker/readme.md in main README.md + update contained information

* update dockerfile: more LaTeX dependencies, jedi workaround no longer needed, requirements for building documentation
2021-04-01 20:58:00 +02:00
Naveen M K
7db6c7f730
docs: update installation docs for linux - pango (#1060)
* Linux users should install Pango also

see https://github.com/ManimCommunity/ManimPango/issues/27
manylinux wheels are to be removed in next release on ManimPango

* Add changes to Docker also

* don't mix tabs and spaces
2021-02-28 10:03:03 +01:00
Benjamin Hackl
60c225a191
Enhancement (of new feature): JupyterLab docker image and documentation for manim and IPython (#977)
* fix import: move setting __version__ to top of __init__

* add simple Dockerfile for a manim-jupyterlab container

* add section on jupyterlab in docker/readme.md

* improve Dockerfile: separate user, install manim with all extras, upgrade to python 3.8

* remove separate jupyterlab docker image, adapt readme

* add missing latex package

* include link to interactive worksheet in documentation

* Update README.md

Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>
2021-01-31 18:24:21 +01:00
Naveen M K
fe2ba6d86c
Use Manimpango (#878)
* Use manimpango

* Remove MarkUp Text not yet supported

* add manimpango as dep

* remove MarkupText from __all__

* Fix CairoText

* Remove test for Pango

* Run black

* Update ManimPango

* Try fixing MacOS CI by restricting version of grpc

* Try fixing MacOS CI - 2

* Make MarkupText use manimpango (#26)

* Update ManimPango

* update manimpango

* Remove pango installation docs

* remove ffi workaround from Dockerfile

* troubleshooting: new entry for manimpango, hint for update for old pango problems

Co-authored-by: Philipp Imhof <52650214+PhilippImhof@users.noreply.github.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2020-12-31 20:20:33 +05:30
Benjamin Hackl
ed15504d27
Post-release update for docker readme (#815)
* exclude .git directory when building the docker image

* update readme
2020-12-03 16:26:52 +05:30
Benjamin Hackl
1a409939aa
move playground/readme --> docker/readme (#813) 2020-12-02 07:04:32 -05:00
Benjamin Hackl
fd80b3e96a
Docker: use local files when building an image (#803) 2020-12-02 09:56:10 +01:00
Benjamin Hackl
3e5fa33189
Be more flexible about installed Manim version in Dockerfile (#714)
* remove ffi-binding workaround from docker build

* introduce MANIM_VERSION build arg

* do not print apt-get update output
2020-11-15 23:17:06 +01:00
Benjamin Hackl
7a7e9cbd57
Bring back support for docker (#681)
* add first version of dockerfile and corresponding texlive.profile

* add reference to docker in the installation docs

* rename textlive.profile -> texlive-profile.txt

* newline at end of file

Co-authored-by: Naveen M K <naveen@syrusdark.website>

* remove libpango1.0-dev

Co-authored-by: Naveen M K <naveen@syrusdark.website>

* add docker badge to readme, fix links for badges

* let banner link to manim.community

* Fix broken link

* Docker images --> docker images

Co-authored-by: Naveen M K <naveen@syrusdark.website>
Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>
2020-11-10 21:55:41 +01:00