PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
Off-topic
→
Caméras AXIS
Caméras AXIS
Started by Philippe, Mar., 14 2008 11:45 AM - 3 replies
Connect yourself…
Philippe
#1
Posted on March, 14 2008 - 11:45 AM
Bonjour,
Je recherche un composant libre de droits capable de piloter les caméras AXIS.
Merci de me contacter au 06.72.18.14.01 ou par mail
mtp-editions@nerim.net
Report
0
0
Olivier QUARIN
#2
Posted on April, 12 2008 - 10:11 AM
As-tu eu une réponse, je recherche aussi une solution pour pouvoir récupérer l'image/vidéo d'une caméra Axis dans un programme.
Report
0
0
Pepijn
#3
Posted on April, 30 2008 - 3:00 PM
Bonjour,
Pour visualiser en streaming utiliser un champ HTML, inserer le code suivant et remplacer %1 par l'addresse IP du camera, %2 = Largeur et %3 = Hauteur:
<SCRIPT LANGUAGE="JavaScript">
// Set the BaseURL to the URL of your camera
var BaseURL = "
http://%1/
";
// DisplayWidth & DisplayHeight specifies the displayed width & height of the image.
// You may change these numbers, the effect will be a stretched or a shrunk image
var DisplayWidth = "%2";
var DisplayHeight = "%3";
// This is the path to the image generating file inside the camera itself
var File = "axis-cgi/mjpg/video.cgi?resolution=%2x%3";
// No changes required below this point
var output = "";
if ((navigator.appName == "Microsoft Internet Explorer") &&
(navigator.platform != "MacPPC") && (navigator.platform != "Mac68k"))
{
// If Internet Explorer under Windows then use ActiveX
output = '<OBJECT ID="Player" width='
output += DisplayWidth;
output += ' height=';
output += DisplayHeight;
output += ' CLASSID="CLSID:DE625294-70E6-45ED-B895-CFFA13AEB044" ';
output += 'CODEBASE="';
output += BaseURL;
output += 'activex/AMC.cab#version=3,32,14,0">';
output += '<PARAM NAME="MediaURL" VALUE="';
output += BaseURL;
output += File + '">';
output += '<param name="MediaType" value="mjpeg-unicast">';
output += '<param name="ShowStatusBar" value="0">';
output += '<param name="ShowToolbar" value="0">';
output += '<param name="AutoStart" value="1">';
output += '<param name="StretchToFit" value="1">';
output += '<BR><B>Axis Media Control</B><BR>';
output += 'The AXIS Media Control, which enables you ';
output += 'to view live image streams in Microsoft Internet';
output += ' Explorer, could not be registered on your computer.';
output += '<BR></OBJECT>';
} else {
// If not IE for Windows use the browser itself to display
theDate = new Date();
output = '<IMG SRC="';
output += BaseURL;
output += File;
output += '&dummy=' + theDate.getTime().toString(10);
output += '" HEIGHT="';
output += DisplayHeight;
output += '" WIDTH="';
output += DisplayWidth;
output += '" ALT="Camera Image">';
}
document.write(output);
document.Player.ToolbarConfiguration = "play,+snapshot,+fullscreen"
// document.Player.UIMode = "MDConfig";
// document.Player.MotionConfigURL = "/axis-cgi/operator/param.cgi?ImageSource=0"
// document.Player.MotionDataURL = "/axis-cgi/motion/motiondata.cgi";
</SCRIPT>
Pour capter les images, il faut configurer la camera de deposer les images sur un site FTP. Pour configurer utilise un web browser et tapez l'IP de ton camera, voire aussi la doc de Axis. Nous avons des AXIS 211A, 221A, ...
A+,
Pepijn
Report
0
0
Philippe
#4
Posted on May, 24 2008 - 1:13 AM
Merci à Pepijn pour son aide.
Cordialement
Philippe
Report
0
0
→ Go back to Off-topic
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WEBDEV (earlier versions)
WINDEV Mobile (earlier versions)
Reports & Queries
Off-topic
Tools
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text