Code Monkey home page Code Monkey logo

Comments (20)

creeperita09 avatar creeperita09 commented on July 30, 2024 1

ok, thanks, i wasn't complaining

from bad_apple_virus.

creeperita09 avatar creeperita09 commented on July 30, 2024 1

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

from bad_apple_virus.

mon avatar mon commented on July 30, 2024

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 :)

from bad_apple_virus.

creeperita09 avatar creeperita09 commented on July 30, 2024

thanks! can you provide a requirements.txt? i can't find the modules to install

from bad_apple_virus.

creeperita09 avatar creeperita09 commented on July 30, 2024

also does the script only support black and white?

from bad_apple_virus.

mon avatar mon commented on July 30, 2024

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 :)

from bad_apple_virus.

creeperita09 avatar creeperita09 commented on July 30, 2024

got the black and white video of never gonna give you up, i can share it if you need it

from bad_apple_virus.

creeperita09 avatar creeperita09 commented on July 30, 2024

huh it's saying that it needs a boxes.json file

from bad_apple_virus.

mon avatar mon commented on July 30, 2024

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

from bad_apple_virus.

creeperita09 avatar creeperita09 commented on July 30, 2024

i got it working but the boxes are scaled down? (maybe bc i inputed a 16:9 video) and it abruptly stops

from bad_apple_virus.

mon avatar mon commented on July 30, 2024

Does the apple_frames folder look sane? Or is it also messed up?

from bad_apple_virus.

creeperita09 avatar creeperita09 commented on July 30, 2024

No the folder Is fine

from bad_apple_virus.

mon avatar mon commented on July 30, 2024

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

from bad_apple_virus.

creeperita09 avatar creeperita09 commented on July 30, 2024

Oh ok, i'll fix It later and i'll make a git repo

from bad_apple_virus.

luRaichu avatar luRaichu commented on July 30, 2024

How do I modify the code to make the video loop indefinitely? I'm not a Rust person

from bad_apple_virus.

mon avatar mon commented on July 30, 2024

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.

from bad_apple_virus.

XUANHLGG avatar XUANHLGG commented on July 30, 2024

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.

from bad_apple_virus.

XUANHLGG avatar XUANHLGG commented on July 30, 2024

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

from bad_apple_virus.

Probobcat861 avatar Probobcat861 commented on July 30, 2024

I don't get how to run it.

from bad_apple_virus.

Probobcat861 avatar Probobcat861 commented on July 30, 2024

Nvm found it

from bad_apple_virus.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.