diff --git a/assets/video/demo.mp4 b/assets/video/demo.mp4 new file mode 100644 index 0000000..4f28496 Binary files /dev/null and b/assets/video/demo.mp4 differ diff --git a/assets/video/mergevideo.py b/assets/video/mergevideo.py deleted file mode 100644 index 1b4047e..0000000 --- a/assets/video/mergevideo.py +++ /dev/null @@ -1,26 +0,0 @@ -import pdb -import moviepy.editor as mp -import os -file_list = [ - 'a_asian_Santa_Claus.mp4', - 'a_metal_bunny_sitting_on_top_of_a_stack_of_chocolate_cookie.mp4', - 'Beautifully_designed_hyper-realistic_futuristic_electric_vehicle_for_elderly_people_highest_poly_count_highest_contrast_highest_detail_highest_quality_UHD.mp4', - 'Beautifully_designed_hyper-realistic_psychedelic_bee-concept_futuristic_fighter_jet_aircraft_highest_contrast_highest_poly_count_highest_detail_highest_quality_UHD.mp4' -] -method_list = [ - 'magic3d', - 'prolific', - 'ours' -] - -for file in file_list: - - video1 = mp.VideoFileClip(os.path.join(method_list[0], file)) - video2 = mp.VideoFileClip(os.path.join(method_list[1], file)) - video3 = mp.VideoFileClip(os.path.join(method_list[2], file)) - - # 将三个视频水平拼接成一个 - final_video = mp.clips_array([[video1, video2, video3]]) - - # 保存拼接后的视频 - final_video.write_videofile(file, codec='libx264') diff --git a/index.html b/index.html index 9fd0f02..453cac6 100644 --- a/index.html +++ b/index.html @@ -135,6 +135,22 @@