You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to convert a series of about 1000 images (previously created using matplotli and saved) into a movie.
import moviepy.editor as mp
files = [s for s in os.listdir('/Users/Ralf/Desktop/movieplots') if re.match('tmp2',s)]
f2 = files[0:400] #here i try to select subsets to see whn it crashes, but doesn't seem to be fixed number
clip = mp.ImageSequenceClip(f2, fps=30)
#clipaudio = mp.VideoFileClip(video_filename).subclip(0,34)
#clipaudio.audio.write_audiofile("theaudio2.mp3", fps = 22050)
clip.write_videofile('full_movies_sound.mp4',fps=30, codec='libx264')#, audio=clipaudio)
I am getting stuck at the last line where the file should be written - it simply stays at 0 forever (but sometimes runs up to a certain number of frames - once or twice also did the job - thus highly unpredictable so far). This is the output.
MoviePy: building video file nosound.mp4
----------------------------------------
Writing video into nosound.mp4
|----------| 0/401 0% [elapsed: 00:00 left: ?, ? iters/sec]
no idea what is going on. Thanks, R
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to convert a series of about 1000 images (previously created using matplotli and saved) into a movie.
I am getting stuck at the last line where the file should be written - it simply stays at 0 forever (but sometimes runs up to a certain number of frames - once or twice also did the job - thus highly unpredictable so far). This is the output.
no idea what is going on. Thanks, R
The text was updated successfully, but these errors were encountered: