mjpeg

How to record the http live streaming from an IP Cam

主宰稳场 提交于 2019-12-12 05:17:42
问题 I have created the application in which the client can view the ip camera which is giving an http live stream of MJPEG using this link Android ICS and MJPEG using AsyncTask Now i want the user to record the video into its memory card . I have googled for a while and the only two approaches which came in my mind :- Either i keep storing the jpeg images and when user clicks stop recording then i somehow clip all the images as to provide a 3GP video or some other file format. But i don't know

ffmpeg jpeg stream to webm only creates a file .webm with 1 frame (snapshot) or empty .webm file (mjpeg)

折月煮酒 提交于 2019-12-12 03:59:09
问题 my problem is that when i try to turn a series of jpegs into a webm video. I either get a webm file with a single frame or a webm file with nothing in it (0 kb). var fs = require('fs'); var path = require('path'); var outStream = fs.createWriteStream(__dirname+'/output.webm'); var ffmpeg = require('fluent-ffmpeg'); this one is a mjpeg stream URL. it produces a file with nothing. //var proc = new ffmpeg({source:'http://xxx.xxx.xxx.xxx/goform/stream?cmd=get&channel=0',timeout:0}) this one is a

Creating an MJPEG video from still images using C#

喜夏-厌秋 提交于 2019-12-11 15:55:12
问题 I am trying to create a timelapse from JPEG images. I've read that the structure of M-JPEG is fairly simple, essentially just concatenated JPEG images that most browsers can play. var result = new List<byte>(); var converter = new ImageConverter(); foreach (var file in Directory.GetFiles(srcFolder, "*.jpg", SearchOption.TopDirectoryOnly)) { using (var image = Image.FromFile(file) as Bitmap) { var bytes = converter.ConvertTo(image, typeof(byte[])) as byte[]; result.AddRange(bytes); image

Camera Remote API

核能气质少年 提交于 2019-12-11 09:36:05
问题 I am trying to use liveview through the Camera Remote SDK in order to connect a SONY QX1 lensless camera to a PC over the wireless link. All of the APIs I have tested so far work great except the liveview. I have not been able to find a viewer app that allows decoding of the jpg stream. Does one exist? I would prefer not to write this myself. I am currently using VB in Visual.net to communicate with the camera and can transfer files and control the camera just fine. I could just use a bit of

how to create mjpeg

混江龙づ霸主 提交于 2019-12-11 06:26:53
问题 I can't understand how to create a .mjpeg file. As far as I understand it is simply a series of jpeg files. I searched online for a way to combine them into a single file, but didn't find any information. Some people said that one just needs to create a miniserver that would show one image after another. I'm trying to use the following application, git://git.ideasonboard.org/uvc-gadget.git, to test UVC, and one of the options that it has is a path to the mjpeg file. I'm not very clear if it

Canvas tainted by cross-origin data

你说的曾经没有我的故事 提交于 2019-12-11 06:24:38
问题 I'm loading a motion jpeg from third-party site, which I can trust. I'm trying to getImageData() but the browser (Chrome 23.0) complains that: Unable to get image data from canvas because the canvas has been tainted by cross-origin data. There are some similar questions on SO, but they are using local file and I'm using third party media. My script runs on a shared server and I don't own the remote server. I tried img.crossOrigin = 'Anonymous' or img.crossOrigin = '' (see this post on the

Stream .mjpeg video view-able on both Chrome and IE11

柔情痞子 提交于 2019-12-11 04:45:48
问题 I hosted a .mjpeg file locally http://127.0.0.1/web/Images/Stream/somevideo.mjpeg I tried a few codes in my cshtml page. 1. Video tag method <video src="http://127.0.0.1/web/Images/Stream/somevideo.mjpeg" controls></video> 2. img tag method <img src="http://127.0.0.1/web/Images/Stream/somevideo.mjpeg"/> 3. motionjpeg javascript method The code below copied from here <img id="motionjpeg" src="http://127.0.0.1/web/Images/Stream/somevideo.mjpeg" /> <script> //Using jQuery for simplicity function

VLC and MJPEG Decoder streaming (invalid header)

北城以北 提交于 2019-12-11 02:16:44
问题 I`m making a WinRT application which includes video streaming. Now I ended at VLC as streaming server and MJPEGDecoder lib (http://mjpeg.codeplex.com/) on client to decode video. But after creating HTTP stream and connecting to it from client, MJPEGDecoder says that header is invalid (it expects multipart stream). VLC-to-VLC works normal. Question 1 : how can it be fixed? Question 2 : what alternatives to create video streaming for WinRT? 回答1: Just to elaborate on your question/answer a bit

mjpeg HTML5 video doesn't stream with <video>

烈酒焚心 提交于 2019-12-11 02:03:50
问题 I'm trying to display mjpeg live stream in HTML 5 With <img> tag -> no problem it shows the stream great, but, I need some events to be fired to indicate when the stream is properly displayed For example: <img src="url" /> With <video> tag -> I'm able to get those events, but I'm not able to play mjpeg stream For example: <video autoplay="autoplay" controls onerror="onError()"> <source src=url> </video> What can I do? 回答1: There is no general support for MJPEG streams in any browser beyond

Mjpeg broken on recent Mobile Safari?

╄→гoц情女王★ 提交于 2019-12-10 23:56:54
问题 I am playing with live mjpeg streams from IP cameras and found that support for mjpeg seems to be broken on recent Mobile Safari releases. I am using a simple HTML test page with an embedded image as follows: <img src="http://[ip_address]/[path]"> This works fine on an iPhone 4S with iOS 5.1, but doesn't show anything on an iPad with iOS 7.0.3. Can someone confirm this? Any known workarounds? 回答1: MJPEG support on iPhone (and on OSX also) has been often broken in the past, and I can confirm