DroidCam Virtual Output

DroidCam Virtual Output 0.2.1

hthappy

New Member
Hi everyone,

I'm using the DroidCam Virtual Output plugin in OBS for a WhatsApp Desktop video call. However, I'm facing an issue where the video image displayed on the mobile end of WhatsApp is very small, with large black areas around it, and the person's image is not filling the screen. Could anyone help me solve this problem?

Thank you in advance!
 

Attachments

  • 2.jpg
    2.jpg
    61.2 KB · Views: 41

dev47

Member
DroidCam Video is limited to wide 16:9 resolutions, so the best possible option at the moment is to use a wide canvas in your OBS (also 16:9, for example 1280x720). The black areas should be only top/bottom then.

9:16 (portrait) support will be tested and released in the next few months hopefully.
 

jogoworld

New Member
Hi everyone,

Though it said 9:16 supported, but the output in whatsapp still very small like @hthappy 's issue. Anyone can help? I would be so grateful.

PS: I already set obs canvas as 9:16. Not possible to change set in whatsapp desktop client.
 

dev47

Member
@jogoworld could you please post your OBS log, after opening the droidcam video device in WhatsApp. Use the "Help" menu in OBS to upload the current log and post here the url .
 

dev47

Member
@jogoworld so unfortunately WhatsApp is limited with camera options, and in this case it is selecting 640x480 for the camera resolution. I am not sure why or if there is an "HD" option to get it to at least 720p:

13:05:59.982: [DroidcamVirtualOut] webcam video active 640x480
13:05:59.982: [DroidcamVirtualOut] video scaling: 1080x1920 -> 270x480 inside 640x480



The "270x480 inside 640x480" is what makes it tiny. You would get slightly better video if you change the OBS canvas to match aspect ratio, in this case 4:3. For example you use 960x720 or 1024x768.

As far as I know, the best way to get actual 9:16 vertical video is to use an Android emulator and use the WhatsApp app inside.
 

jogoworld

New Member
@jogoworld so unfortunately WhatsApp is limited with camera options, and in this case it is selecting 640x480 for the camera resolution. I am not sure why or if there is an "HD" option to get it to at least 720p:

13:05:59.982: [DroidcamVirtualOut] webcam video active 640x480
13:05:59.982: [DroidcamVirtualOut] video scaling: 1080x1920 -> 270x480 inside 640x480



The "270x480 inside 640x480" is what makes it tiny. You would get slightly better video if you change the OBS canvas to match aspect ratio, in this case 4:3. For example you use 960x720 or 1024x768.

As far as I know, the best way to get actual 9:16 vertical video is to use an Android emulator and use the WhatsApp app inside.
Hi Dev, I used an Android emulator to try it again, same issue. Here is the url: https://obsproject.com/logs/GNtvcdlWStqd4cIV
Black bar still exists. Could you please help me with that? Thanks @dev47
1748343380739.png
 

dev47

Member
30fps should be enough. It is also likely just lag because the emulator is not a light-weight program. How do things look in Task Manager?
 

hthappy

New Member
@dev47 Hello, I have a question: Both the OBS canvas and output resolution are set to vertical 1080x1920. But in Telegram Desktop, why do 'DroidCam Video' and 'OBS Virtual Camera' display differently? The OBS camera shows vertical (portrait) orientation, while DroidCam Video appears horizontal (landscape). Do you know what causes this? Thanks!
DroidCam.jpg
OBS.jpg
 
Top