GithubHelp home page GithubHelp logo

nexinfinite / videotoascii Goto Github PK

View Code? Open in Web Editor NEW
26.0 2.0 4.0 50.41 MB

A python generator that converts youtube videos to ascii art in your console.

Home Page: https://julians.work/

Python 100.00%
ascii python python3 ascii-graphics

videotoascii's Introduction

Video To ASCII

A python generator that converts youtube videos to ascii art in your console.

This has not been tested for windows!

Example

Normal mode

Gif Not Loaded

Video mode

Gif Not Loaded

CLI

Gif Not Loaded

To see the full video click here!

How to use

Download the project as a zip, extract everything and then run the command below. Make sure to include frames.

Installation

run pip3 install youtube_dl opencv-python sty cursor pillow mss

Basic Command

python3 ascii.py

Arguments

These arguments only work for running python3 video_render.py, you should really be running python3 ascii.py which does all of this for you.

  • --framerate=int this was used in the old version, may not work as of now
  • --buffer=int buffer the whole video before rendering, this will freeze at "Buffering x/x" until done (recommended to be off)
  • --video_mode=bool changes to video mode if True

Todo

  • Add CLI
  • Allow for other modes
  • Make it easier to use
  • Allow screen capture real time
  • Allow for windows

videotoascii's People

Contributors

nexinfinite avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

videotoascii's Issues

A little issues!

File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2032.0_x64__qbz5n2kfra8p0\lib\threading.py", line 973, in _bootstrap_inner
self.run()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2032.0_x64__qbz5n2kfra8p0\lib\threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Khang\Desktop\project\video_render.py", line 227, in render_second
queue.pop(frames)
Pls help me idk how to fix it:(

Not working in Python 3.10

I had to change the regex import to re to avoid problems but now PyInquirer don't let me execute the ascii.py. I read tha's because the last version of python 3.10.

The error:

Traceback (most recent call last):
  File "/home/neko/Escritorio/videotoascii/ascii.py", line 8, in <module>
    from PyInquirer import prompt, Validator, ValidationError
ModuleNotFoundError: No module named 'PyInquirer'

image

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.