2022 Developer Survey is open! Take survey.

Questions tagged [mjpeg]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
231 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 ...
user avatar
  • 393
0 votes
0 answers
66 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'...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
1 vote
1 answer
363 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 ...
user avatar
  • 105
0 votes
0 answers
4k 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 ...
user avatar
  • 101
0 votes
0 answers
217 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 ...
user avatar
1 vote
1 answer
505 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. ...
user avatar
  • 31
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 ...
user avatar
  • 260
0 votes
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 ...
user avatar
  • 153
1 vote
0 answers
172 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 ...
user avatar
  • 153
2 votes
0 answers
1k 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 ...
user avatar
2 votes
1 answer
3k 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 ...
user avatar
9 votes
1 answer
12k 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 ...
user avatar
  • 665
0 votes
1 answer
960 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 ...
user avatar
0 votes
1 answer
317 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 ...
user avatar
-1 votes
1 answer
142 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 ...
user avatar
  • 33
0 votes
1 answer
517 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 ...
user avatar
  • 1
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 ...
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,...
user avatar
  • 23
1 vote
1 answer
5k 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 !...
user avatar
  • 239
0 votes
1 answer
3k 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 ...
user avatar
  • 465
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 ...
user avatar
104 votes
7 answers
101k 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 ...
user avatar
  • 1,741
20 votes
2 answers
58k 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 ...
user avatar
5 votes
2 answers
15k 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 ...
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, ...
user avatar
  • 2,455
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....
user avatar
  • 103
2 votes
1 answer
7k 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 ...
user avatar
  • 41