This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #7298: Implement output types for various video container formats
Since Volker Braun is unhappy with a catch-all video format specifier, we won't use that but instead have to provide an explicit list of formats. Those formats are known to FFmpeg, so we can actually create animations in these formats. The magic verified by the doctest backend is based on the magic file shipped with the file(1) command on most free systems. The example files were created using the following commands: a = animate([sin(x), -sin(x)], xmax=2*pi, figsize=[1,0.5], axes=False) base = os.path.join(sage.env.SAGE_SRC,'ext','doctest','rich_output','example.') for ext in 'ogv webm mp4 flv mkv avi wmv mov'.split(): a.save(base + ext, delay=100) For some file formats FFmpeg won't recreate the same file content, even if the same commands are used to create the examples.
- Loading branch information
Showing
13 changed files
with
246 additions
and
78 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.