v2.0.0.dev2
Pre-release
Pre-release
·
612 commits
to master
since this release
v2.0.0.dev2
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_fmtparameter inVideoFileClip,VideoClip.write_videofile(),VideoClip.write_gif()that allows passing a custompix_fmtparameter such as"bgr24"to FFmpeg [#1237] - New
change_durationparameter inClip.set_fps()that allows changing the video speed to match the new fps [#1329]
Changed
ffmpeg_parse_infos()andVideoFileClipnow have optionaldecode_fileparameter that ensures that the detected duration is correct, but may take a long time to run [#1063, #1222]ffmpeg_parse_infos()andVideoFileClipnow usefpsmetadata instead oftbrto detect a video's fps value [#1222]FFMPEG_AudioReader.close_proc()->FFMPEG_AudioReader.close()for consistency withFFMPEG_VideoReader[#1220]
Fixed
- Fixed
ffmpeg_tools.ffmpeg_extract_subclipcreating 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
UnicodeDecodeErrorcrash when file metadata contained non-UTF8 characters [#959]