ntg
ntg

Reputation: 14075

Displaying clip with moviepy in python (not ipython)

in moviepy's website an example is displayed on how to display a clip using ipython. Here it is:

from moviepy.editor import *
clip = VideoFileClip('some_file.mp4')
ipython_display(clip=clip)

Seems it should be trivial, but I 've searched and haven't found anything about how to do the same for python... How would one go about this / is there a pointer to an example?

Upvotes: 1

Views: 2232

Answers (1)

Zulko
Zulko

Reputation: 3780

If you are using a standard python console, use clip.show() for displaying an image or clip.preview() to preview the video. This uses Pygame as a backend to display things. Tell us if it works.

Upvotes: 1

Related Questions