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

FFplay trouble #7

Open
frisk0926 opened this issue Apr 25, 2024 · 6 comments
Open

FFplay trouble #7

frisk0926 opened this issue Apr 25, 2024 · 6 comments

Comments

@frisk0926
Copy link

I just installed the ffmpeg ,but there is still a problem that:
QQ截图20240425100318

What should I do next ,i also add the system environment

@tazei186
Copy link

i have the same problem

@frisk0926
Copy link
Author

i have the same problem

Open vscode with administrator privileges

@tazei186
Copy link

i did it but still doesnt work. i have everything installed, all my api's are correct inputed. i run it, it starts listening all of a sudden i talk then after the reply i get this.

File "c:\Users\tazei\Downloads\QuickAgent\QuickAgent.py", line 219, in
asyncio.run(manager.main())
File "C:\Users\tazei\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Users\tazei\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\tazei\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "c:\Users\tazei\Downloads\QuickAgent\QuickAgent.py", line 212, in main
tts.speak(llm_response)
File "c:\Users\tazei\Downloads\QuickAgent\QuickAgent.py", line 82, in speak
raise ValueError("ffplay not found, necessary to stream audio.")
ValueError: ffplay not found, necessary to stream audio.

@frisk0926
Copy link
Author

i did it but still doesnt work. i have everything installed, all my api's are correct inputed. i run it, it starts listening all of a sudden i talk then after the reply i get this.

File "c:\Users\tazei\Downloads\QuickAgent\QuickAgent.py", line 219, in asyncio.run(manager.main()) File "C:\Users\tazei\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 194, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "C:\Users\tazei\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\tazei\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py", line 687, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "c:\Users\tazei\Downloads\QuickAgent\QuickAgent.py", line 212, in main tts.speak(llm_response) File "c:\Users\tazei\Downloads\QuickAgent\QuickAgent.py", line 82, in speak raise ValueError("ffplay not found, necessary to stream audio.") ValueError: ffplay not found, necessary to stream audio.

Did you add the ffmpeg environment variable?

@tazei186
Copy link

no

@frisk0926
Copy link
Author

no

so this is the problem… resolve it yourself

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

No branches or pull requests

2 participants