Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs #548

Merged
merged 2 commits into from
Apr 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions moviepy/video/VideoClip.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def write_videofile(self, filename, fps=None, codec=None,


``png`` (use file extension ``.avi``) will produce a video
of perfect quality, of smaller size than with ``rawvideo``
of perfect quality, of smaller size than with ``rawvideo``.


``'libvorbis'`` (use file extension ``.ogv``) is a nice video
Expand Down Expand Up @@ -251,19 +251,19 @@ def write_videofile(self, filename, fps=None, codec=None,

threads
Number of threads to use for ffmpeg. Can speed up the writing of
the video on multicore computers
the video on multicore computers.

ffmpeg_params
Any additional ffmpeg parameters you would like to pass, as a list
of terms, like ['-option1', 'value1', '-option2', 'value2']
of terms, like ['-option1', 'value1', '-option2', 'value2'].

write_logfile
If true, will write log files for the audio and the video.
These will be files ending with '.log' with the name of the
output file in them.

verbose
Boolean indicating whether to print infomation
Boolean indicating whether to print infomation.

progress_bar
Boolean indicating whether to show the progress bar.
Expand Down Expand Up @@ -377,10 +377,10 @@ def write_images_sequence(self, nameformat, fps=None, verbose=True,
be used if it has one.

withmask
will save the clip's mask (if any) as an alpha canal (PNGs only)
will save the clip's mask (if any) as an alpha canal (PNGs only).

verbose
Boolean indicating whether to print infomation
Boolean indicating whether to print infomation.

progress_bar
Boolean indicating whether to show the progress bar.
Expand Down
2 changes: 1 addition & 1 deletion moviepy/video/tools/subtitles.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class SubtitlesClip(VideoClip):
>>> sub = SubtitlesClip("subtitles.srt", generator)
>>> myvideo = VideoFileClip("myvideo.avi")
>>> final = CompositeVideoClip([clip, subtitles])
>>> final.to_videofile("final.mp4", fps=myvideo.fps)
>>> final.write_videofile("final.mp4", fps=myvideo.fps)

"""

Expand Down