obs-virtual-cam icon indicating copy to clipboard operation
obs-virtual-cam copied to clipboard

Does VirtualBox recognize that virtual camera?

Open MakarkinPRO opened this issue 8 years ago • 22 comments

Does VirtualBox recognize that virtual camera?

MakarkinPRO avatar Sep 22 '17 11:09 MakarkinPRO

No, it can't. Only an usb device can be recognized by VirtualBox.

CatxFish avatar Sep 22 '17 16:09 CatxFish

Any idea of how to connect that stuff? My main purpose is to stream my presentation from pc to Instagram. I hoped to make that with VirtualBox + Android emulator, and use OBS as a WebCam.

MakarkinPRO avatar Sep 23 '17 20:09 MakarkinPRO

It seems like Genymotion can detect camera , but I can't active successfully now. I will try to test it if I am free.

CatxFish avatar Sep 25 '17 08:09 CatxFish

I have it too. But it see only webcam0( my local LapTop working good) and webcam1 which is OBS virtual - black screen - https://www.screencast.com/t/5rHk9khWYvAg?

And that is what android Camera app is detecting - https://www.screencast.com/t/u8g8mAXe

MakarkinPRO avatar Sep 25 '17 19:09 MakarkinPRO

Heh tried 2 days. Still no results. Somebody tell what, that virtual camera should me kind of USB camera to VirtualBox and then Android Emulator may see it.

MakarkinPRO avatar Sep 27 '17 08:09 MakarkinPRO

Still can't figure out why Genymotion do not work fine. I will give a update if I find a workable solution. Apply this plugin to an android app is a cool idea, I really want it success.

CatxFish avatar Sep 27 '17 11:09 CatxFish

I find a solution and connect successfully in Genymotion. It seems like Genymotion reject some resolution. The workable way is following:

  1. Go to OBS Setting Page > Video Section and Set Base resolution and output resolution to 640x480 (This setting can not be change when virtual-cam or rtmp start output , so you have to stop them first)
  2. Open Genymotion and active your android machine then choose camera to webcam1
  3. Test virtual camera.

Here is my screenshot https://i.imgur.com/hY1YCJO.png

I know it's not a convenient way but it's workable without modifying source code. I will think about how to improve it in next version. You can try this solution first.

CatxFish avatar Sep 28 '17 15:09 CatxFish

Hm. Still have a https://www.screencast.com/t/zotV6X6Femy grenn screen

MakarkinPRO avatar Sep 29 '17 09:09 MakarkinPRO

I haven't made a full test on Genymotion compatibility . So I can't tell you what is the actual rule . But here is my setting : OBS: Resolution: 640 x 480 Virtual-cam crop : All 4 is 0 ( because crop will effect output resolution)

And here is my Screenshot : https://i.imgur.com/ZjP1n89.png

I tried to use 640 x 360 but is not work , so maybe 16:9 resolution is not appropriate ? I am not really sure now , but I will give an answer after some tests.

CatxFish avatar Sep 29 '17 11:09 CatxFish

Hmmm still the green screen - https://www.screencast.com/t/FQUIACxxb6c - this WebCam0 this WebCam1 - https://www.screencast.com/t/E05xRfwSBLn

MakarkinPRO avatar Sep 29 '17 12:09 MakarkinPRO

but on preview is a black screen https://www.screencast.com/t/DBo2q9ZEb6d

MakarkinPRO avatar Sep 29 '17 12:09 MakarkinPRO

Wow, it's weird. Perhaps it need to reopen emulator or something to get it work. I will tried to make some test and improvement this weekend. Maybe you won't face these frustrations if you check this project next week ?

CatxFish avatar Sep 29 '17 12:09 CatxFish

ok just happy to help) I have Win 10 64 bit .

MakarkinPRO avatar Sep 29 '17 13:09 MakarkinPRO

FYI, The new version should work without these annoying setting ,but the modification brings some new bugs. I will release it after I fix these bugs. It might in 2-3 days.

CatxFish avatar Oct 02 '17 19:10 CatxFish

ok, if you need any tests let me know.

MakarkinPRO avatar Oct 02 '17 20:10 MakarkinPRO

version 1.1.1 should work with Genymotion , but the default camera app in Genymotion force camera run on 640x480@ 10 or 15 fps in my environment. I am not sure if it's sufficient to do what you want or maybe other apps will get better quality?

CatxFish avatar Oct 05 '17 17:10 CatxFish

Yeah it looks starting to work https://www.screencast.com/t/fqAvuXF2iZrh probably it's okay. Yeah my main purpose is to Run it with Instagram, right now have issue of logging, probably that's I'm running at x86 not ARM machine.

MakarkinPRO avatar Oct 05 '17 20:10 MakarkinPRO

Any thought about virtual machine? Or I have another plan is it possible to connect Android phone via USB to Win10 PC and choose my VirtualOBS camera on the real android device for streaming? https://www.youtube.com/watch?v=c9HVvZUQ6E0 but use that camera into Instagramm software?

MakarkinPRO avatar Oct 09 '17 14:10 MakarkinPRO

I don't clearly know what is your issue now. And virtual-cam is a software interface on Windows not an usb device , any solution about using usb controller would not compatible with this project. I don't think this is workable.

CatxFish avatar Oct 09 '17 17:10 CatxFish

just need translate to instgram my OBS content with a good quality)

BTW instagram running but not able to login me in)

MakarkinPRO avatar Oct 13 '17 09:10 MakarkinPRO

Any expiriments with VitrualBox + (may be instagram) streaming and OBS + you virtual camera? )

MakarkinPRO avatar Nov 24 '17 13:11 MakarkinPRO

I don't really use an emulator to streaming , I just test for the emulator by default camera app. Is the problem occurring on camera ? I just thought you were telling that it's a android app issue cause you can't login successfully.

CatxFish avatar Nov 26 '17 15:11 CatxFish