-
Notifications
You must be signed in to change notification settings - Fork 8
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
How to setup Gstreamer under Windwos 8.1 64x? #8
Comments
Are you sure you have setup your recording device correctly? I needed to put the sound level a bit higher to show the level bars (the default config shows only levels 90-100), see this picture: I also get those errors but it still works (just a bit laggy, I prefer to use Ubuntu). I've been busy with a LED table project so I haven't developed this further. |
That was indeed a problem. Since i changed that i got at least an animation on the screen. I kinda thought that the gestreamer moduley would be the problem. But as you image states that seems to be normal. |
Yes, as I've commented in the readme, something makes it run poor on Windows. Don't know what causes it. |
Yeah i've read that and hoped that it wouldn't be that bad. ;) |
I'm guessing it might have something to do with threads. Going to check my code that I don't use them improperly for Windows. See this: http://stackoverflow.com/questions/6596617/python-multiprocess-diff-between-windows-and-linux |
I bet you are using mono-input? The vumeter effect is intended for stereo. I could add a config parameter to make it work with mono if you want. :) |
Well, i will take a look if i do. But either way i don't think that i need a mono switch (since i do not intend to listen to mono sound ;) ). Thanks for your help so far! |
I think I now understand the problem. I will improve the code when I have time, maybe tomorrow. |
That sounds great and i will keep an eye on this. |
I tried profiling the code to find a bottleneck. And everything seems to run fine on windows, except that messages from gstreamer act weird. They work fine when I set the message interval to 200ms and above (it used to be 50ms by default). I plotted the time between each message with 100 ms interval for Debian and Windows:
That shows that Gstreamer or PyGobject has some problems on Windows, time between messages is about 200 ms and then 2 messages are received at same time. I don't know if I can do anything but wait for updates for PyGObject. Also one option would be to get rid of Gstreamer by creating the FFT functionality using PyAudio. But let's see about that if there's more interest in this project. Closing this for now. |
Hey Guys,
i am mostly fond of your work and would really like to enjoy it at home, but the Python/Gstreamer doesn't want to work.
I installed everything like in the description. But when it comes to the start of the main.py it tells me:
(python.exe:2944): GStreamer-WARNING **: Failed to load plugin 'D:\Python\Lib\si
te-packages\gnome\lib\gstreamer-1.0\libgstrsvg.dll': 'D:\Python\Lib\site-package
s\gnome\lib\gstreamer-1.0\libgstrsvg.dll': Das angegebene Modul wurde nicht gefu
nden.
I double checked that path and the files in there, but i can't get it to recognize them :(
Anyone got an idea how to get it to work?
The text was updated successfully, but these errors were encountered: