[FFmpeg-trac] #11170(undetermined:closed): transcoding of HEIC images results in black/white image

FFmpeg trac at avcodec.org
Tue Sep 24 23:37:53 EEST 2024


#11170: transcoding of HEIC images results in black/white image
-------------------------------------+-------------------------------------
             Reporter:  markshw2222  |                    Owner:  (none)
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:  invalid
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by James):

 * status:  new => closed
 * resolution:   => invalid

Comment:

 {{{
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'IMG_4765.HEIC':
   Metadata:
     major_brand     : heic
     minor_version   : 0
     compatible_brands: mif1MiHEMiPrmiafMiHBheic
   Duration: N/A, start: 0.000000, bitrate: N/A
   Stream group #0:0[0x31]: Tile Grid: hevc (Main Still Picture) (hvc1 /
 0x31637668), yuvj420p(pc, smpte170m/smpte432/bt709), 4032x3024 (default)
   Stream #0:48[0x32]: Video: hevc (Main Still Picture) (hvc1 /
 0x31637668), yuvj420p(pc, smpte170m/smpte432/bt709), 320x240, 1 fps, 1
 tbr, 1 tbn
       Side data:
         ICC Profile
   Stream #0:49[0x33]: Video: hevc (Rext) (hvc1 / 0x31637668), gray(pc),
 2016x1512, 1 fps, 1 tbr, 1 tbn
       Side data:
         ICC Profile
 Stream mapping:
   Stream #0:49 -> #0:0 (hevc (native) -> png (native))
 Press [q] to stop, [?] for help
 Output #0, image2, to 'heic.png':
   Metadata:
     major_brand     : heic
     minor_version   : 0
     compatible_brands: mif1MiHEMiPrmiafMiHBheic
     encoder         : Lavf61.8.100
   Stream #0:0: Video: png, gray(pc, progressive), 2016x1512, q=2-31, 200
 kb/s, 1 fps, 1 tbn
       Metadata:
         encoder         : Lavc61.20.100 png
       Side data:
         ICC Profile
 }}}

 See the "Stream #0:49". By default, ffmpeg chooses the gray 2016x1512 hevc
 stream if you don't set manual maps.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11170#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list