[FFmpeg-trac] #816(undetermined:new): tiff enc: gray (empty) output with pal8

FFmpeg trac at avcodec.org
Thu Dec 22 01:09:06 CET 2011


#816: tiff enc: gray (empty) output with pal8
-------------------------------------+-------------------------------------
             Reporter:  ami_stuff    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 {{{
 C:\>ffmpeg -i test.bmp -pix_fmt pal8 pal8.tif
 ffmpeg version N-35966-g1d0ae92, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Dec 19 2011 13:01:15 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. 46. 1 / 53. 46. 1
   libavformat  53. 27. 0 / 53. 27. 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
 Input #0, image2, from 'test.bmp':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: bmp, bgr24, 1024x768, 25 tbr, 25 tbn, 25 tbc
 [buffer @ 020E1480] w:1024 h:768 pixfmt:bgr24 tb:1/1000000 sar:0/1
 sws_param:
 [buffersink @ 020E1700] auto-inserting filter 'auto-inserted scale 0'
 between th
 e filter 'src' and the filter 'out'
 [scale @ 020E1B40] w:1024 h:768 fmt:bgr24 -> w:1024 h:768 fmt:pal8
 flags:0x4
 Output #0, image2, to 'pal8.tif':
   Metadata:
     encoder         : Lavf53.27.0
     Stream #0:0: Video: tiff, pal8, 1024x768, q=2-31, 200 kb/s, 90k tbn,
 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (bmp -> tiff)
 Press [q] to stop, [?] for help
 frame=    1 fps=  0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=
 0.0kbits/
 s
 video:759kB audio:0kB global headers:0kB muxing overhead -100.000000%
 }}}

 with some old ffmpeg build I get this:

 {{{
 C:\>ffmpeg -i test.bmp -pix_fmt pal8 pal8.tif
 FFmpeg version SVN-r18316, Copyright (c) 2000-2009 Fabrice Bellard, et al.
   configuration: --enable-memalign-hack --prefix=/mingw --cross-
 prefix=i686-ming
 w32- --cc=ccache-i686-mingw32-gcc --target-os=mingw32 --arch=i686
 --cpu=i686 --e
 xtra-cflags=-fno-common --enable-avisynth --enable-gpl --enable-zlib
 --enable-bz
 lib --enable-libgsm --enable-libfaac --enable-pthreads --enable-libvorbis
 --enab
 le-libmp3lame --enable-libopenjpeg --enable-libtheora --enable-libspeex
 --enable
 -libxvid --enable-libfaad --enable-libschroedinger --enable-libx264
   libavutil     50. 2. 0 / 50. 2. 0
   libavcodec    52.22. 3 / 52.22. 3
   libavformat   52.32. 0 / 52.32. 0
   libavdevice   52. 1. 0 / 52. 1. 0
   libswscale     0. 7. 1 /  0. 7. 1
   built on Apr  2 2009 16:33:19, gcc: 4.2.4
 Input #0, image2, from 'test.bmp':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0.0: Video: bmp, bgr24, 1024x768, 25 tbr, 25 tbn, 25 tbc
 swScaler: Palette is not supported as output pixel format
 Cannot get resampling context
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/816>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list