Question / Help OBS Studio works with Nox Player and Genymotion

NamXX

New Member
This post is to inform that I've tested today OBS Studio 18.0.1 (64 bit, windows), and it works perfectly with the following two android emulators:

  • Nox Player
  • Genymotion
I make this special mention, because older version (OBS Classic I think) did not work properly with one of them, the windows content was black on the video file. Now it displays properly.
I couldn't report the issue back in the day and with this latest version just works.
 

Paulomart

New Member
Hi,

Im trying to record a genymotion device with OBS, but I only get a black screen in the preview. What type of source did you select? My OBS Version is 18.0.1 and I got 64 Bit Windows 10.
 

NamXX

New Member
Hi,

Im trying to record a genymotion device with OBS, but I only get a black screen in the preview. What type of source did you select? My OBS Version is 18.0.1 and I got 64 Bit Windows 10.
Scenes -> scene
Audio output capture -> Mic / Aux disabled, the others all enabled. And Device -> Default
Display Capture -> Display 0: 1600x900 @ 0,0 (Primary monitor). Select Capture cursor.

Go to settings -> Base (Canvas) Resolution & Output (Scaled) Resolution: 1600x900 (or the resolution of your monitor).
Downscale Filter: Bicubic
Integer FPS Value: 8

Open Virtualbox and select the virtual machine -> settings -> screen -> check that 2D and 3D acceleration are disabled.

Also, my notebook has nvidia optimus (nvidia graphics card + intel HD) so I choose the dedicated only in case it has anything to do.
 

Paulomart

New Member
Scenes -> scene
Audio output capture -> Mic / Aux disabled, the others all enabled. And Device -> Default
Display Capture -> Display 0: 1600x900 @ 0,0 (Primary monitor). Select Capture cursor.

Go to settings -> Base (Canvas) Resolution & Output (Scaled) Resolution: 1600x900 (or the resolution of your monitor).
Downscale Filter: Bicubic
Integer FPS Value: 8

Open Virtualbox and select the virtual machine -> settings -> screen -> check that 2D and 3D acceleration are disabled.

Also, my notebook has nvidia optimus (nvidia graphics card + intel HD) so I choose the dedicated only in case it has anything to do.

Thanks! I got it to work that way. But I would like to record *just* the window and not the hole screen. This is no problem with the settings you described, the problem occures if you have more then one genymotion window open, obs will bug out. The capture begins to flicker between the two windows, even if I select Window Title in the capturing options.
 

NamXX

New Member
Thanks! I got it to work that way. But I would like to record *just* the window and not the hole screen. This is no problem with the settings you described, the problem occures if you have more then one genymotion window open, obs will bug out. The capture begins to flicker between the two windows, even if I select Window Title in the capturing options.
Please explain better. If I record the entire screen, I can have two Genymotion virtual machines running at the same time and captures the entire desktop with the two windows displayed properly.
I don't know exactly how you are doing. Are you recording only one *window* while you have another window open and that is when the problem occurs?
 

Paulomart

New Member
Please explain better. If I record the entire screen, I can have two Genymotion virtual machines running at the same time and captures the entire desktop with the two windows displayed properly.
I don't know exactly how you are doing. Are you recording only one *window* while you have another window open and that is when the problem occurs?

I have 3 Genymotion Instances running (Sometimes they reboot, etc this is handled by a programm). Now I would like to record all of them. For this I wanted to use Window Capture Mode. Problem here is when you add a new Window Capture Input it only takes a screenshot of the current state. Other windows, like FireFox, work. Because of this problem I figgured that I may need to use Game Capture Mode, there is also an option to capture a single window, not the hole screen. The Game Capture Mode works well if there is only one Genymotion Instance running, but it breaks when there are more then one. I believe it breaks because OBS cannot decide what Window to record, to it start switching between all of them.

I hope you understand now better what my problem is, thank you for helping :).
 

NamXX

New Member
I have 3 Genymotion Instances running (Sometimes they reboot, etc this is handled by a programm). Now I would like to record all of them. For this I wanted to use Window Capture Mode. Problem here is when you add a new Window Capture Input it only takes a screenshot of the current state. Other windows, like FireFox, work. Because of this problem I figgured that I may need to use Game Capture Mode, there is also an option to capture a single window, not the hole screen. The Game Capture Mode works well if there is only one Genymotion Instance running, but it breaks when there are more then one. I believe it breaks because OBS cannot decide what Window to record, to it start switching between all of them.

I hope you understand now better what my problem is, thank you for helping :).
Can't you just record the entire screen and then crop the video for each window?

Unless you tell us the exact procedure and the exact steps that you take in the exact order, I can't try to replicate the issue.
 

Paulomart

New Member
Can't you just record the entire screen and then crop the video for each window?

Unless you tell us the exact procedure and the exact steps that you take in the exact order, I can't try to replicate the issue.

Recording the entrie screen is not an option.

1. Open 2 or more Genymotion Instances
2. Open OBS
3. Create new "Game Capture"
4. Select "Capture specific window"
5. Select Genymotion player.exe window
6. Put it on scene.
7. Repeat 3 to 6 for any other genymotion window.
8. You will see that every source will flicker between the genymotion windows.
 

NamXX

New Member
Recording the entrie screen is not an option.

1. Open 2 or more Genymotion Instances
2. Open OBS
3. Create new "Game Capture"
4. Select "Capture specific window"
5. Select Genymotion player.exe window
6. Put it on scene.
7. Repeat 3 to 6 for any other genymotion window.
8. You will see that every source will flicker between the genymotion windows.
There are some things that you didn't tell me, for example:
- On Properties of "Game Capture", for each capture, choose "Window Match Priority" -> "Executable Name".
- For each window added to "Sources", it generates a red rectangle, but there are placed by default one on top of each other. You have to move one of them aside to see the two windows at the same time.

I've experienced the red rectangle flickering. Usually happens when some or all of the windows to be captured are minimized when you launch OBS. Sometimes just there's no problem. If you restore all the windows to be captured so are not minimized anymore, and you wait some seconds, the red square should stabilize and be fixed, then you can record. Tell us if you can't get it to work.

Check this video that just made today, is that what you need?
Two_genymotion_vms_with_OBS.flv
 

NamXX

New Member
I've found that when the red rectangle flickers, what you have to do to stop it, is to focus on the affected windows and click inside, maybe perform some operation. At least for me it worked.
 

Hanana

New Member
I couldn't get it to hook Nox's exe when it's in OpenGL mode in Nox , when its on DirectX , it can be hooked and displayed in preview in OBS just fine , why is that? It wasn't like this previously , when I was still on my older Graphics card or was it cuz of older obs/nox?
 
Top