Opened 13 years ago
Closed 12 years ago
#741 closed enhancement (fixed)
tiff: support pixel order per channel (RRGGBB)
Reported by: | ami_stuff | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | avcodec |
Version: | git-master | Keywords: | tif |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
C:\>ffmpeg -i pixel_order_per_channel_RRGGBB.tif ffmpeg version N-35709-g7d531e8, Copyright (c) 2000-2011 the FFmpeg developers built on Dec 12 2011 13:50:00 with gcc 4.6.2 configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger - -enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable- libxvid --enable-zlib libavutil 51. 32. 0 / 51. 32. 0 libavcodec 53. 43. 0 / 53. 43. 0 libavformat 53. 24. 0 / 53. 24. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 53. 0 / 2. 53. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 [tiff @ 02625B60] Planar format is not supported [image2 @ 020C2320] Could not find codec parameters (Video: tiff) pixel_order_per_channel_RRGGBB.tif: could not find codec parameters
Attachments (1)
Change History (11)
by , 13 years ago
Attachment: | pixel_order_per_channel_RRGGBB.tif added |
---|
comment:1 by , 13 years ago
Component: | undetermined → avcodec |
---|---|
Keywords: | tif added |
Priority: | normal → wish |
Reproduced by developer: | set |
Status: | new → open |
Type: | defect → enhancement |
Version: | unspecified → git-master |
follow-up: 3 comment:2 by , 12 years ago
comment:3 by , 12 years ago
Replying to richardpl:
Could you upload other samples, hopefuly more complicated (no simple shapes) with different compressions? (packbits, deflate ..)
more samples:
comment:4 by , 12 years ago
Could you upload yuv colorspace samples that are planar too? And maybe 16 bit planar rgb too, with and without alpha.
comment:5 by , 12 years ago
As in:
$ ffmpeg -i tests/lena.pnm -pix_fmt yuv420p 420.tif $ ffmpeg -i tests/lena.pnm -pix_fmt yuv422p 422.tif $ ffmpeg -i tests/lena.pnm -pix_fmt yuv440p 440.tif $ ffmpeg -i tests/lena.pnm -pix_fmt yuv444p 444.tif $ ffmpeg -i tests/lena.pnm -pix_fmt yuv410p 410.tif $ ffmpeg -i tests/lena.pnm -pix_fmt yuv411p 411.tif
?
follow-up: 7 comment:6 by , 12 years ago
Tiff encoder writes packed yuvs only. tiffinfo reports, among others: Planar Configuration: single image plane
comment:7 by , 12 years ago
comment:8 by , 12 years ago
this:
tiffcp -c none -p separate 420.tif 420_p.tif
fails for me with error:
PackBitsDecode: Not enough data for scanline 3
comment:9 by , 12 years ago
Thanks to pointing out tiffcp.
I managed to create planar yuv444p (subsampled ones appear to be unsupported same apply to bps != 8 for rgb, probably tiffcp limitation).
So if any other program can create subsampled planar yuvs or 16 bps rgb planar files upload such samples. Thanks.
comment:10 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Implemented by Paul B Mahol in 379ad97.
Could you upload other samples, hopefuly more complicated (no simple shapes) with different compressions? (packbits, deflate ..)