Opened 6 years ago

Closed 3 years ago

#644 closed enhancement (fixed)

Support gray16a png

Reported by: ami_stuff Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: png gray16a alpha
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

the files comes from png testsuite

no gdb log, because I would need to recompile everything again to have debug build of ffplay (40 mins. wasted :()

C:\>ffplay basi4a16.png
ffplay version N-34704-g985e768, Copyright (c) 2003-2011 the FFmpeg developers
  built on Nov 11 2011 01:49:15 with gcc 4.6.2
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3
 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzli
b --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-l
ibrtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-li
bvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-l
ibx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil    51. 24. 1 / 51. 24. 1
  libavcodec   53. 31. 0 / 53. 31. 0
  libavformat  53. 20. 0 / 53. 20. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 47. 2 /  2. 47. 2
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, image2, from 'basi4a16.png':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, gray8a, 32x32, 25 tbr, 25 tbn, 25 tbc
[buffersink @ 00A72780] auto-inserting filter 'auto-inserted scale 0' between th
e filter 'src' and the filter 'out'
[scale @ 00A72A00] w:32 h:32 fmt:gray8a -> w:32 h:32 fmt:yuv420p flags:0x4

Attachments (1)

basi4a16.png (2.8 KB) - added by ami_stuff 6 years ago.

Download all attachments as: .zip

Change History (9)

Changed 6 years ago by ami_stuff

comment:1 Changed 6 years ago by cehoyos

  • Analyzed by developer set
  • Component changed from undetermined to avcodec
  • Priority changed from normal to important
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

The sample is actually gray16a which is currently not supported by FFmpeg.

comment:2 Changed 6 years ago by cehoyos

  • Keywords png gray16a added
  • Priority changed from important to wish
  • Summary changed from ffplay crashes with png file to Support gray16a
  • Type changed from defect to enhancement

Crash should be fixed, the file can be decoded once gray16a will be supported.

comment:3 Changed 5 years ago by cehoyos

  • Keywords alpha added

comment:4 Changed 5 years ago by richardpl

  • Component changed from avcodec to swscale

comment:5 Changed 5 years ago by cehoyos

  • Component changed from swscale to avcodec

comment:6 Changed 5 years ago by richardpl

  • Component changed from avcodec to swscale

comment:7 Changed 5 years ago by cehoyos

  • Component changed from swscale to avcodec
  • Summary changed from Support gray16a to Support gray16a png

comment:8 Changed 3 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.