Comments (4)
I've tried to get some debug information with AkVCamManager set-loglevel 7
but unfortunately once this is enabled SplitCam and OBS Studio no longer start at all. Seems like they crash immediately. Once I reduce the log-level with AkVCamManager set-loglevel default
they at least no longer crash, but wait for a very long time, similar to a simple AkVCamManager devices
. Both starve:
Now after about 2 minutes, while I'm still typing this I got at least for AkVCamManager devices
:
And now after about 3-4 minutes, everything works again, including SplitCam, which now finally was able to start:
Sorry, I don't know how I can better help from my side, because even the logging makes everything unresponsible. But perhaps you have already a clue what could make the device driver service such unresponsive and starve for a few minutes...
from akvirtualcamera.
What i do for testing the vcam is that I've the following script for capturing:
#!/bin/sh
ffmpeg -list_devices true -f dshow -i dummy
ffplay -f dshow -i video="Virtual Camera"
and this for testing:
#!/bin/sh
export PATH=/c/msys64/home/user/build-akvirtualcamera-Desktop_Qt_MinGW_w64_64bit_MSYS2-Debug/build/x64:${PATH}
ffmpeg -i ~/video.webm -pix_fmt rgb24 -f rawvideo - | AkVCamManager stream AkVCamVideoDevice0 RGB24 480 360
What I've found, at least in my case, is that the assistant is pretty stable, it didn't randomly crashed for me. But both, the manager and the client did, and I been found was that it was due to the pipe state detection code.
Not sure but it could be the same problem for you.
from akvirtualcamera.
If I feed frames into the devices via FFmpeg, then start a viewer like SplitCam or OBS Studio I can view the frames just fine. If I now stop the viewer side (just close SplitCam) or even just try to add another AkVirtualCameraDevice, the feeding(!) side gets interrupted as AkVCamManager stream is no longer responsive. The AkVCamManager process seems to be still running, but it no longer is able to send its streams to the camera devices via IPC, as a result no longer fetches data from stdin and as a consequence FFmpeg complains that its buffers are running full. On the attempt to add another camera, SplitCam and OBS Studio when trying to access the AkVirtualCamera devices regularly even crash!
This issue should be fixed with latest commit for sure. I still need to test with SplitCam, but the other things should be working well by now.
If I try to stop the device driver service with "sc stop AkVCamAssistant" it even needs 10-20 seconds until the process is really gone according to the Task Manager. Restarting it with "sc start AkVCamAssistant" then makes everything working just fine again, e.g. AkVCamManager devices then responds again immediately.
This problem was probably caused by the loop that was in change of checking the clients status (if they died or are still alive). This should be fixed too.
Once such problems occurred, even a simple AkVCamManager devices needs about 30-120 seconds to respond. After this time, subsequence command work just fine again, including AkVCamManager stream.
If the service is not up, both, the clients and the manager will keep waiting for the service pipe to respond, I don't it as a big issue since the service is a core part of the IPC mechanism, and you are not supposed to stop it, except for debugging purposes.
I've tried to get some debug information with AkVCamManager set-loglevel 7 but unfortunately once this is enabled SplitCam and OBS Studio no longer start at all.
I haven't experienced this bug yet, but you can test latest commit and see if the bug is still there?
from akvirtualcamera.
OBS is working fine, SplitCam is crashing, I've updated the compatibility table, will try to fix the crash later when I've some time.
from akvirtualcamera.
Related Issues (20)
- Webcamoid 9.0.0 hangs after downloading and installing akvirtualcamera HOT 2
- Sending frames from python HOT 2
- Stream bitmap ( single frame image ) to the virtual device HOT 4
- Frame transfer not using pipe HOT 1
- Virtual Camera "Can't Start Stream" in Mac HOT 5
- Unable to find virtual camera on M1 Mac (Chrome, Firefox, Zoom) HOT 3
- Idea: move xpc_connection_create_mach_service to NSXPCConnection so that it works with QuickTime HOT 12
- Zoom can't detect akvirtualcamera,and virtual cameras can't delete in Windows. HOT 9
- [MacOS] Virtual cameras do not appear in applications but clients appear in list HOT 2
- Windows: Skype for desktop do not find virtual camera HOT 5
- Add-device success, but not found in any client HOT 3
- akvirtualcamera is not available on Android Emulator HOT 1
- AkVCamManager Remove-Devices Issue HOT 1
- AkVirtualCamera replaces a different virtual camera and renders it unusable HOT 1
- Forbid other programs to use the virtual camera when already in use HOT 3
- akvirtual camera - Virus detected HOT 2
- AkVirtualCamera manager keeps waiting and shows no output. HOT 2
- window10 ,akvirtualcamera-windows-9.1.1.exe,Wechat cannot be used,but it can be detected HOT 1
- Bootstrap failed: 5: Input/output error HOT 2
- I want to use other programs to write data to the shared memory of the virtual camera. How do I do that? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akvirtualcamera.