Skip to main content

Questions tagged [mjpeg]

The tag has no usage guidance.

0 votes
0 answers
41 views

Green screen on RTSP stream from USB camera using mediamtx (ffmpeg)

I need to cast a stream from a USB camera via RTSP as stable as possible (at any moment i need to be able to get a static picture on a remote host, reflecting the real state of affairs in front of the ...
113 votes
9 answers
120k views

Meaningful thumbnails for a Video using FFmpeg

FFmpeg can capture images from videos that can be used as thumbnails to represent the video. Most common ways of doing that are captured in the FFmpeg Wiki. But, I don't want to pick random frames at ...
2 votes
1 answer
242 views

ffmpeg mjpeg pixel_format does not work with avfoundation

I'm capturing a video using a webcam that supports streaming its output as mjpeg. So far I've been doing it successfully on linux as follows: ffmpeg -pixel_format mjpeg -i /dev/video4 ... However, I'...
2 votes
2 answers
8k views

Why does encoding a video using the MJPEG codec take longer than MPEG-4?

I am testing the encoding performance (MPEG-4 and MJPEG) of a smart camera. I have written an application in OpenCV/FFMPEG for performing encoding, where the application captures images from the ...
1 vote
0 answers
4k views

Using FFPMEG, create a MJPEG stream from a file to simulate a webcam

I'd like to use ffmpeg to simulate a network webcam. These usually give out an MJPEG feed that plays in a browser. I want to create a stream like this locally as a test case for a software I plan to ...
23 votes
2 answers
71k views

ffmpeg open webcam using YUYV but i want MJPEG

I need ffmpeg to open webcam (Logitech C910) in MJPEG mode, because the webcam can give ~24 fps using the MJPEG "protocol" and only ~10 fps using the YUYV. Can I choose between them using ...
1 vote
1 answer
2k views

MJPEG stream from webcam not working

I have 5 HD Webcams (Creative Live Cam Sync 1080p) and want to stream the pictures with https://github.com/jacksonliam/mjpg-streamer on Debian Buster 4.19.0-11-amd64. All of them support MJPG, as you ...
1 vote
1 answer
3k views

Pipe ffmpeg h.264 output to VLC to serve MJPEG stream

Issue I want to stream raw RGB24 frames to ffmpeg stdin, and pipe h.264 from ffmpeg into VLC, which then serves an HTTP MJPEG stream on some arbitrary port. I can get results with either program ...
1 vote
1 answer
537 views

Text highlight in image

I have articles of newspaper in png format, want to highlight these images similar to pdf text, is there any possible tool or method to do it? I have syncronized this images in my desktop to cloud ...
0 votes
0 answers
9k views

Ffmpeg - How to force MJPEG output of whole frames?

I'm working with ffmpeg to process an incoming MPEGTS stream from remote cameras, and deliver it to multiple clients using my app. Technically, I'm using ffmpeg to convert the incoming stream to an ...
10 votes
1 answer
14k views

What is the best way to losslessly compress MJPEG to MP4?

I have a few digital camera movies recorded in MJPEG that are taking a few GB of storage space. I would like to better compress them, but losing as little detail as possible, or none. Since MJPEG ...
0 votes
1 answer
2k views

Firefox 57 not supporting MJPEG

I'm using MJPEG to easily stream data from my dev mobile phone to my browser. The app I'm using is ScreenStream Using Firefox 57 I get an error that MJPEG is not supported by the browser. Opening the ...
0 votes
0 answers
427 views

Problems using ffmpeg to make thumbnails

I have a tube script that I used for years to upload video to my website which worked until I moved to another server with newer updated program features. I've had a few issues with it that I have ...
1 vote
1 answer
6k views

Fixing an unmuxed image/jpeg stream from webcam using gstreamer

I made a broken footage using the following pipeline: gst-launch-1.0 v4l2src ! filesink location=encode.mjpeg Somehow gstreamer can still play it back: gst-launch-1.0 filesrc location=encode.mjpeg !...
1 vote
1 answer
1k views

Is it possible to rescale and/or adjust the colorspace of an IP cam stream to improve MJPEG picture quality?

Using an IP cam, grabbing the h264 stream the picture looks fine. Want to use the MJPEG stream, but the image is washed out, lack of contrast, blacks show as dark gray and whites show as light gray. ...

15 30 50 per page