Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

echo -en '[2J' #50

Open
pog222 opened this issue Feb 3, 2021 · 4 comments
Open

echo -en '[2J' #50

pog222 opened this issue Feb 3, 2021 · 4 comments

Comments

@pog222
Copy link

pog222 commented Feb 3, 2021

When I try to run the command (video-to-ascii -f video.mp4) it just responds with
echo -en '�[2J' echo -en '�[2J'
It doesn't play the video and just says that.

@pog222
Copy link
Author

pog222 commented Feb 3, 2021

I am using windows command terminal by the way

@Modus0
Copy link

Modus0 commented Mar 15, 2021

Im having this issue too :/

@Modus0
Copy link

Modus0 commented Mar 15, 2021

I am using windows command terminal by the way

so i figured out that you have to change the directory from where you're runing this from using the change directory command to the path where you are keeping the video file however now im encountering this :/ :

echo -en '←[2J'
'stty' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
File "C:\Users\0lympus\AppData\Local\Programs\Python\Python39\Scripts\video-to-ascii-script.py", line 33, in
sys.exit(load_entry_point('video-to-ascii==1.2.9', 'console_scripts', 'video-to-ascii')())
File "c:\users\0lympus\appdata\local\programs\python\python39\lib\site-packages\video_to_ascii\cli.py", line 21, in main
player.play(ARGS.file, strategy=ARGS.strategy, output=ARGS.output, play_audio=ARGS.with_audio)
File "c:\users\0lympus\appdata\local\programs\python\python39\lib\site-packages\video_to_ascii\player.py", line 23, in play
engine.play(output)
File "c:\users\0lympus\appdata\local\programs\python\python39\lib\site-packages\video_to_ascii\video_engine.py", line 36, in play
self.render_strategy.render(self.read_buffer,
File "c:\users\0lympus\appdata\local\programs\python\python39\lib\site-packages\video_to_ascii\render_strategy\ascii_strategy.py", line 120, in render
rows, cols = os.popen('stty size', 'r').read().split()
ValueError: not enough values to unpack (expected 2, got 0)

@Modus0
Copy link

Modus0 commented Mar 16, 2021

I am using windows command terminal by the way

Hey Bro, since no one else decided to help let me step in here, I decided to get the ubuntu VM and was able to make it work a little better still with some issues. Im having trouble resizing the video but id suggest you try it through ubuntu linux since it aint workin in windows

@joelibaceta joelibaceta linked a pull request Apr 22, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants