File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -216,6 +216,11 @@ Support for HiDPI (Retina) displays in the NbAgg and WebAgg backends
216216The NbAgg and WebAgg backends will now use the full resolution of your
217217high-pixel-density display.
218218
219+ Change in the default animation codec
220+ -------------------------------------
221+
222+ The default animation codec has been changed from ``mpeg4 `` to ``h264 ``,
223+ which is more efficient. It can be set via the ``animation.codec `` rcParam.
219224
220225
221226Previous Whats New
Original file line number Diff line number Diff line change @@ -1324,7 +1324,7 @@ def validate_animation_writer_path(p):
13241324 # Animation settings
13251325 'animation.html' : ['none' , validate_movie_html_fmt ],
13261326 'animation.writer' : ['ffmpeg' , validate_movie_writer ],
1327- 'animation.codec' : ['mpeg4 ' , six .text_type ],
1327+ 'animation.codec' : ['h264 ' , six .text_type ],
13281328 'animation.bitrate' : [- 1 , validate_int ],
13291329 # Controls image format when frames are written to disk
13301330 'animation.frame_format' : ['png' , validate_movie_frame_fmt ],
Original file line number Diff line number Diff line change @@ -597,7 +597,7 @@ backend : $TEMPLATE_BACKEND
597597 # the IPython notebook. 'html5' uses
598598 # HTML5 video tag.
599599#animation.writer : ffmpeg # MovieWriter 'backend' to use
600- #animation.codec : mpeg4 # Codec to use for writing movie
600+ #animation.codec : h264 # Codec to use for writing movie
601601#animation.bitrate: -1 # Controls size/quality tradeoff for movie.
602602 # -1 implies let utility auto-determine
603603#animation.frame_format: 'png' # Controls frame format used by temp files
You can’t perform that action at this time.
0 commit comments