[FFmpeg-user] Problems playing mjpeg stream at different bitrates

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Sep 17 13:54:25 EEST 2018


2018-09-17 11:30 GMT+02:00, Fabian Kurt <fabian.kurt at tomtom-tools.com>:

> FFPlay is often not able to decode the stream. If we configure higher
> bitrates of the camera output, FFplay is more often able to decode it but
> not always. At lower bitrates <6Mbit/s it's mostly impossible to decode.
> The main error occurring is: "No JPEG data found in image".

This may not be the only problem but afaict the COM marker has a
stored length that is always longer than the whole image.
Not sure how this can be reliably detected in a mjpeg stream / FFmpeg
does read the single images if you extract them.

Do the streams really work with other players?

Carl Eugen


More information about the ffmpeg-user mailing list