FFMPEG tools¶
Misc. bindings to ffmpeg and ImageMagick.
-
moviepy.video.io.ffmpeg_tools.ffmpeg_extract_audio(inputfile, output, bitrate=3000, fps=44100)[source]¶ extract the sound from a video file and save it in
output
-
moviepy.video.io.ffmpeg_tools.ffmpeg_extract_subclip(filename, t1, t2, targetname=None)[source]¶ Makes a new video file playing video file
filenamebetween the timest1andt2.
-
moviepy.video.io.ffmpeg_tools.ffmpeg_merge_video_audio(video, audio, output, vcodec='copy', acodec='copy', ffmpeg_output=False, logger='bar')[source]¶ merges video file
videoand audio fileaudiointo one movie fileoutput.