[FFmpeg-trac] #1178(avcodec:reopened): tiff enc: visible green dots with odd width and -pix_fmt yuv410p
FFmpeg
trac at avcodec.org
Fri Dec 11 14:13:21 CET 2015
#1178: tiff enc: visible green dots with odd width and -pix_fmt yuv410p
------------------------------------+------------------------------------
Reporter: ami_stuff | Owner:
Type: defect | Status: reopened
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: tif | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Changes (by khali):
* cc: jdelvare@… (added)
Comment:
I am seeing a similar issue. The following command generates a file with
some green in the bottom right hand side corner, instead of the expected
white:
{{{
% ffmpeg -f lavfi -i "color=color=white:size=20x20" -frames:v 1 -vf
"format=yuv410p" -f image2 20x20_yuv410p.tiff
}}}
Note that 20 isn't odd, it's even a multiple of 4, which should be
yuv410p-friendly. The bug also shows up for 18x18, 19x19 and 21x21, but
not 17x17 nor 22x22. It doesn't show up when writing to JPEG instead of
TIFF. It doesn't show up with format=yuv411p.
The green spot shows up with eog, evince, gimp and "display". When opening
the suspect TIFF files with evince, gimp or "display", they complain with:
"discarding 8 bytes to avoid buffer overrun." I suppose that the discarded
bytes are creating the corruption.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/1178#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list