Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#168 closed defect (fixed)

TIFF file decodes incorrectly - 2

Reported by: ami_stuff Owned by:
Priority: normal Component: avcodec
Version: unspecified Keywords: tif roundup
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

Issue 1983

ami_stuff 	Date: 2010-06-04.13:28:43 	

Hi,

Attached TIFF file decodes incorrectly. IrfanView/ImageMagick (there is message
"unkonwn field with tag 40000 (0x9c40) encountered)") have no problem with this pic.

--------

C:\>ffmpeg -i b.tif
FFmpeg version SVN-r23465, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jun  4 2010 04:16:04 with gcc 4.4.2
  configuration: --target-os=mingw32 --enable-runtime-cpudetect --enable-avisynt
h --enable-gpl --enable-version3 --enable-bzlib --enable-libgsm --enable-libfaad
 --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libspeex --ena
ble-libmp3lame --enable-libopenjpeg --enable-libxvid --enable-libschroedinger --
enable-libx264 --extra-libs='-lx264 -lpthread' --enable-libopencore_amrwb --enab
le-libopencore_amrnb --enable-librtmp --extra-libs='-lrtmp -lssl -lcrypto -lws2_
32 -lgdi32 -lwinmm -lcrypt32 -lz' --arch=x86 --cross-prefix=i686-mingw32- --cc='
ccache i686-mingw32-gcc' --enable-memalign-hack
  libavutil     50.16. 0 / 50.16. 0
  libavcodec    52.74. 0 / 52.74. 0
  libavformat   52.67. 0 / 52.67. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.20. 0 /  1.20. 0
  libswscale     0.11. 0 /  0.11. 0
Input #0, image2, from 'b.tif':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: tiff, rgb24, 320x240, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified
Author: cehoyos 	Date: 2010-06-04.15:39:55 	

Since no warning is issued, I consider this a bug.

ffmpeg -i b.tif test.png
FFmpeg version SVN-r23439, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jun  4 2010 02:05:57 with icc 1200
  configuration: --cc=/opt/intel/compilerpro-12.0.0.025/bin/intel64/icc --cpu=core2
  libavutil     50.16. 0 / 50.16. 0
  libavcodec    52.74. 0 / 52.74. 0
  libavformat   52.67. 0 / 52.67. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.20. 0 /  1.20. 0
  libswscale     0.11. 0 /  0.11. 0
Input #0, image2, from 'b.tif':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: tiff, rgb24, 320x240, 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'test.png':
  Metadata:
    encoder         : Lavf52.67.0
    Stream #0.0: Video: png, rgb24, 320x240, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=    1 fps=  0 q=0.0 Lsize=      -0kB time=0.04 bitrate=  -4.4kbits/s
video:193kB audio:0kB global headers:0kB muxing overhead -100.011156%

Attachments (1)

b.tif (225.3 KB ) - added by ami_stuff 13 years ago.

Download all attachments as: .zip

Change History (5)

by ami_stuff, 13 years ago

Attachment: b.tif added

comment:1 by Stefano Sabatini, 13 years ago

Applied to Libav and pulled, fixed in commit:

commit 612122b187d711257eecd517e4049cef3bb0b7f0
Merge: 4ea216e 5705b02
Author: Michael Niedermayer <michaelni@gmx.at>
Date: Thu May 12 04:51:24 2011 +0200

Merge remote branch 'qatar/master'


  • qatar/master: (32 commits)

[...]

tiff: add support for inverted FillOrder for uncompressed data

[...]

comment:2 by Stefano Sabatini, 13 years ago

Analyzed by developer: set
Component: undeterminedavcodec
Reproduced by developer: set
Resolution: fixed
Status: newclosed

comment:3 by Carl Eugen Hoyos, 12 years ago

Keywords: tif added

comment:4 by Carl Eugen Hoyos, 11 years ago

Keywords: roundup added
Note: See TracTickets for help on using tickets.