logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages12>
Options
Go to last post Go to first unread
pesi  
#1 Posted : Monday, July 30, 2018 4:52:43 PM(UTC)
pesi

Rank: Advanced Member

Groups: Registered
Joined: 1/29/2017(UTC)
Posts: 111
Man
Canada
Location: Squamish

Thanks: 49 times
Was thanked: 2 time(s) in 1 post(s)
I am looking to inexpensively add a remote camera (maybe 2 or more) wirelessly in a conference live stream setting without having to run long ethernet cables.

Has anyone connected a low-end wi-fi IP camera to vMix (like the ones used for home security) using a local Wi-Fi network?
I do not need audio or PTZ control - just to capture video from a remotely placed camera over a local Wi-Fi network.

I use vMix HD and I am not sure if this can be done using the 'Stream' setting (?)

Thanks for any advice you can offer.

mjgraves  
#2 Posted : Monday, July 30, 2018 7:00:42 PM(UTC)
mjgraves

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2015(UTC)
Posts: 1,044
Man
United States
Location: Houston TX

Thanks: 294 times
Was thanked: 239 time(s) in 211 post(s)
Yes, most surveillance cameras can be added as RTSP streams. I do this routinely. Just be aware that they usually use H264 encoding, so there is some delay in the video.
pesi  
#3 Posted : Monday, July 30, 2018 11:28:22 PM(UTC)
pesi

Rank: Advanced Member

Groups: Registered
Joined: 1/29/2017(UTC)
Posts: 111
Man
Canada
Location: Squamish

Thanks: 49 times
Was thanked: 2 time(s) in 1 post(s)
Do you know how much of a delay? Would it cause an audio synch issue if audio was being captured directly from a venue's pa system?
mjgraves  
#4 Posted : Tuesday, July 31, 2018 2:37:15 PM(UTC)
mjgraves

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2015(UTC)
Posts: 1,044
Man
United States
Location: Houston TX

Thanks: 294 times
Was thanked: 239 time(s) in 211 post(s)
pesi wrote:
Do you know how much of a delay? Would it cause an audio synch issue if audio was being captured directly from a venue's pa system?


Yes, most definitely. Fortunately, vMix as facilities to delay the audio to match the video.

If you'd like to know about how much delay, you can run a simple test using some common models of webcam.

Several common Logitech webcams (C920, C922, C925e, C930e, BCC950, CC3000e, PTZ Pro, PTZ Pro2) have on-board H.264 encoding. If you have one of these, try adding it to a vMix project.

Step 1 - Set the video encoding to MJPEG and see how it responds.

Step 2 - Set the video encoding to H.264 and see how it responds.

Using H.264 the video is delayed by an amount equal to one group-of-frames, usually about 2 seconds.
thanks 1 user thanked mjgraves for this useful post.
pesi on 7/31/2018(UTC)
spencerm24  
#5 Posted : Tuesday, July 31, 2018 2:49:48 PM(UTC)
spencerm24

Rank: Advanced Member

Groups: Registered
Joined: 9/23/2017(UTC)
Posts: 248
Location: Toronto

Thanks: 13 times
Was thanked: 19 time(s) in 17 post(s)
Those webcams look like not wifi type. Has anyone been able to use a wifi camera?

If so, how does one go about importing the feed? (does vmix fetch from the camera, or does camera send to vmix, this makes a difference) I've never used a IP Cam with RTSP, so I apologize if this is a rudimentary question!
pesi  
#6 Posted : Tuesday, July 31, 2018 2:50:18 PM(UTC)
pesi

Rank: Advanced Member

Groups: Registered
Joined: 1/29/2017(UTC)
Posts: 111
Man
Canada
Location: Squamish

Thanks: 49 times
Was thanked: 2 time(s) in 1 post(s)
That is very helpful - thanks so much.
mjgraves  
#7 Posted : Tuesday, July 31, 2018 5:27:38 PM(UTC)
mjgraves

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2015(UTC)
Posts: 1,044
Man
United States
Location: Houston TX

Thanks: 294 times
Was thanked: 239 time(s) in 211 post(s)
spencerm24 wrote:
Those webcams look like not wifi type. Has anyone been able to use a wifi camera?

If so, how does one go about importing the feed? (does vmix fetch from the camera, or does camera send to vmix, this makes a difference) I've never used a IP Cam with RTSP, so I apologize if this is a rudimentary question!


Webcams let you compare Long-GOP H.264 vs MJPEG, to understand the delay involved.

The IP cameras act as RTSP servers. When adding the stream as a source you point vMix at the camera.

Here's the connection string for one of my household surveillance cameras:

rtsp://admin:password@192.168.10.222:554/0

If your camera allows unauthenticated connections you can get away with simply:

rtsp://192.168.10.222:554/0

Essentially all standards compliant cameras work this way. If you look for a camera that says it's ONVIF compliant you will be able to use free tools to verify the availability of the stream from the camera, possibly even remotely configure it.

It should not matter that the camera if connected via Ethernet or Wi-Fi. Of course, Ethernet is more reliable and can provide power to the camera.

To test you can load an app to a smart phone that turns it into an IP camera. I've had good luck with RTSP Camera for Android on my Pixel.
pesi  
#8 Posted : Tuesday, July 31, 2018 6:16:30 PM(UTC)
pesi

Rank: Advanced Member

Groups: Registered
Joined: 1/29/2017(UTC)
Posts: 111
Man
Canada
Location: Squamish

Thanks: 49 times
Was thanked: 2 time(s) in 1 post(s)
I have a question please - since the wi-fi camera will be used at a hotel venue and not in my home, will it automatically be able to connect with the vMix on my laptop using the hotel wi-fi network?
And which IP address will vMix use - the hotel wi-fi IP or the camera's unique IP?

Also, which brand/model do you use/suggest?
Thanks.
mjgraves  
#9 Posted : Wednesday, August 1, 2018 12:54:40 PM(UTC)
mjgraves

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2015(UTC)
Posts: 1,044
Man
United States
Location: Houston TX

Thanks: 294 times
Was thanked: 239 time(s) in 211 post(s)
pesi wrote:
I have a question please - since the wi-fi camera will be used at a hotel venue and not in my home, will it automatically be able to connect with the vMix on my laptop using the hotel wi-fi network?


Nothing is automatic. You will need to use a tool to discover the IP address issued to the camera. ONVIF Device Manager can do this.

pesi wrote:
And which IP address will vMix use - the hotel wi-fi IP or the camera's unique IP?


In vMix you add a stream source using the IP address of the camera. the syntax should be similar to the examples given previously.

pesi wrote:
Also, which brand/model do you use/suggest?


Sorry, I don't use Wi-Fi surveillance cameras. You'll have to experiment.

Also, this might not work at all. If the hotel's Wi-Fi is well managed you may not be able to connect to the camera at all. On a well managed network the various clients are kept isolated, so your neighbors laptop can't hack your gear.

Last week I was at a conference where the venue Wi-Fi did not allow clients see each other. We setup a dedicated Wi-Fi network for presenters so that their various devices (laptop, phone, tablet) could be allowed to connect to other things involved in their presentation.

You will need to experiment, ahead of time, at the venue, on their network.
thanks 1 user thanked mjgraves for this useful post.
pesi on 8/1/2018(UTC)
pesi  
#10 Posted : Wednesday, August 1, 2018 2:33:43 PM(UTC)
pesi

Rank: Advanced Member

Groups: Registered
Joined: 1/29/2017(UTC)
Posts: 111
Man
Canada
Location: Squamish

Thanks: 49 times
Was thanked: 2 time(s) in 1 post(s)
So if I may ask, which IP camera do you use for your setup?
mjgraves  
#11 Posted : Thursday, August 2, 2018 9:45:24 AM(UTC)
mjgraves

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2015(UTC)
Posts: 1,044
Man
United States
Location: Houston TX

Thanks: 294 times
Was thanked: 239 time(s) in 211 post(s)
pesi wrote:
So if I may ask, which IP camera do you use for your setup?


I use Grandstream GXV Series cameras around my home office. That company is slowly existing the space. If I had to do it again I'd look at Dahua cameras.

https://ipcamtalk.com/ is a good resource on such matters.
thanks 1 user thanked mjgraves for this useful post.
pesi on 8/2/2018(UTC)
pesi  
#12 Posted : Tuesday, August 14, 2018 4:17:51 PM(UTC)
pesi

Rank: Advanced Member

Groups: Registered
Joined: 1/29/2017(UTC)
Posts: 111
Man
Canada
Location: Squamish

Thanks: 49 times
Was thanked: 2 time(s) in 1 post(s)
mjgraves wrote:
In vMix you add a stream source using the IP address of the camera. the syntax should be similar to the examples given previously.


I tried connecting vMix through the 'stream' setting to the Wifi camera (Amcrest HD Pro) using the RTSP URL as suggested by the camera tech support. (btw the camera according to the tech, supports RTSP protocol.

rtsp://user:pwd@ip:port/cam/realmonitor ... &subtype=0 (of course substituting the user/pwd etc. correctly).

However, vMix gives an error: Unable to read data from the transport connection: A connection failed because the connected host failed to respond.
I tried both the RTSP over TCP and the RTSP over UDP protocols without success.

What could I be doing wrong?



mjgraves  
#13 Posted : Wednesday, August 15, 2018 5:16:42 PM(UTC)
mjgraves

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2015(UTC)
Posts: 1,044
Man
United States
Location: Houston TX

Thanks: 294 times
Was thanked: 239 time(s) in 211 post(s)
pesi wrote:

rtsp://user:pwd@ip:port/cam/realmonitor ... &subtype=0 (of course substituting the user/pwd etc. correctly).

What could I be doing wrong?


Impossible to say for sure. It's just a question of finding the exact URL that satisfies your camera. Usually simplifying it is better.

rtsp://user:pwd@ip:port

Also, try the VLC stream connection type. That uses an instance of VLC, which is the most flexible and forgiving client around.

You can try connecting from VLC outside of vMix as well.

Finally, you can try ONVIF Device Manager. It will check your network for RTMP/RTSP sources. It will then let you experiment with access.

thanks 1 user thanked mjgraves for this useful post.
pesi on 8/15/2018(UTC)
pesi  
#14 Posted : Wednesday, August 15, 2018 5:48:44 PM(UTC)
pesi

Rank: Advanced Member

Groups: Registered
Joined: 1/29/2017(UTC)
Posts: 111
Man
Canada
Location: Squamish

Thanks: 49 times
Was thanked: 2 time(s) in 1 post(s)
mjgraves wrote:

Usually simplifying it is better. rtsp://user:pwd@ip:port


That worked great - thanks for the tip!
But it only works with an ethernet cable attached to the cam and the network.

Now all that remains is to cut down on the latency - the delay is almost one full second as compared to another input which is using NDI.
Would the 'buffer' in the settings be useful at all? What does the buffer do?
ask  
#15 Posted : Thursday, August 16, 2018 4:31:41 AM(UTC)
ask

Rank: Advanced Member

Groups: Registered
Joined: 10/13/2012(UTC)
Posts: 1,054
Australia
Location: Melbourne

Thanks: 165 times
Was thanked: 181 time(s) in 166 post(s)
pesi wrote:
mjgraves wrote:

Usually simplifying it is better. rtsp://user:pwd@ip:port


That worked great - thanks for the tip!
But it only works with an ethernet cable attached to the cam and the network.

Now all that remains is to cut down on the latency - the delay is almost one full second as compared to another input which is using NDI.
Would the 'buffer' in the settings be useful at all? What does the buffer do?



Try setting the buffer to 0 and check Low Latency Mode.

The buffer holds some of the stream data to smooth out the stream when other/next data is not delivered quickly enough.


pesi  
#16 Posted : Thursday, August 16, 2018 1:28:58 PM(UTC)
pesi

Rank: Advanced Member

Groups: Registered
Joined: 1/29/2017(UTC)
Posts: 111
Man
Canada
Location: Squamish

Thanks: 49 times
Was thanked: 2 time(s) in 1 post(s)
I did that and there was only an insignificant improvement.
I guess that's one of the limitations of these devices?
My concern with any delay was that the audio which is being captured separately via an xlr connection into my main camera, will not synch with the visuals from the IP cam, as the IP cam will be capturing audience questions.
mjgraves  
#17 Posted : Thursday, August 16, 2018 4:55:03 PM(UTC)
mjgraves

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2015(UTC)
Posts: 1,044
Man
United States
Location: Houston TX

Thanks: 294 times
Was thanked: 239 time(s) in 211 post(s)
pesi wrote:
But it only works with an ethernet cable attached to the cam and the network.


That somewhat points to a managed Wi-Fi network, where cliente are kept isolated.

pesi wrote:
Now all that remains is to cut down on the latency - the delay is almost one full second as compared to another input which is using NDI.


Nothing in vMix can solve that. It's inherent in the use of H264 compressed video from the IP camera.

If the camera allows you to select MJPEG you could try that.
thanks 1 user thanked mjgraves for this useful post.
pesi on 8/16/2018(UTC)
Florent13  
#18 Posted : Tuesday, August 18, 2020 2:59:55 PM(UTC)
Florent13

Rank: Newbie

Groups: Registered
Joined: 2/21/2020(UTC)
Posts: 4
Man
France
Location: Marseille 6ème

Hello,
I try to see the result when filming with a Dahu, is it possible to see the result?
Thank you
singhharry12  
#19 Posted : Thursday, August 20, 2020 3:19:15 AM(UTC)
singhharry12

Rank: Newbie

Groups: Registered
Joined: 8/20/2020(UTC)
Posts: 1
India
Location: QFAQF

I have a question please - since the wi-fi camera will be used at a hotel venue and not in my home, will it automatically be able to connect with the vMix on my laptop using the hotel wi-fi network? 9apps cartoonhd
mjgraves  
#20 Posted : Thursday, August 20, 2020 3:28:19 AM(UTC)
mjgraves

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2015(UTC)
Posts: 1,044
Man
United States
Location: Houston TX

Thanks: 294 times
Was thanked: 239 time(s) in 211 post(s)
Originally Posted by: singhharry12 Go to Quoted Post
I have a question please - since the wi-fi camera will be used at a hotel venue and not in my home, will it automatically be able to connect with the vMix on my laptop using the hotel wi-fi network?


Nope. Most likely it will NOT be able top connect to anything else on the network. Anywhere you have a managed, shared Wi-Fi network you normally have client isolation turned on. This is to stop anyone from just randomly hacking other things connected to the public Wi-Fi.
Users browsing this topic
2 Pages12>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.