Questions tagged [mjpeg]

Motion JPEG(MJPEG) is a class of video formats where each video frame is separately compressed as a JPEG image

MJPEG is natively supported in Firefox, Opera, Chrome, Safari. It is accessible in IE through the Chrome Frame plugin or the Axis plugin.

More information on MJPEG at MJPEG in wikipedia

492 questions
4
votes
2 answers

What are default quantization tables for RTP/MJPEG stream?

I've encountered a problem during decoding RTP/MJPEG stream from ip-camera. As rfc2435 states, quantization tables (for Q values 1 <= Q <= 99) should be calculated from these default tables: /* * Table K.1 from JPEG spec. */ static const int…
stakasha
  • 316
  • 2
  • 6
4
votes
0 answers

FFMPEG get jpeg data buffer from mjpeg stream?

I'm using FFMPEG to decode video stream from IP Camera, I have the example code that can decode video stream with any codec into YUI frames format. But my case is special, I will describe as below The IP camera stream is MJPEG, and I want using…
TTGroup
  • 3,575
  • 10
  • 47
  • 79
4
votes
1 answer

Extract JPEG from MJPEG stream and Publish base64 encoded image over websocket

I'm writing an application that proxies an mjpeg video stream. I thought it would be cool to extract each frame from the mjpeg that is pushed from the mjpeg server (the one that I am proxying from), base64 encode it and publish the frame over…
zigzackattack
  • 343
  • 5
  • 11
4
votes
0 answers

Is it possible to capture/save JPEGs from an MJPEG stream? (and also the MJPEG itself)?

I am using MJPEG-Streamer to stream an MJPEG video file over http, similar to how this guy does it. MJPEG-Streamer basically creates a streaming server on the streaming device which hosts the MJPEG video being streamed. This stream can be accessed…
giant91
  • 1,153
  • 2
  • 9
  • 18
4
votes
2 answers

Which frame does ffmpeg get when reducing the frame rate

I have some video that I would like to convert to images of frames every 2 sec. E.g. If the video is 7 seconds long at 15 fps I would like to get frames 1, 31, 61, 91. The command: ffmpeg -i foo.mp4 -r 0.5 -f image2 -vcodec mjpeg…
Peter
  • 1,155
  • 8
  • 20
4
votes
2 answers

How do I display an MJPEG stream in a Windows Form application?

I have a video stream which comes as an MJPEG over HTTP. Is there a way to display such stream in a Windows Form application? I already have a set of routines for displaying simple JPEGs from a webserver, but not continuous MJPEGs. Maybe the two…
malber
  • 1,053
  • 4
  • 16
  • 24
4
votes
2 answers

Node.js: Memory usage keeps going up

We are writing a script that reads a large set of JPG files on our server (infinite, since we have another process that keeps writing JPG files to the same directory) and send them to users' browsers as an MJPEG stream at fixed time interval…
user1673454
  • 73
  • 1
  • 7
4
votes
1 answer

How to capture an ip camera (mjpeg) stream and replay it later via commandline?

To test a software which processes ip camera streams (eg. mjpeg) I would like to capture a short sequence from an original camera and later stream this recording in loop as if it would come from an ip camera. It should be commandline based to…
Rodja
  • 7,998
  • 8
  • 48
  • 55
3
votes
1 answer

Get an error bitrate tolerance too small for bitrate when recording using opencv

I'm new to opencv and I have a problem when writing into a video file. Basically I'm reading from a HD webcam and write to an avi. The runable codes: #include "cv.h" #include "highgui.h" int main(int argc, char** argv){ CvCapture* capture=NULL; …
YankeeWhiskey
  • 1,522
  • 4
  • 20
  • 32
3
votes
1 answer

embed Video Display in SWT/RCP

How to display a video (or mjpeg) in a SWT/RCP aplication while the video must has as less as possible impact from the other UI interation? At moment I paint MJPEGs in a Canvas wihtin UI Thread, and it will lag when I did other UI interactions. Is…
rnd_nr_gen
  • 2,203
  • 3
  • 36
  • 55
3
votes
0 answers

Create movie from stream of jpeg files in Java

I am working on a software that receives an MJPEG stream from an IP camera and displays it on the screen. Now I'd like to record the stream at the same time in some movie format. I'm still quite new to Java and got a little lost in the jungle of…
3
votes
2 answers

ffmpeg mjpeg -> h.265 smeared color on output video file

I am converting some old mjpeg videos (stored in .avi container) to h.265 (.mp4 container) but am noticing the colors are smearing. Using the terminal command: ffmpeg -y -i "input-file.avi" -c:v libx265 -vtag hvc1 "output-file.mp4" I get the…
BobtheMagicMoose
  • 2,246
  • 3
  • 19
  • 27
3
votes
2 answers

How to convert rtsp stream to mjpeg (http) using ffmpeg

I wish to capture an rtsp stream and convert it to an mjpeg (over http) stream using ffmpeg. I am running Ubuntu 20. I have searched and searched for the solution, and mostly find: a) solutions requiring ffserver (deprecated) b) solutions…
SomebodySysop
  • 141
  • 1
  • 1
  • 4
3
votes
3 answers

How to get errors/warnings in [UIImage initWithData:]

i have an MJPEG stream over RTSP/UDP from which i want to generate JPEGs for a UIImageView with [UIImage initWithData:]. Most of the time this works good, but sometimes i get corrupt images and log messages like: ImageIO: JPEGCorrupt JPEG…
djk
  • 33
  • 1
  • 4
3
votes
0 answers

React + MaterialUI display JPEG stream with authentification

I want to display several JPEG video streams on my website. Currently I use the component from material-ui to display the video: This works fine unless you use…
Lau
  • 1,353
  • 7
  • 26