[FFmpeg-devel] [PATCH 10/24] avcodec/mjpegdec: replace YUVJ pixel formats

Michael Niedermayer michael at niedermayer.cc
Wed Dec 13 21:22:56 EET 2017


On Wed, Dec 13, 2017 at 11:59:26AM +0100, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavcodec/mjpegdec.c                | 18 +++++++++---------
>  libavcodec/tdsc.c                    |  2 +-
>  tests/fate/vcodec.mak                |  4 ++--
>  tests/ref/fate/api-mjpeg-codec-param |  4 ++--
>  tests/ref/fate/exif-image-embedded   |  2 +-
>  tests/ref/fate/exif-image-jpg        |  2 +-
>  6 files changed, 16 insertions(+), 16 deletions(-)

this breaks ffplay playing a mjpeg in avi

./ffmpeg -i matrixbench_mpeg2.mpg -vcodec mjpeg -t 0.5  -qscale 1 mjpeg.avi
./ffplay mjpeg.avi

the output of ffplay looks darker than it should be

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171213/a613ee1a/attachment.sig>


More information about the ffmpeg-devel mailing list