mjpeg

Video re-streaming server (video output format)

拟墨画扇 提交于 2019-12-10 11:27:00
问题 I need to develop a video streaming server which would stream a live video to multiple users. It needs to support the following "video" sources for the re-stream server: web-camera surveillance camera (already supports MJPG stream) scanner I understand that I would need a different driver for adding support to each video input device. I also need to support the video-display in: web-browsers Mozilla Firefox 3.6 Internet Explorer 8 desktop applications developed in C++ / QT 4.6 My questions:

Chrome MJPEG CORS “invalid response” when img.crossOrigin=“Anonymous”

99封情书 提交于 2019-12-10 02:43:03
问题 Image from origin 'http://192.168.1.67:5555' has been blocked from loading by Cross-Origin Resource Sharing policy: Invalid response. Origin 'http://127.0.0.1:8000' is therefore not allowed access. I need to allow cross origin for this MJPEG stream as the user must be able to capture the image with a button and without CORS the canvas is tainted. I'm struggling with this issue in FF and Chrome (IE uses a different video source as it doesn't support MJPEG). My server also returns the Access

Solutions to 'convert' http traffic to https? Proxy? (relay)

我的未来我决定 提交于 2019-12-09 14:29:01
问题 Our app is all HTTPS, but we grab mjpeg streams from low-budget devices that do not support SSL. So, this means that we can either: i. Mix content and have browsers freak out. (Unacceptable since we train users not to trust mixed content pages.) ii. Make the site non-https. (REALLY unacceptable.) I was thinking that we could run a relay on one of our servers, for which the browsers could hit using SSL, this server would then act as a proxy to the non-SSL mjpeg streams. We know the IPs of the

Motion jpeg in html5 canvas

拈花ヽ惹草 提交于 2019-12-09 09:28:35
问题 I'm trying to wrap motion jpeg (mjpeg) stream (from webcam) into html5 canvas. I know Safari and Chrome have native support for mjpeg so that I can put it into img to make it work. The reason I want to wrap it in canvas is that I want to do some post processing on it. I know i can use drawImage to load an image (and mjpeg): <html> <body> <canvas id='test_canvas' width='640px' height='480px' style='border:1px solid #d3d3d3'> </canvas> <script language="JavaScript"> var ctx = document

Mjpeg VLC and HTTP Streaming

醉酒当歌 提交于 2019-12-09 07:18:20
问题 I'm generating a MJpeg Stream and trying to stream it to VLC and play it there. The code: public void SendMultiPartData(String contentType, Func<byte[]> getData) { MemoryStream mem = null; response.StatusCode = 200; for ( byte[] buffer = getData(); buffer != null && buffer.Length > 0; buffer = getData()) { response.ContentType = "multipart/x-mixed-replace; boundary=--testboundary"; ASCIIEncoding ae = new ASCIIEncoding(); byte[] boundary = ae.GetBytes("\r\n--testboundary\r\nContent-Type: " +

Windows Form vs Unity3D HttpWebRequest Performance

旧时模样 提交于 2019-12-08 02:41:20
问题 I am working on a simple program that grabs image from a remote IP camera. After days of research, I was able to extract JPEG images from MJPEG live stream with sample codes I got. I did a prototype with using Windows Form. With Windows Form, I receive appropriately 80 images every 10 second from the IP camera. Now I ported the code to Unity3D and I get about 2 frames every 10 seconds. So basically about 78 Images are not received . The thing looks like medieval PowerPoint slide show . I am

Black screen while trying to stream IP camera in android

时光毁灭记忆、已成空白 提交于 2019-12-07 17:52:07
问题 I’m developping an android app to monitor some IP cameras. I’m using the MjpegView Class to stream the video. I’ve three cameras. - Camera 1: A public camera i found on internet, without user/password. - Camera 2: A public camera but this one require username/password. - Camera 3: The camera I’m going to use finally in my app. It will also ask for credentials. The code in my main activity is the following: public class MainActivity extends Activity { private MjpegView mv; @Override protected

Frame loss for above FullHD resolution .Is AVI Decompressor transform filter available in MediaFoundation?

这一生的挚爱 提交于 2019-12-07 12:51:54
问题 I'm developing a multimedia streaming application for Desktop using SourceReader MediaFoundation technique. I'm using USB camera device to show streaming. The camera supports 2-video formats: YUY2 and MJPG . For 1980x1080p YUY2 video resolution, receiving only 48fps for 60fps. I fetched YUY2-RGB32 conversion from MSDN page and using in my application ( Note: I didn't use any transform filter for color conversion). For MJPG video format, I used MJPEG Decoder MFT to convert MJPG - YUY2 - RGB32

Creating a Motion JPEG frame by frame with variable frame-rate

无人久伴 提交于 2019-12-07 10:21:52
问题 I'm analyzing a number of solutions to the problem that I have in hand: I'm receiving images from a device and I need to make a video file out of it. However, the images arrive with a somewhat random delay between them and I'm looking for the best way to encode this. I have to create this video frame by frame, and after each frame I must have a new video file with the new frame, replacing the old video file. I was thinking of fixating the frame-rate a little "faster" than the minimum delay

Video re-streaming server (video output format)

瘦欲@ 提交于 2019-12-06 15:53:47
I need to develop a video streaming server which would stream a live video to multiple users. It needs to support the following "video" sources for the re-stream server: web-camera surveillance camera (already supports MJPG stream) scanner I understand that I would need a different driver for adding support to each video input device. I also need to support the video-display in: web-browsers Mozilla Firefox 3.6 Internet Explorer 8 desktop applications developed in C++ / QT 4.6 My questions: What would be a good video output format that can be used to support the required browsers/applications?