1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: ADURL with Axis PTZ network camera |
From: | Katie Matusik via Tech-talk <tech-talk at aps.anl.gov> |
To: | "Heesterman, Peter J" <Peter.Heesterman at ukaea.uk> |
Cc: | EPICS Tech Talk <tech-talk at aps.anl.gov> |
Date: | Wed, 11 Aug 2021 08:41:20 -0700 |
Hi Katie, Mark,
If the camera is operating in streaming mode (this is implied by mjpg, motion JPEG), the frame interval is determined by the camera hardware.
The ADURL software has no control over it, and data frames are just streaming all the time.
If the software is set to operate at a slower speed (e.g. 1 second) than the camera delivers, then frames will be skipped.
This will cause the software to lose frame synchronisation.
The software is smart enough to re-locate frame sync, if it’s lost.
But it will take some little time – a few frames - to do so.
There is no reason to set the frame interval ‘Acquire period’ to anything other than zero, in the streaming case.
The software just waits - with a blocking read - until the next complete frame has been received (or timeout).
A minority of IP cameras are able to operate with single frames, on request.
In which case setting a non-zero exposure time would be meaningful and required.
Sorry, I should have mentioned this yesterday.
Cheers,
Peter.
From: Katie Matusik <kmatusik at sigray.com>
Sent: 10 August 2021 17:52
To: Heesterman, Peter J <Peter.Heesterman at ukaea.uk>
Cc: Mark Rivers <rivers at cars.uchicago.edu>; EPICS Tech Talk <tech-talk at aps.anl.gov>
Subject: Re: ADURL with Axis PTZ network camera
Actually, I just increased the acquire period to be closer to the frame rate of the web cam (0.08s) and it updates much faster now. So it seems like 1s output was too slow and added some latency? Thanks so much for all the help.
-Katie
On Tue, Aug 10, 2021 at 9:47 AM Katie Matusik <kmatusik at sigray.com> wrote:
Hi Peter and Mark,
I tried it with and without the timestamp bit, and I get the same behavior. Essentially, it takes about 10-15 s for the image to be updated in ImageJ. I'm attaching a screenshot of my URLDriver.adl screen as well as the image that I see on the web page and the image in ImageJ; you can see the two are not the same. My Acquire period is set to 1. The webcam should be outputting at 12fps in the web page.
Thanks!
On Tue, Aug 10, 2021 at 1:40 AM Heesterman, Peter J <Peter.Heesterman at ukaea.uk> wrote:
Hi Katie, Mark,
Could you try removing the ?timestamp=1628535368535 bit from the URL (leaving only http://10.0.1.50/mjpg/video.mjpg )?
The timestamp indicates a specific image frame, having a specific time stamp.
Cheers,
Peter.
From: Katie Matusik <kmatusik at sigray.com>
Sent: 09 August 2021 20:01
To: Heesterman, Peter J <Peter.Heesterman at ukaea.uk>
Cc: Mark Rivers <rivers at cars.uchicago.edu>; EPICS Tech Talk <tech-talk at aps.anl.gov>
Subject: Re: ADURL with Axis PTZ network camera
Hi Mark and Peter,
Copying the image link and entering that into the URL setup screen does work; the new link looks like http://10.0.1.50/mjpg/video.mjpg?timestamp=1628535368535. When I pan the camera around, the image through the IOC does update, but very slowly relative to the camera updating in the web browser. Should I be expecting latency on the order of tens of seconds?
Thanks!
Katie
On Mon, Aug 9, 2021 at 10:41 AM Heesterman, Peter J <Peter.Heesterman at ukaea.uk> wrote:
Hi Katie,
I’m not familiar with that particular camera model.
I’ve been trying to locate one from http://www.insecam.org/en/bytype/Axis/, but the site only selects by manufacturer, and not by model type.
In the web browser view (I’m using Firefox for this), can you right click on the image and select ‘copy image link”.
Does this give a different URL?
If so, can you try that instead?
Many camera types emit a compound image which cannot be parsed by the ADURL module.
Cheers,
Peter.
From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Katie Matusik via Tech-talk
Sent: 09 August 2021 17:31
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk <tech-talk at aps.anl.gov>
Subject: Re: ADURL with Axis PTZ network camera
Hi Mark,
I'm using ADSupport R6-2-1 and I get the same error if %size=1 is removed from the url.
Thanks!
Katie
On Fri, Aug 6, 2021 at 8:16 PM Mark Rivers <rivers at cars.uchicago.edu> wrote:
Hi Katie,
What version of ADSupport are you using?
What happens if you remove the &size=1 from the end of the URL?
Mark
Sent from my iPhone
On Aug 6, 2021, at 5:27 PM, Katie Matusik via Tech-talk <tech-talk at aps.anl.gov> wrote:
Hi all,
I'm running epics base 3.15.9 with areaDetector R3-11 and using ADURL to try to grab images from an AXIS M5065 PTZ Network Camera. The URL of the image feed is http://10.0.1.50/view/view.shtml?id=68&imagepath=%2Fmjpg%2Fvideo.mjpg&size=1 and I can see the live feed in the browser but I get an error message in the ADURL IOC that states "error reading URL="" No decode delegate for this image format (/tmp/gm48Qkon) reported by ../constitute.c:1534 (GmReadImage)". Any help is appreciated, thank you!
-Katie
[https://static1.squarespace.com/static/56de1f4a2fe1318cf0aacc98/t/5d9e0fa57996446a078a8e1a/1570639781104/Logo_gmail_small.png?format=300w]
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited
--Katie Matusik
Systems Engineer
5750 Imhoff Drive, Suite I
Concord, CA 94520 USA
Office: 1 (925) 326 - 7926
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited
--
Katie Matusik
Systems Engineer
5750 Imhoff Drive, Suite I
Concord, CA 94520 USA
Office: 1 (925) 326 - 7926
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited
--
Katie Matusik
Systems Engineer
5750 Imhoff Drive, Suite I
Concord, CA 94520 USA
Office: 1 (925) 326 - 7926
--
Katie Matusik
Systems Engineer
5750 Imhoff Drive, Suite I
Concord, CA 94520 USA
Office: 1 (925) 326 - 7926
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited