Skip to main content

Questions tagged [mjpeg]

The tag has no usage guidance.

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 ...
d33pika's user avatar
  • 1,921
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 ...
pavelkolodin's user avatar
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 ...
lpacheco's user avatar
  • 687
6 votes
2 answers
16k views

Mjpeg recording with FFMPEG preserving time information

I am recording the MJPEG video from an IP camera and saving it to a file but the problem is that file's duration is way smaller than the actual recording time. Its around 9 seconds video for 2 minutes ...
Muhammad Adeel Zahid's user avatar
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 ...
umair's user avatar
  • 41
2 votes
1 answer
4k views

ffserver ffmpeg stream mjpeg from webcam Logitech C930e to mjpeg format without re transcoding

I have premium webcam from Logitech (C930e) and this camera support mjpeg built in processing directly in the camera it self. My purpose is to get that stream with ffmpeg and pipe it to ffserver so ...
Asampaiz's user avatar
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'...
Vova Anisimov's user avatar
2 votes
0 answers
2k views

ffmpeg: convert mjpeg fifo into mp4 stream - on the fly- to render in chromium

I have a mjpeg stream in a fifo (comes from gphoto2 --capture-movie) and I want to play that stream in chromium. To capture the mjpeg stream I use: gphoto2 --capture-movie --stdout> fifo.mjpg ...
pixelbash's user avatar
2 votes
1 answer
1k views

How to make avi (MJPEG codec) by avconv for iphone?

I try to make video from pack of jpg by avconv and open it on iphone. I make avi file using MJPEG by command: avconv -r 10 -i %06d.jpg -r 10 -vcodec mjpeg -qscale 1 out.avi Eveything is ok on my PC,...
wattson's user avatar
  • 23
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 ...
ComanderKai77's user avatar
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 ...
kvk30's user avatar
  • 119
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. ...
MAXdB's user avatar
  • 31
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 !...
nponeccop's user avatar
  • 249
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 ...
576i's user avatar
  • 443
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 ...
McGuireV10's user avatar

15 30 50 per page