[FFmpeg-trac] #3874(avcodec:open): tiff encoder creates broken odd width yuv files

FFmpeg trac at avcodec.org
Sat Oct 18 12:46:46 CEST 2014

#3874: tiff encoder creates broken odd width yuv files
             Reporter:  ami_stuff    |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  tif tiffenc  |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by ami_stuff):

 Replying to [comment:15 kurosu]:
 > Yes, try the attached yuv.tiff generated by:
 > ffmpeg -i lena.pnm -s 323x240 lena.tiff
 > rgb2ycbcr -c none -h 4 -v 4 lena.tiff yuv.tiff
 > Gimp displays green garbages at the bottom of stripes I suspect to be a
 multiple of 4 in height. XnView shows staircases. ffmpeg decoded output is
 > > I don't know any software (other than ffmpeg) which can generate YUV
 > Please test them with the attached file or one generated following your

 I can confirm that there are visible the same artefacts like with tiff
 file generated by ffmpeg.

Ticket URL: <https://trac.ffmpeg.org/ticket/3874#comment:18>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list