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

Audio not working #76

Open
RedDragonTix opened this issue Dec 24, 2021 · 3 comments
Open

Audio not working #76

RedDragonTix opened this issue Dec 24, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@RedDragonTix
Copy link

RedDragonTix commented Dec 24, 2021

I get the following error:

Traceback (most recent call last):
File "/home/tavi/.local/bin/video-to-ascii", line 33, in
sys.exit(load_entry_point('video-to-ascii==1.3.0', 'console_scripts', 'video-to-ascii')())
File "/home/tavi/.local/lib/python3.10/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 "/home/tavi/.local/lib/python3.10/site-packages/video_to_ascii/player.py", line 23, in play
engine.play(output)
File "/home/tavi/.local/lib/python3.10/site-packages/video_to_ascii/video_engine.py", line 36, in play
self.render_strategy.render(self.read_buffer,
File "/home/tavi/.local/lib/python3.10/site-packages/video_to_ascii/render_strategy/ascii_strategy.py", line 126, in render
stream.write(data)
File "/usr/lib/python3.10/site-packages/pyaudio.py", line 585, in write
pa.write_stream(self._stream, frames, num_frames,
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

OS: ArcoLinuxL (Arch Linux)

@joelibaceta joelibaceta added the bug Something isn't working label Feb 1, 2022
@michael555444
Copy link

same bug error s happened

@daudix
Copy link

daudix commented Mar 21, 2022

same

@RadinhoDePilha
Copy link

This is a little incompatibility of Pyaudio ( and some others modules ) with python 3.10 that aren't resolved at now. In your cases, just executing in python 3.9 or earlier will resolve imediatly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants