[FFmpeg-trac] #723(undetermined:open): bmp: support 16bpp x4 r4 g4 b4

FFmpeg trac at avcodec.org
Thu Dec 8 21:32:56 CET 2011


#723: bmp: support 16bpp x4 r4 g4 b4
-------------------------------------+-------------------------------------
             Reporter:  ami_stuff    |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  bmp          |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:   => bmp
 * status:  new => open
 * version:  unspecified => git-master
 * reproduced:  0 => 1


Comment:

 Output looks very broken, the original file works fine with GIMP.
 {{{
 $ ffmpeg -i 16bpp_x4_r4_g4_b4.bmp out.tga
 ffmpeg version N-35569-g74436ad, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Dec  8 2011 21:29:41 with gcc 4.5.3
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
   libavutil    51. 31. 0 / 51. 31. 0
   libavcodec   53. 41. 2 / 53. 41. 2
   libavformat  53. 24. 0 / 53. 24. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 52. 0 /  2. 52. 0
   libswscale    2.  1. 0 /  2.  1. 0
 Input #0, image2, from '16bpp_x4_r4_g4_b4.bmp':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: bmp, rgb555le, 1024x768, 25 tbr, 25 tbn, 25 tbc
 [buffer @ 0x13a6ac0] w:1024 h:768 pixfmt:rgb555le tb:1/1000000 sar:0/1
 sws_param:
 Output #0, image2, to 'out.tga':
   Metadata:
     encoder         : Lavf53.24.0
     Stream #0:0: Video: targa, rgb555le, 1024x768, q=2-31, 200 kb/s, 90k
 tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (bmp -> targa)
 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:992kB audio:0kB global headers:0kB muxing overhead -100.000000%
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/723#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list