Questions tagged [mjpeg]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
113 votes
9 answers
118k 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,891
22 votes
2 answers
70k 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
226 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
484 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
  • 433
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
1 vote
0 answers
3k views

Can't we do MJPEG decoding on a NVIDIA GPU with FFMPEG?

I was inspired by this post to experiment with MJPEG decoding on a Tesla K20c. I typed the following command on the command prompt: ffmpeg -hwaccel -r 10 -i 14_258.mjpeg -vcodec opencl helicopter.avi ...
a_sid's user avatar
  • 179
1 vote
0 answers
186 views

How can I determine which FFmpeg file is being used

I want to study the code for the MJPEG decoder. I am trying to do that by using running commands for the decoder and then trying to identify which file performing the task of decoding. I ran the ...
a_sid's user avatar
  • 179
1 vote
0 answers
3k views

FFMPEG capture snapshot image from RTSP IPCamera

Hi I am able to stream video successfully from my IP Camera with VLC using the URL: rtsp://192.168.0.6:554/cam/realmonitor When attempting to use FFMPEG it is failing with the following errors: I ...
NxtLevel's user avatar
1 vote
1 answer
1k views

Having trouble reading a YUV video with mplayer/mencoder

I'm making some experiences with the YUV raw video format. This YUV video I created (with ppmtoy4m from mjpegtools, from a series of screenshots taken at 24 fps) plays OK with Totem, correct rate, ...
JCCyC's user avatar
  • 2,703
0 votes
2 answers
1k views

What makes VLC and Google Chome succeed where MPlayer and OpenCV fail?

I have this MJPEG stream. When I open it with VLC or with Chrome, it works perfectly, and in both cases the stream starts instantly (or atleast within one second). However, with MPlayer, I get this ...
Christian Neverdal's user avatar
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 ...
jlanza's user avatar
  • 260
0 votes
1 answer
601 views

Video compression size s and codecs from JPEG

I am building a data logger with 3 cameras which output as jpeg frames (o.79MB/jpeg @24bit/pixel) at 24 frames per second. I want to take these images and convert it to a video. Each For the video I ...
Vinny's user avatar
  • 1
0 votes
0 answers
126 views

Identify supported video file format and convert accordingly

I have a small video advertising device that I want to change the video on. Inside it has an AK2117 multimedia chip. The documentation states it has a WMA Decoder (bit rate 32-384 Kbps, 8-48KHZ), ...
13thrune's user avatar
0 votes
0 answers
8k 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 ...
Maor Barazani's user avatar
0 votes
0 answers
416 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 ...
budgierless's user avatar
0 votes
1 answer
1k views

View port 8080 output from own computer

I'm following the tutorial here to learn how to stream video between computers. http://rtcl.kaist.ac.kr/~bkkim/lecture/designlab/DesignLab_RoboCam_Lab6_C.pdf After installing the recommended ...
wyverniv's user avatar
0 votes
1 answer
353 views

How to stream video from IP Camera Planet HM126 to a webpage

Unfortunately, I'm not able to find how I should set up this specific model of Planet IP camera to stream its video somewhere. (Is it even possible?) Finally I'd like to put that stream into my ...
creasser's user avatar
0 votes
1 answer
4k views

Extracting jpeg images from mjpeg stream on terminal

I'm trying to extract jpeg images from an mjpeg stream. I've done a search and found a few sources, but those were extracting jpeg images from a mjpeg file, such as this one here. In my case, I don't ...
Andrew's user avatar
  • 505
0 votes
1 answer
2k views

Record mjpeg with ffmpeg

I want to record a mjpeg stream via ffmpeg, but as the framerate of the mjpeg is very unreliable the result video is at first to fast and the speed changes. The source i used to test is: http://c-cam....
Johni's user avatar
  • 103
-1 votes
1 answer
182 views

Convert .mp4 video file for playback on camcorder

I have a .mp4 file with MPEG4 for video and MP3 for audio that I need to convert to make my camcorder (a cheap one I got off eBay) play it back, but the only problem is that it doesn't accept anything ...
Sanr's user avatar
  • 33