HGDC84
Captain
Finland
Offline
|
I may have found out a way to use the Pocket 2 as a tracking-enabled webcam on a Windows PC, will list my process here and would like to hear opinions on if there, for instance, would be a more efficient, safer, less-resource-hogging etc. way to do it. Also, in case somebody is wondering how to do this, and in case this is the way to make it, I'll list it here.
What you will need for this:
-The Pocket 2
-The Do-It-All-handle
-External microphone to connect to the DIA Handle (Optional)
-A tripod for the Pocket 2 (Optional but recommended)
-An Android or iPhone with the DJI Mimo app installed
-A Windows PC with the following software installed: MonaServer, OBS Studio with OBS Virtual Camera
-A router or a wifi hotspot that has been configured to be detected as a private network by the Windows PC
The process itself:
- If not already connected to a Private network, connect your PC to a wifi-enabled network that has been configured as Private on your PC. Connecting the PC to the router via an Ethernet cable likely makes the network considered to be Private, with wifi network you may have to do a little more work. Check your network settings on Windows to make sure the network shows as Private, not Public. If the network is shown as Public, the Pocket 2 may not be able to establish the connection to OBS. You should be able to change the wifi network to public through Windows firewall and network settings (selecting it as 'trusted' network). However, if Windows keeps on switching the network to Public (as it did for me), you could try installing a trusted third-party firewall and change the same setting through it. My problem with this was solved when I installed the firewall to my security/antivirus software (mine is free version of Avast) and changed the setting through that, it seems like it overrides the Windows firewall settings and ensures the network setting stays as Private.
- Install the software on your PC if it's not already installed. MonaServer can be found at https://sourceforge.net/projects/monaserver/, the OBS Studio download is at https://obsproject.com/download.
- Connect the DIA Handle and the possible external microphone to the Pocket 2. Put the Pocket 2 on the tripod if you don't want to hold it in your hand.
- Start up the MonaServer on your PC. Make sure to keep it running while using the Pocket 2 as a webcam. Check the address number mentioned after RTMP, pay special attention to the number after the : .
- Check out your computer's IPv4 address if you don't already know it. You can do this by entering the Command Prompt on Windows (type cmd in Windows search bar and press Enter or select Command Prompt from the results) and typing ipconfig /all. You should see a listing that mentions the IPv4 address. Make sure to remember this address number.
- Start up the OBS Studio and add a new scene. In the scene, add a Media Source and configure it. Remove the mark from the 'Local file' option, then type the following to the address field: rtmp://(your IPv4 address) : (the number after the MonaServer's RTMP IP)
For example, if your IPv4 address were 192.168.1.1 and the number at the Monaserver's IP info after the : was 1935, you would type: rtmp://192.168.1.1:1935
After typing, select OK.
- Start up the Mimo app on your mobile device and connect the Pocket 2 to the Mimo app. When you see the camera preview in the Mimo app, select 'Livestream' from the right. From the following menu for the service, select RTMP.
- There, select the router or wifi hotspot to which the PC has been connected from the Camera Network option, then for the RTMP URL, type the same address you typed for the OBS address field. Setup the other options as you wish, then select 'Start Livestream'.
- If everything went as it was supposed to, you should now see the Pocket 2's view in the OBS preview window. You can now enable the OBS Virtual Camera, then select it from the software you wish to use the Pocket 2 with (displays as 'OBS Virtual Camera'). You can now shut the Mimo app from the mobile device.
- To enable the tracking, double-tap the subject you want to be tracked on the Pocket 2's touchscreen. To end streaming, swipe left or right on the touchscreen and confirm you want to stop streaming.
So what do you guys think? Is this a good workaround or is there something that should be done better for it to work? Thanks in advance for any feedback and opinions!
|
|