Opened 12 years ago

Closed 12 years ago

#1518 closed defect (wontfix)

Add support for corepng png1 files

Reported by: Carl Eugen Hoyos Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: png1
Cc: onemda@gmail.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: yes

Description

The sample in fate/png1/corepng-partial.avi decodes visually incorrect.
Some information is at http://wiki.multimedia.cx/index.php?title=CorePNG

$ ./ffmpeg -i fate-suite/png1/corepng-partial.avi
ffmpeg version N-42365-g36b2bd9 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul  9 2012 14:02:18 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs
  libavutil      51. 64.100 / 51. 64.100
  libavcodec     54. 33.100 / 54. 33.100
  libavformat    54. 15.102 / 54. 15.102
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  1.100 /  3.  1.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Guessed Channel Layout for  Input Stream #0.1 : mono
Input #0, avi, from 'fate-suite/png1/corepng-partial.avi':
  Duration: 00:00:02.20, start: 0.000000, bitrate: 7626 kb/s
    Stream #0:0: Video: png (PNG1 / 0x31474E50), rgb24, 320x240, 15 tbr, 15 tbn, 15 tbc
    Stream #0:1: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 11025 Hz, mono, u8, 88 kb/s
At least one output file must be specified

Change History (1)

comment:1 by Elon Musk, 12 years ago

Analyzed by developer: set
Cc: onemda@gmail.com added
Resolution: wontfix
Status: newclosed

The fate sample is badly truncated, full sample from http://samples.ffmpeg.org/V-codecs/PNG1/corepng.avi decodes just fine.

There is nothing wrong in avcodec to fix, really.

Note: See TracTickets for help on using tickets.