[FFmpeg-trac] #8930(avcodec:open): Pixel format 0x21112100 bits:8 is not implemented.

FFmpeg trac at avcodec.org
Sun Mar 21 04:35:35 EET 2021


#8930: Pixel format 0x21112100 bits:8 is not implemented.
-------------------------------------+-----------------------------------
             Reporter:  ikorolev72   |                    Owner:
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  mjpeg        |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------

Comment (by Balling):

 So this file means that:

 0x21 11 21 00

 First component is Horizontal sampling factor 2, Vertical sampling factor
 1,
 Second component is Horizontal sampling factor 1, Vertical sampling factor
 1,
 Third component is Horizontal sampling factor 2, Vertical sampling factor
 1.
 No 4th component.

 So there is no vertical sampling? But Cb is preserved? Interesting.

 From mediainfo:


 {{{
 0A3  Nf - Number of image components in frame: 3 (0x03)
 0A4  Component - 1 (0x1) - 2 (0x2) - 1 (0x1) (3 bytes)
 0A4   Ci - Component identifier:            1 (0x01)
 0A5   Hi - Horizontal sampling factor:      2 (0x2) - (4 bits)
 0A5   Vi - Vertical sampling factor:        1 (0x1) - (4 bits)
 0A6   Tqi - Quantization table destination selector: 0 (0x00)
 0A7  Component - 2 (0x2) - 1 (0x1) - 1 (0x1) (3 bytes)
 0A7   Ci - Component identifier:            2 (0x02)
 0A8   Hi - Horizontal sampling factor:      1 (0x1) - (4 bits)
 0A8   Vi - Vertical sampling factor:        1 (0x1) - (4 bits)
 0A9   Tqi - Quantization table destination selector: 1 (0x01)
 0AA  Component - 3 (0x3) - 2 (0x2) - 1 (0x1) (3 bytes)
 0AA   Ci - Component identifier:            3 (0x03)
 0AB   Hi - Horizontal sampling factor:      2 (0x2) - (4 bits)
 0AB   Vi - Vertical sampling factor:        1 (0x1) - (4 bits)
 0AC   Tqi - Quantization table destination selector: 1 (0x01)
 }}}

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


More information about the FFmpeg-trac mailing list