Opened 10 years ago
Closed 10 years ago
#3893 closed defect (fixed)
tiff decoder fails to decode yuv images with odd dimensions
Reported by: | jamal | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | git-master | Keywords: | tif |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
Decoding output of attached file is broken with ffmpeg git, but not with libtiff 4.0.3
$ ./ffmpeg -i yuv-3c-8b.tiff out.bmp ffmpeg version N-65869-gcc0acdb Copyright (c) 2000-2014 the FFmpeg developers built on Aug 24 2014 14:40:02 with gcc 4.9.1 (GCC) configuration: --enable-nonfree --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libfdk-aac --enable-libx264 --enable-libx265 --enable-libvpx --enable-libwebp --enable-cross-compile --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --prefix=/mingw64 libavutil 54. 7.100 / 54. 7.100 libavcodec 56. 0.101 / 56. 0.101 libavformat 56. 2.100 / 56. 2.100 libavdevice 56. 0.100 / 56. 0.100 libavfilter 5. 0.103 / 5. 0.103 libswscale 3. 0.100 / 3. 0.100 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 0.100 / 53. 0.100 Input #0, image2, from 'yuv-3c-8b.tiff': Duration: 00:00:00.04, start: 0.000000, bitrate: N/A Stream #0:0: Video: tiff, yuv420p, 157x151, 25 tbr, 25 tbn, 25 tbc Output #0, image2, to 'out.bmp': Metadata: encoder : Lavf56.2.100 Stream #0:0: Video: bmp, bgr24, 157x151, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc Metadata: encoder : Lavc56.0.101 bmp Stream mapping: Stream #0:0 -> #0:0 (tiff (native) -> bmp (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 video:70kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
out.bmp looks completely broken, whereas with libtiff
$ tiff2rgba yuv-3c-8b.tiff out.tif
out.tif looks fine.
Attachments (1)
Change History (3)
by , 10 years ago
Attachment: | yuv-3c-8b.tiff added |
---|
comment:1 by , 10 years ago
Reproduced by developer: | set |
---|---|
Status: | new → open |
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in 6beea6f017f5d0be06fa9dfdea921275586eec55