ip-camera

OpenCV VideoCapture IP camera reconnection

柔情痞子 提交于 2019-12-12 11:06:15
问题 I'm reading images from a camera through HTTP. This is the code: Mat src; VideoCapture cap(); cap.open("http://192.168.1.10:8008"); // IP camera while(1) { cap.read(src); // Other code } It works perfectly, but after running for a while if I physically disconnect the camera then the code hangs forever in cap.read(src); . I need some way to return from read if, let's say, after 5 seconds there is no new image. There is another problem. If the camera is reconnected while the program is waiting

Could the HTML 5 Video tag source come from streaming IP cam?

天涯浪子 提交于 2019-12-12 05:39:09
问题 I saw this article http://www.html5rocks.com/en/tutorials/getusermedia/intro/, it explain about capturing audio and video from user device such as webcam and microphone. My question is can we used this method to capture video stream from IP cam? So basically it's can access to multimedia streams (video, audio, or both) from IP camera its network stream not local device. Can anyone pointed me to the right direction? Is it possible? Thanks. 回答1: HTML capturing is intended for interacting with a

IP CAM in Combination with UV4L and Janus-Gateway (WebRTC)

怎甘沉沦 提交于 2019-12-12 04:09:14
问题 I am employing the use of UV4L with my IP CAM to create a virtual video driver /dev/video1. I am able to get into the API of the UV4L streaming server which has Multiple applications like JITSI, WEBRTC, JANUS etc. I noticed when I try to stream to Janus Video room on a local area connection (LAN) i.e. on my local server I get this message in the terminal "[6889886769210913] Creating ICE agent (ICE Full mode, controlled) [6889886769210913] The DTLS handshake has been completed WebRTC media is

MJPEGStream Display Stream Aforge.Video.dll

余生颓废 提交于 2019-12-12 00:07:43
问题 I'm trying to stream an IPCAM D'Link using the Aforge Libraries but i'm not succeed: I want to display the video stream into an PB control. My Code: Imports AForge.Video Public Class Form1 Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load Try Dim stream As New MJPEGStream("http://190.6.198.3/video/mjpg.cgi") stream.Login() = "admin" stream.Password() = "" stream.Start() Catch ex As System.Net.WebException MsgBox(ex.Message.ToString) End Try End Sub End

HTML multiple Javascript alias

♀尐吖头ヾ 提交于 2019-12-11 14:00:21
问题 I'm trying to import the image of multiple IP cameras into one page. However, the script the camera serves for the viewer has the same name on every camera so i cannot seem to display both the viewers on one page. Would it be possible to import the scripts with a sort of AS alias so it knows which of the 2 scripts to execute? In the below pseudo-code I show what i exactly mean (i made up the AS="cam1" and the cam1.~~) <html> <head> <title>Security Cameras</title> </head> <body> <script AS=

Virtual PTZ camera via physical fisheye camera and Open CV

孤街醉人 提交于 2019-12-11 09:09:41
问题 I'm trying to realize a virtual Pan-Tilt-Zoom (PTZ) camera, based on data from physical fisheye camera (180 degrees FOV). In my opinion I have to realize the next sequence. Get the coordinates of center of fisheye circle in coordinates of fisheye sensor matrix. Get radius of fisheye circle in the same coordinate system. Generate a sphere equation, which has the same center and radius as flat fisheye image on flat camera sensor. Project all colored points from flat image to upper hemisphere.

How do I grab an image retrieved from a camera via web browser?

别等时光非礼了梦想. 提交于 2019-12-11 03:28:28
问题 I have an IP camera that hands me a snapshot of what it is seeing when I enter a specific url which the manual provides. The manual also states that the http response is: HTTP Code: 200 OK Content-Type: image/jpeg Content-Length: <image size> Body:<JPEG image data> Looking at the page on Firefox, I can see nothing but the image. I cannot even view its page source. I am hoping this indicates a very simple format to grab with C++. What I want to do is to write a C++ program that autograbs

OnVif integration error - unauthorized with client authentication scheme 'Digest'

送分小仙女□ 提交于 2019-12-10 12:09:19
问题 Using this code to connect to OnVif service on my IP Camera in C# .Net 4.5. Very next to that code, I am trying to get Device information as follows: string str = client.GetDeviceInformation(out model, out firmware, out serial, out hardwareId); And encouters this error: An exception of type 'System.ServiceModel.Security.MessageSecurityException' occurred in mscorlib.dll but was not handled in user code Additional information: The HTTP request is unauthorized with client authentication scheme

opencv VideoCapture d-link DCS-930L

亡梦爱人 提交于 2019-12-10 11:26:19
问题 I am trying to access my ip camera fom opencv without success. VideoCapture capture("http://IP/MJPEG.CGI?.mjpeg&user=username&password=mypassword") when trying using VLC it's works : http://IP/MJPEG.CGI?.mjpeg then VLC ask for username&password and it's fine. Thanks for helping 回答1: Done Successfully using the following: http://username:password@ip/video.cgi?.mjpg 来源: https://stackoverflow.com/questions/22202666/opencv-videocapture-d-link-dcs-930l

Android Media Player RTSP

喜欢而已 提交于 2019-12-09 06:49:39
问题 I'm trying to watch RTSP streaming on Android device. But if the server set password for the streaming my Android cannot play it. If without password it's ok. Here is my codes. public class VideoFragment extends Fragment implements View.OnClickListener, SurfaceHolder.Callback, MediaPlayer.OnPreparedListener { VideoView m_videoView; SurfaceView m_surfaceView; SurfaceHolder m_surfaceHolder; MediaPlayer m_mediaPlayer; SharedPreferences m_sharedPref; Boolean m_videoStarted; public VideoFragment()