[FFmpeg-trac] #5802(avcodec:open): Conversion from JPEG-SOF3(lossless) fails

FFmpeg trac at avcodec.org
Wed Mar 24 07:57:25 EET 2021


#5802: Conversion from JPEG-SOF3(lossless) fails
--------------------------------------+-----------------------------------
             Reporter:  SteffenKnoll  |                    Owner:
                 Type:  defect        |                   Status:  open
             Priority:  normal        |                Component:  avcodec
              Version:  git-master    |               Resolution:
             Keywords:  ljpeg         |               Blocked By:
             Blocking:                |  Reproduced by developer:  1
Analyzed by developer:  0             |
--------------------------------------+-----------------------------------

Comment (by Balling):

 Very same from also with SOF3 here:
 https://github.com/MediaArea/MediaInfoLib/issues/1252


 {{{
 000002 FFC3 - SOF3 - Lossless (sequential) (Huffman) (13 bytes)
 000002  Header (4 bytes)
 000002   Marker:                               65475 (0xFFC3)
 000004   Fl - Frame header length:             11 (0x000B)
 000006  P - Sample precision:                  12 (0x0C)
 000007  Y - Number of lines:                   4664 (0x1238)
 000009  X - Number of samples per line:        3064 (0x0BF8)
 00000B  Nf - Number of image components in frame: 1 (0x01)
 00000C  Component - 1 (0x1) - 1 (0x1) - 1 (0x1) (3 bytes)
 00000C   Ci - Component identifier:            1 (0x01)
 00000D   Hi - Horizontal sampling factor:      1 (0x1) - (4 bits)
 00000D   Vi - Vertical sampling factor:        1 (0x1) - (4 bits)
 00000E   Tqi - Quantization table destination selector: 0 (0x00)
 }}}

 What is the reference decoder here? This one:
 https://github.com/thorfdbg/libjpeg ?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5802#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list