* Fixed warnings produced by test_record_video.py and test_video_recorder.py by using the self._frames_per_sec value as default value if video.frames_per_second is missing
* The default backward compatible values if video.frames_per_second and video.output_frames_per_seconds are the updated frames_per_sec and output_frames_per_sec values
* Update pendulum.py
* version warnings
* black
* try except
* update notices version
* Exception
* nosec
* black
* no loop, stderr
* black
* convert ## to ###
* correct subheader
* black
* despace
* spacing
* frozen lake fixes
* rename render modes/fps
* fix API test
* fix API test
* fix more API tests
* black
* add render fps
* Autoclose manually maintained video recorders
* Update test case for VideoRecorder
* Update test case for VideoRecorder
* Update test case for VideoRecorder
* Conditionally select different arguments for ffmpeg, and add meaningful error for third party application in charge of encoding
* Consistency with other logger() calls
Co-authored-by: J K Terry <justinkterry@gmail.com>
* Video recorder: distinguish input and output fps
Common video players such as VLC, or Quicktime struggle to play videos
with low framerate, which is problematic for environments where the
policy
frequency is low (e.g. 1 Hz).
See: https://superuser.com/a/601916
This commit sets:
- The input image sequence framerate to the metadata
'video.frames_per_second'
- The output video framerate to at least 30 fps
* Use a configurable output video framerate
This output video framerate is different from the image sequence
framerate:
- when the environment fps is low, the output video fps can be increased
so that players like VLC or Quicktime handle them more gracefully (they
struggle at low fps)
- when the environment fps is very high, the output video can still be
recorded at a lower fps to better compression.
It is configured through the 'video.output_frames_per_second' metadata
and defaults to 'video.frames_per_second' (which itself defaults to 30)
* add dtype to Box
* remove board_game, debugging, safety, parameter_tuning environments
* massive set of breaking changes
- remove python logging module
- _step, _reset, _seed, _close => non underscored method
- remove benchmark and scoring folder
* Improve render("human"), now resizable, closable window.
* get rid of default step and reset in wrappers, so it doesn’t silently fail for people with underscore methods
* CubeCrash unit test environment
* followup fixes
* MemorizeDigits unit test envrionment
* refactored spaces a bit
fixed indentation
disabled test_env_semantics
* fix unit tests
* fixes
* CubeCrash, MemorizeDigits tested
* gym backwards compatibility patch
* gym backwards compatibility, followup fixes
* changelist, add spaces to main namespaces
* undo_logger_setup for backwards compat
* remove configuration.py