Skip to content

Consolidate -A into -F for a more unified option#5613

Merged
Esteban82 merged 2 commits intomasterfrom
movie-refresh
Aug 9, 2021
Merged

Consolidate -A into -F for a more unified option#5613
Esteban82 merged 2 commits intomasterfrom
movie-refresh

Conversation

@PaulWessel
Copy link
Member

While -F let you choose among video options and add some suitable modifiers, animated GIF was not one of them and it had its own option -A with modifier. Yet, -A+s required -F to have been set, etc. Same with -M, requiring -Fnone if no animation desired. This PR lets -F specify which products to build from the list of gif,png,mp4,webm and offers modifiers. The option is repeatable. We thus deprecate -A (now -Fgif) and -Fnone (now default) which will be handled via standard backwards compatibility rules. Closes #5522.

While -F let you choose among video options and add some suitable modifiers, animated GIF was not one of them and it had its own option -A with modifier.  Yet, -A+s required -F to have been set, etc.  This PR lets -F specify which products to build from the list of gif,png,mp4,webm and offers modifiers.  The option is repeatable.  We thus deprecate -A which will be handled via standard backwards compatibility rules.
@PaulWessel PaulWessel added the deprecation Deprecating a feature label Aug 9, 2021
@PaulWessel PaulWessel self-assigned this Aug 9, 2021
@maxrjones maxrjones added the add-changelog Add PR to the changelog label Aug 9, 2021
@Esteban82 Esteban82 merged commit 2b6fb70 into master Aug 9, 2021
@Esteban82 Esteban82 deleted the movie-refresh branch August 9, 2021 13:57
@Esteban82
Copy link
Member

Should the scripts of the animations (1 to 5) be updated?

@PaulWessel
Copy link
Member Author

Yes, they should (of course they are working via backwards compatibility). If you have time, please make a PR with the changes.

@Esteban82
Copy link
Member

I am trying to update the scripts of the animations. Where I can find anim01.txt?? Is this the file of the script, right?

.. literalinclude:: /_verbatim/anim01.txt

@PaulWessel
Copy link
Member Author

anim01.txt and others like it are created on the fly by cmake so you only need to worry about the *.sh files.

Esteban82 added a commit that referenced this pull request Aug 13, 2021
Update based on modification of #5613.

Let me know if it ok so I correct the other animations.
@Esteban82 Esteban82 mentioned this pull request Aug 13, 2021
Esteban82 added a commit that referenced this pull request Aug 13, 2021
* Update anim01.sh

Update based on modification of #5613.

Let me know if it ok so I correct the other animations.

* Update anim02.sh

* Update anim03.sh

* Update anim04.sh

* Update anim05.sh

* Update anim09.sh

This script only make a master frame, right?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

add-changelog Add PR to the changelog deprecation Deprecating a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Movie. Improve use of -F

3 participants