moviepy v2.0.0.dev2 Release Notes

Release Date: 2020-10-05 // over 2 years ago
  • 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]