Skip to content

Commit

Permalink
Fixed duration in meta data when generating subclips in ffmpeg_tools (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
hlzl authored Oct 1, 2020
1 parent cff36b7 commit 6bc7d88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed <!-- for now removed features -->

### Fixed <!-- for any bug fixes -->
- 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]
- Warnings are no longer being supressed by MoviePy [#1191]
- Fixed `UnicodeDecodeError` crash when file metadata contained non-UTF8 characters [#959]
Expand Down
1 change: 1 addition & 0 deletions moviepy/video/io/ffmpeg_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def ffmpeg_extract_subclip(filename, t1, t2, targetname=None):
"copy",
"-acodec",
"copy",
"-copyts",
targetname,
]
subprocess_call(cmd)
Expand Down

0 comments on commit 6bc7d88

Please sign in to comment.