11235813213455
Using youtube-dl I downloaded 10 different videos resulting from the search "fibonacci" in youtube.
Then using moviepy and a short python script I merged them using the fibonacci sequence as each clip duration.
import moviepy.editor as mp import random; from random import randint clips=[] start=0; duration=1; oldDuration=0; end= start+duration; for i in range(0,11): video=mp.VideoFileClip(str(i)+".mp4") video = video.resize((1280,720)) start=randint(0,int(video.duration-duration)) clip=video.subclip(start,(start+duration)) clips.append(clip) tempOld=duration duration+=oldDuration oldDuration=tempOld composition=mp.concatenate(clips) composition.write_videofile('fibonacci.mp4', codec="libx264", temp_audiofile='temp-audio.m4a', remove_temp=True, audio_codec='aac')
There is also a shorter version of the piece named 112581321
The original videos:
Original videos:
https://www.youtube.com/watch?v=SjSHVDfXHQ4
https://www.youtube.com/watch?v=wTlw7fNcO-0
https://www.youtube.com/watch?v=7t_pTlH9HwA
https://www.youtube.com/watch?v=ahXIMUkSXX0
https://www.youtube.com/watch?v=RqqErDSLtwE
https://www.youtube.com/watch?v=4LQvjSf6SSw
https://www.youtube.com/watch?v=2pbEarwdusc
https://www.youtube.com/watch?v=ax205fJ17Zw&t=947s
https://www.youtube.com/watch?v=9ZyVEe1ORTE
https://www.youtube.com/watch?v=P0tLbl5LrJ8
Additional Automating Video videos