[FFmpeg-trac] #11343(avcodec:new): Two channel Bayer JPEG images no longer decode
FFmpeg
trac at avcodec.org
Thu Dec 12 12:27:43 EET 2024
#11343: Two channel Bayer JPEG images no longer decode
---------------------------------+---------------------------------------
Reporter: pross | Type: defect
Status: new | Priority: normal
Component: avcodec | Version: unspecified
Keywords: mjpeg | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
---------------------------------+---------------------------------------
The attached file is not playable in FFmpeg. Steps to reproduce:
{{{
% ./ffmpeg -i bayer-2ch.jpg -f null -
ffmpeg version N-118050-ga518b5540d Copyright (c) 2000-2024 the FFmpeg
developers
built with gcc 14 (Debian 14.2.0-8)
configuration: --samples=/home/user/workspace/samples --enable-gpl
libavutil 59. 49.100 / 59. 49.100
libavcodec 61. 26.100 / 61. 26.100
libavformat 61. 9.100 / 61. 9.100
libavdevice 61. 4.100 / 61. 4.100
libavfilter 10. 6.101 / 10. 6.101
libswscale 8. 12.100 / 8. 12.100
libswresample 5. 4.100 / 5. 4.100
libpostproc 58. 4.100 / 58. 4.100
[mjpeg @ 0x55f9669d4f00] Pixel format 0x11110000 bits:14 is not
implemented. Update your FFmpeg version to the newest one from Git. If the
problem still occurs, it means that your file has a feature which has not
been implemented.
[image2 @ 0x55f9669d3b80] Could not find codec parameters for stream 0
(Video: mjpeg (Lossless), none(bt470bg/unknown/unknown), 868x976,
lossless): unspecified pixel format
}}}
This used to work. Error appear to be caused by commit
a75a9e8f64ec9660b7c6e16653299f07bfe00f9d which requiring the s->bayer
flag to be set externally. When invoking the jpeg decoder from the command
line like this, the bayer flag is never set.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11343>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list