Opened 3 years ago

Closed 3 years ago

#5544 closed defect (fixed)

hevc gray decoding mostly black for >8 bit

Reported by: cehoyos Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: hevc
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

$ ffmpeg -i gray10.hevc out.tif
ffmpeg version N-79948-gd1cacbb Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --enable-libx265
  libavutil      55. 24.100 / 55. 24.100
  libavcodec     57. 41.102 / 57. 41.102
  libavformat    57. 36.100 / 57. 36.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 45.100 /  6. 45.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, hevc, from 'gray10.hevc':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: hevc (Rext), gray16le(tv), 256x256, 25 fps, 25 tbr, 1200k tbn
[image2 @ 0x3358320] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, image2, to 'out.tif':
  Metadata:
    encoder         : Lavf57.36.100
    Stream #0:0: Video: tiff, gray16le, 256x256, q=2-31, 200 kb/s, 25 fps, 25 tbn
    Metadata:
      encoder         : Lavc57.41.102 tiff
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> tiff (native))
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A speed=9.66x
video:129kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Attachments (2)

gray10.hevc (3.3 KB) - added by cehoyos 3 years ago.
gray12.hevc (3.3 KB) - added by cehoyos 3 years ago.

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by cehoyos

Changed 3 years ago by cehoyos

comment:1 Changed 3 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in edb8af6e and 0674d193

Note: See TracTickets for help on using tickets.