[FFmpeg-trac] #416(avcodec:open): ffmpeg can't decode uncompressed self-generated TIFFs containing YUV420
FFmpeg
trac at avcodec.org
Tue Aug 23 18:28:39 CEST 2011
#416: ffmpeg can't decode uncompressed self-generated TIFFs containing YUV420
------------------------+----------------------
Reporter: takis | Owner:
Type: enhancement | Status: open
Priority: minor | Component: avcodec
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced: 1
Analyzed: 0 |
------------------------+----------------------
Changes (by cehoyos):
* status: new => open
* reproduced: 0 => 1
Comment:
out.tif looks fine with ImageMagick.
{{{
$ ./ffmpeg -i tests/lena.pnm -pix_fmt yuv420p out.tif
ffmpeg version N-32068-g88f71f3, Copyright (c) 2000-2011 the FFmpeg
developers
built on Aug 23 2011 11:28:38 with gcc 4.5.3
configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
libavutil 51. 13. 0 / 51. 13. 0
libavcodec 53. 11. 0 / 53. 11. 0
libavformat 53. 9. 0 / 53. 9. 0
libavdevice 53. 3. 0 / 53. 3. 0
libavfilter 2. 34. 2 / 2. 34. 2
libswscale 2. 0. 0 / 2. 0. 0
Input #0, image2, from 'tests/lena.pnm':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0.0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
[buffer @ 0x129e360] w:256 h:256 pixfmt:rgb24 tb:1/1000000 sar:0/1
sws_param:
[buffersink @ 0x12a0040] auto-inserting filter 'auto-inserted scaler 0'
between the filter 'src' and the filter 'out'
[scale @ 0x1298400] w:256 h:256 fmt:rgb24 -> w:256 h:256 fmt:yuv420p
flags:0x4
Output #0, image2, to 'out.tif':
Metadata:
encoder : Lavf53.9.0
Stream #0.0: Video: tiff, yuv420p, 256x256, q=2-31, 200 kb/s, 90k tbn,
25 tbc
Stream mapping:
Stream #0.0 -> #0.0: ppm -> tiff
Press [q] to stop, [?] for help
frame= 1 fps= 0 q=0.0 Lsize= -0kB time=00:00:00.04 bitrate=
-4.4kbits/s
video:97kB audio:0kB global headers:0kB muxing overhead -100.022189%
$ ./ffmpeg -i out.tif
ffmpeg version N-32068-g88f71f3, Copyright (c) 2000-2011 the FFmpeg
developers
built on Aug 23 2011 11:28:38 with gcc 4.5.3
configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
libavutil 51. 13. 0 / 51. 13. 0
libavcodec 53. 11. 0 / 53. 11. 0
libavformat 53. 9. 0 / 53. 9. 0
libavdevice 53. 3. 0 / 53. 3. 0
libavfilter 2. 34. 2 / 2. 34. 2
libswscale 2. 0. 0 / 2. 0. 0
[tiff @ 0x12a07e0] Color mode 6 is not supported
[image2 @ 0x129e420] Could not find codec parameters (Video: tiff)
out.tif: could not find codec parameters
}}}
--
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/416#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list