Axis Customer Forum

It is currently Tue Apr 23, 2019 6:40 pm

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Fri Mar 31, 2017 6:36 am 

Joined: Fri Mar 31, 2017 6:10 am
Posts: 3
We have 30 Axis IP cameras (P3364-LVE) on a network, streaming at 5 fps (RTSP MJPEG at 800x600)
Only 2 frames are required every +-5 seconds but they must be 200ms seconds apart (velocity calculations)
Currently only 2/25 frames are being used but the network is getting congested with all the unused frames

Is there a way to only send 2 consecutive frames every 25 frames?

Thanks


Top
 Profile  
 
PostPosted: Fri Mar 31, 2017 6:49 am 

Joined: Fri Nov 14, 2014 1:38 am
Posts: 739
Will jpeg images do or it must be a rtsp stream for your analytic software?

The challenges will also be sending the 2 consecutive images (also for the images to be exactly 200ms apart) exact 5sec interval as axis product are not precision instrument.

Your units need to be optimised just to concentrate on these task so that the diffences are small and within your analytics acceptable limits.

If you are interested in further discussion, please contact me via Skype @ Cheng.Xin.SG


Last edited by Cheng Xin 345535 on Fri Mar 31, 2017 7:21 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Fri Mar 31, 2017 7:15 am 

Joined: Fri Mar 31, 2017 6:10 am
Posts: 3
We get the timestamp of the incoming image so the time between consecutive images should just be in a range.
150ms-250ms will be fine, 400ms is too much. This is why 5fps was chosen.

An RTSP stream would be preferred

Would this be possible?


Top
 Profile  
 
PostPosted: Fri Mar 31, 2017 7:24 am 

Joined: Fri Nov 14, 2014 1:38 am
Posts: 739
To have RTSP stream at your requirement, you will need a program that executive the RTSP play and pause command.

That will limit the number MJPEG frames send over (achieving exactly 2 may be difficult).

A lot of scripting.


Top
 Profile  
 
PostPosted: Fri Mar 31, 2017 7:29 am 

Joined: Fri Mar 31, 2017 6:10 am
Posts: 3
Would a Recurrence time action event be able to do it?


Top
 Profile  
 
PostPosted: Fri Mar 31, 2017 7:59 am 

Joined: Fri Nov 14, 2014 1:38 am
Posts: 739
Yes. For Jpeg images not for video stream.


Top
 Profile  
 
PostPosted: Mon Apr 03, 2017 3:21 am 

Joined: Fri Nov 14, 2014 1:38 am
Posts: 739
The best approach to meet your requirement is to come up with ACAP to be loaded into the camera. Images are polled at 1/25s intervals at 5s frequency at 800x600 resolution without the stream leaving the camera.

The ACAP will then sent the results maybe with the results (with the options of images analysis via email or ftp service.


Top
 Profile  
 
PostPosted: Mon Apr 10, 2017 9:43 am 

Joined: Fri Nov 14, 2014 1:38 am
Posts: 739
I was thinking of your issue.

It may be possible to achieve your objective at least minimized the bandwidth send by each of P3364 with the use of privacy masks and events)

for each 5 sec.

1. First 2-3 frames. (pictures without privacy mask) about 90ms duration at 1/25 exposure.

2. Remaining (about 122 to 123) frames (total black frame - 1 pixel is send for the privacy mask) for the rest of the 5 seconds.

If you are interested in further discussion, please contact me via Skype @ Cheng.Xin.SG


Top
 Profile  
 
PostPosted: Tue Apr 11, 2017 4:51 am 

Joined: Fri Nov 14, 2014 1:38 am
Posts: 739
Tested that the concept works. However you may get 2-4 frames within 119ms (in theory, it should just be 2) also 5 secs intervals is sometime not exact. This is normal as Axis camera is not a precision camera.

The accuracy should be able to improve if you optimised the unit so that the camera can focus on the events and streaming.

So this will not be your solution if your application requires precision.

Bandwidth is saved in MJPEG stream.

One disadvantage of this method is that it will affect all the streams of your camera when it is on.

If you are interested in further discussion, please contact me via Skype @ Cheng.Xin.SG


Top
 Profile  
 
PostPosted: Wed Apr 12, 2017 2:32 am 

Joined: Fri Nov 14, 2014 1:38 am
Posts: 739
Forget that your criteria is about 200ms apart between the 2 frames.

1. One way is to have the camera send 1 frames (you may received 2 frames) with the privacy mask off for 79ms
2. Send the stream with privacy mask on for 121 ms.

Repeat step 1 and 2 for 5 times in each sec.

This will send about 1-2 (800x600) Mjpeg images every 200 ms.

This is not precise but should work. It will save a lot of bandwidth if you have 30 cameras.

Thanks this make me think out of the box.

Axis camera is feature rich but its possibility still requires some creative thinking.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group