bad_apple_virus
bad_apple_virus copied to clipboard
Feature request/question
Would It be possibile to ~~Copy paste~~ repurpose this code to play never gonna give you up instead?
Absolutely! The hard part will be making/finding a 1bit version of astley's video that will convert cleanly to windows. From there, just use the python script to regenerate the boxes, replace the .ogg file, and it should Just Work. The python script isn't the best, but I can provide help there :)
thanks! can you provide a requirements.txt? i can't find the modules to install
also does the script only support black and white?
can you provide a requirements.txt? i can't find the modules to install
should be as simple as pip install pillow cv2 tqdm numpy but I can probably add a requirements.txt at some point
also does the script only support black and white?
Correct, because the windows are binary - they either exist or they don't. Perhaps adding custom background colours could be an extension :)
got the black and white video of never gonna give you up, i can share it if you need it
huh it's saying that it needs a boxes.json file
The script is jank, don't come complaining
The script is split into 2 parts, one generates boxes.json, one generates boxes.bin. Work out which bits to comment out to generate the json
ok, thanks, i wasn't complaining
i got it working but the boxes are scaled down? (maybe bc i inputed a 16:9 video) and it abruptly stops
Does the apple_frames folder look sane? Or is it also messed up?
No the folder Is fine
Oh right, depending on what you did, you may need to update: https://github.com/mon/bad_apple_virus/blob/master/src/main.rs#L242-L245
Oh ok, i'll fix It later and i'll make a git repo
How do I modify the code to make the video loop indefinitely? I'm not a Rust person
How do I modify the code to make the video loop indefinitely? I'm not a Rust person
You could try reloading the iterator when the music stops and restarting the music. I won't tell you how, as I don't need this feature.
got the black and white video of never gonna give you up, i can share it if you need it
How do you convert color video to black and white 1-bit video?I want to use it to play miku miku oo ee oo but I can't find a black and white 1-bit video, thank you.
got the black and white video of never gonna give you up, i can share it if you need it
How do you convert color video to black and white 1-bit video?I want to use it to play miku miku oo ee oo but I can't find a black and white 1-bit video, thank you.
I used ffmpeg, i don't Remember the command tho
got the black and white video of never gonna give you up, i can share it if you need it
How do you convert color video to black and white 1-bit video?I want to use it to play miku miku oo ee oo but I can't find a black and white 1-bit video, thank you.
I used ffmpeg, i don't Remember the command tho
Thanks, I used this command:ffmpeg -i input.mp4 -f lavfi -i color=gray:s=1080x1920 -f lavfi -i color=black:s=1080x1920 -f lavfi -i color=white:s=1080x1920 -filter_complex threshold output.mp4
I don't get how to run it.
Nvm found it