moviepy.video.io.ffplay_previewer.ffplay_preview_video#
- moviepy.video.io.ffplay_previewer.ffplay_preview_video(clip, fps, pixel_format='rgb24', audio_flag=None, video_flag=None)[source]#
Preview the clip using ffplay. See VideoClip.preview for details on the parameters.
- Parameters:
clip (VideoClip) -- The clip to preview
fps (int) -- Number of frames per seconds in the displayed video.
pixel_format (str, optional) --
Warning: This is not used anywhere in the code and should probably be removed. It is believed pixel format rgb24 does not work properly for now because it requires applying a mask on CompositeVideoClip and that is believed to not be working.
Pixel format for the output video file,
rgb24for normal video,rgbaif video with maskaudio_flag (Thread.Event, optional) -- A thread event that video will wait for. If not provided we ignore audio
video_flag (Thread.Event, optional) -- A thread event that video will set after first frame has been shown. If not provided, we simply ignore