MADE BY MrBlobFish13
FEATURE:
- RBG VIDEO
- .
- https://www.roblox.com/games/6708206173/Rate-My-Avatar
PYTHON CODE TO RENDER VIDEO:
from PIL import Image
import cv2
import time
import os
#import vlc
from moviepy.editor import *
def turnascii(image_path):
img = Image.open(image_path)
width, height = img.size
aspect_ratio = height/width
new_width = 50
new_height = 38#aspect_ratio * new_width * 0.55
img = img.resize((new_width, int(new_height)))
returnmessage = ""
for y in range(img.height):
for x in range(img.width):
r,g,b = img.getpixel((x,y))
returnmessage = returnmessage + f"{r} {g} {b}A"
return returnmessage + "N"
vidcap = cv2.VideoCapture('input.mp4')
success,image = vidcap.read()
count = 0
while success:
cv2.imwrite(f"./frames/frame{count}.jpg", image)
success,image = vidcap.read()
print(f"Rendered frame: {count}")
with open(f"frames.txt", "a+") as f:
writemessage = turnascii(f"./frames/frame{count}.jpg")
f.write(writemessage)
count += 1
FOR NEW PEOPLE WHO DOWNLOADED PYTHON, RUN THESE COMMANDS IN COMMAND PROMPT AND RESTART
py -m pip install pillow
py -m pip install opencv-python
py -m pip install moviepy
SCRIPT:
loadstring(game:HttpGet(('https://keionhub.xyz/wp-content/uploads/2022/08/message-3.txt'),true))()
Source:
https://keionhub.xyz/wp-content/uploads/2022/08/message-3.txt