gkamradt / QuickAgent

315 stars 141 forks source link

FFplay trouble #7

Open frisk0926 opened 5 months ago

frisk0926 commented 5 months ago

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 commented 5 months ago

i have the same problem

frisk0926 commented 5 months ago

i have the same problem

Open vscode with administrator privileges

tazei186 commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

no

frisk0926 commented 5 months ago

no

so this is the problem… resolve it yourself