Skip to content

v2.0.0.dev2

Pre-release
Pre-release
Compare
Choose a tag to compare
@tburrows13 tburrows13 released this 05 Oct 00:26
· 183 commits to master since this release

v2.0.0.dev2

Full Changelog

There are still no major breaking changes compared to v1.0.3. Expect them to come in the next dev update.
Any new changes made to the master branch will now be instantly reflected at https://moviepy.readthedocs.io, which is where documentation for all versions will be in the future. [#1328]
Install with pip install moviepy --pre --upgrade.

Added

  • New pix_fmt parameter in VideoFileClip, VideoClip.write_videofile(), VideoClip.write_gif() that allows passing a custom pix_fmt parameter such as "bgr24" to FFmpeg [#1237]
  • New change_duration parameter in Clip.set_fps() that allows changing the video speed to match the new fps [#1329]

Changed

  • ffmpeg_parse_infos() and VideoFileClip now have optional decode_file parameter that ensures that the detected duration is correct, but may take a long time to run [#1063, #1222]
  • ffmpeg_parse_infos() and VideoFileClip now use fps metadata instead of tbr to detect a video's fps value [#1222]
  • FFMPEG_AudioReader.close_proc() -> FFMPEG_AudioReader.close() for consistency with FFMPEG_VideoReader [#1220]

Fixed

  • Fixed ffmpeg_tools.ffmpeg_extract_subclip creating clips with incorrect duration metadata [#1317]
  • OSError: MoviePy error: failed to read the first frame of video file... would occasionally occur for no reason [#1220]
  • Fixed warnings being suppressed [#1191]
  • Fixed UnicodeDecodeError crash when file metadata contained non-UTF8 characters [#959]