webcam

SVG Filter on HTML Canvas Video

拟墨画扇 提交于 2020-01-05 04:30:08
问题 So I wanna create glitch effect on canvas, that get every frame from webcam. Code below. Here the code, which works only if width: 200px height: 200px if change this value to width: 600px height: 400px (container size), glitch effect stops working. Here's code where you can change value canvas.width, canvas.height, and see it by yourself CodePen. Does someone know, what a reason for that and how fix it? Or it's some kinda limitations on feTurbulence? const addEffect = (element, filter) => {

What format is this JPEG stream from my cheap Chinese IP webcam?

左心房为你撑大大i 提交于 2020-01-03 18:37:59
问题 I've got a cheap Chinese IP webcam that has a web interface showing live video. The video appears to be a sequence of jpeg images fed into the browser. If I point wget at the URL http://my-ip-camera/video.cgi I receive a big chunk of streamed data in the following format: --ipcamera Content-Type: image/jpeg Content-Length: 46056 JFIF header data ... lots of data ... this pattern repeats for every "frame". Is this some "standard" streaming format I can play/transcode with something, or is it

How can I capture video from a webcam in java with an applet?

♀尐吖头ヾ 提交于 2020-01-03 05:42:28
问题 I am loking into capturing and streaming video over the network using a java applet. So far, it looks like JMF is outdated and FMJ won't be able to capture at any reasonable speed. Is there any other library that I can use to go about capturing and or streaming video from a webcam at at least 10-15 frames per second? 回答1: I have done this recently and had to write a JNI to capture the video and encode it or decode it. It is a pain because you have to write the JNI for each platform like

Jquery Webcam on webpage help needed

旧街凉风 提交于 2020-01-03 05:05:45
问题 Im trying to get webcam on my webpage. my jquery code: $("#camera").webcam({ width: 320, height: 240, mode: "callback", swffile: "webcam/jscam.swf", }); my body code for the webcam: <div id="camera"></div> im using this plugin: http://www.xarg.org/project/jquery-webcam-plugin/ but on my page i dont see anything. it's empty. someone know what im missing to make the webcam work. Thanks. 回答1: A guess, but since you're using the callback mode did you try adding callback config like in the example

How to switch between webcams when using CaptureElement/MediaCapture? [closed]

 ̄綄美尐妖づ 提交于 2020-01-02 18:55:13
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am trying to provide an option to switch between webcams used to display preview using CaptureElement/MediaCapture. Unfortunately I tried multiple combinations of call sequences and the preview only shows up for the first device I use. This is what I have been trying to do: XAML: <CaptureElement x:Name=

How to switch between webcams when using CaptureElement/MediaCapture? [closed]

扶醉桌前 提交于 2020-01-02 18:54:51
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am trying to provide an option to switch between webcams used to display preview using CaptureElement/MediaCapture. Unfortunately I tried multiple combinations of call sequences and the preview only shows up for the first device I use. This is what I have been trying to do: XAML: <CaptureElement x:Name=

How to switch between webcams when using CaptureElement/MediaCapture? [closed]

谁说我不能喝 提交于 2020-01-02 18:54:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am trying to provide an option to switch between webcams used to display preview using CaptureElement/MediaCapture. Unfortunately I tried multiple combinations of call sequences and the preview only shows up for the first device I use. This is what I have been trying to do: XAML: <CaptureElement x:Name=

How to programmatically start/stop FFMPEG stream transcoding

半世苍凉 提交于 2020-01-02 06:00:07
问题 I have an ip webcam which provides an MJPEG stream. I can successfully transcode and save that stream with ffmpeg under OSX. The following gives me pretty much what I want: ffmpeg -f mjpeg -i "http://user:pass@10.0.1.200/nphMotionJpeg?Resolution=640x480&Quality=Standard" -b:v 1500k -vcodec libx264 /tmp/test.mp4 That will start an FFMPEG session and begin saving the live stream to my test.mp4 file. pressing q will quit ffmpeg and save the file. I would like to programmatically start & stop the

Convert RTSP stream to virtual web camera

谁说胖子不能爱 提交于 2020-01-02 04:49:09
问题 I am trying to use a RTSP stream from an IP camera as video input source for various applications on Windows (eg. skype). The only solution I have found so far is using " webcam 7 ", an application that fetches RTSP stream and creates a virtual driver that registers in system as webcam and that any application can then use. Unfortunately, this application often becomes unstable and might crash randomly. Are there any alternative/better ways for achieving this? 回答1: Create your own DirectShow

How to copy image without using the clipboard?

余生长醉 提交于 2020-01-02 03:37:09
问题 Question: I have the below code to capture an image from a webcam. My problem is this part: SendMessage(hCaptureWnd, WM_CAP_COPY, 0, 0); // copy it to the clipboard What it does is copy the image from the window to the clipboard, and then create a byte array out of it. It works - as long as you don't use the clipboard while the program is running. The problem is, this doesn't even work for myself, as I sometimes copy something while Visual Studio takes ages to start debug the web application,