-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
98 changed files
with
3,843 additions
and
3,843 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"presets": ["@babel/preset-env", "@babel/preset-react"] | ||
} | ||
{ | ||
"presets": ["@babel/preset-env", "@babel/preset-react"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"presets": ["@babel/preset-env", "@babel/preset-react"] | ||
} | ||
|
||
{ | ||
"presets": ["@babel/preset-env", "@babel/preset-react"] | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
## Hypercritical studio | ||
|
||
 | ||
 | ||
## Hypercritical studio | ||
|
||
 | ||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
# from moviepy.editor import VideoFileClip, concatenate_videoclips | ||
|
||
# # Load the video | ||
# video = VideoFileClip("goat.mp4") | ||
|
||
# # Cut the video into segments | ||
# segment1 = video.subclip(0, 4) | ||
# segment2 = video.subclip(8, 10) | ||
|
||
# # Combine the segments | ||
# combined_video = concatenate_videoclips([segment1, segment2]) | ||
|
||
# # Save the combined video | ||
# combined_video.write_videofile("combined-video.mp4") | ||
|
||
from moviepy.editor import VideoFileClip | ||
|
||
# Load the video | ||
clip = VideoFileClip("world.mp4") | ||
|
||
# Adjust resolution and frame rate if necessary | ||
# For example, to set a resolution of 1280x720 and a frame rate of 30 fps | ||
clip = clip.resize(width=1280, height=720).set_duration(clip.duration).set_fps(30) | ||
|
||
# Save the adjusted clip | ||
clip.write_videofile("adjusted_world.mp4") | ||
|
||
# from moviepy.editor import VideoFileClip, concatenate_videoclips | ||
|
||
# # Load the video | ||
# video = VideoFileClip("goat.mp4") | ||
|
||
# # Cut the video into segments | ||
# segment1 = video.subclip(0, 4) | ||
# segment2 = video.subclip(8, 10) | ||
|
||
# # Combine the segments | ||
# combined_video = concatenate_videoclips([segment1, segment2]) | ||
|
||
# # Save the combined video | ||
# combined_video.write_videofile("combined-video.mp4") | ||
|
||
from moviepy.editor import VideoFileClip | ||
|
||
# Load the video | ||
clip = VideoFileClip("world.mp4") | ||
|
||
# Adjust resolution and frame rate if necessary | ||
# For example, to set a resolution of 1280x720 and a frame rate of 30 fps | ||
clip = clip.resize(width=1280, height=720).set_duration(clip.duration).set_fps(30) | ||
|
||
# Save the adjusted clip | ||
clip.write_videofile("adjusted_world.mp4") | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
from moviepy.editor import VideoFileClip | ||
|
||
# Load the video | ||
video = VideoFileClip("la-reel--min.mp4") | ||
|
||
# Cut the video from 10 seconds to 20 seconds | ||
cut_video = video.subclip(48.7, 49.9) | ||
|
||
# Save the cut video | ||
cut_video.write_videofile("mid-hype.mp4") | ||
|
||
# environment python | ||
#source hyper-cut/bin/activate-use in cmd, | ||
from moviepy.editor import VideoFileClip | ||
|
||
# Load the video | ||
video = VideoFileClip("la-reel--min.mp4") | ||
|
||
# Cut the video from 10 seconds to 20 seconds | ||
cut_video = video.subclip(48.7, 49.9) | ||
|
||
# Save the cut video | ||
cut_video.write_videofile("mid-hype.mp4") | ||
|
||
# environment python | ||
#source hyper-cut/bin/activate-use in cmd, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
import cv2 | ||
|
||
# Open the video file | ||
video_capture = cv2.VideoCapture('hypercritical.mp4') | ||
|
||
frame_count = 0 | ||
|
||
while True: | ||
ret, frame = video_capture.read() | ||
if not ret: | ||
break | ||
|
||
# Save the frame as a WebP image | ||
frame_filename = f'{frame_count:04d}.webp' | ||
cv2.imwrite(frame_filename, frame, [cv2.IMWRITE_WEBP_QUALITY, 100]) # Set WebP quality (0-100) | ||
|
||
frame_count += 1 | ||
|
||
# Release the video file | ||
video_capture.release() | ||
import cv2 | ||
|
||
# Open the video file | ||
video_capture = cv2.VideoCapture('hypercritical.mp4') | ||
|
||
frame_count = 0 | ||
|
||
while True: | ||
ret, frame = video_capture.read() | ||
if not ret: | ||
break | ||
|
||
# Save the frame as a WebP image | ||
frame_filename = f'{frame_count:04d}.webp' | ||
cv2.imwrite(frame_filename, frame, [cv2.IMWRITE_WEBP_QUALITY, 100]) # Set WebP quality (0-100) | ||
|
||
frame_count += 1 | ||
|
||
# Release the video file | ||
video_capture.release() | ||
cv2.destroyAllWindows() |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.