Skip to content

Commit

Permalink
add with mask to write_videofile and include comment
Browse files Browse the repository at this point in the history
  • Loading branch information
stratty7 committed Feb 29, 2024
1 parent bc8d1a8 commit 58cb92e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions moviepy/video/VideoClip.py
Expand Up @@ -218,6 +218,7 @@ def write_videofile(
ffmpeg_params=None,
logger="bar",
pixel_format=None,
with_mask=False,
):
"""Write the clip to a videofile.
Expand Down Expand Up @@ -314,6 +315,9 @@ def write_videofile(
pixel_format
Pixel format for the output video file.
with_mask
Set to ``True`` if there is a mask in the video to be encoded.
Examples
--------
Expand Down Expand Up @@ -390,6 +394,7 @@ def write_videofile(
ffmpeg_params=ffmpeg_params,
logger=logger,
pixel_format=pixel_format,
with_mask=with_mask
)

if remove_temp and make_audio:
Expand Down

0 comments on commit 58cb92e

Please sign in to comment.