Opened 12 years ago

Closed 12 years ago

#905 closed defect (fixed)

win ico: broken output

Reported by: ami_stuff Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: ico
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

attached win icon decodes incorrectly with ffmpeg, decodes fine with windows/imagemagick/irfanview

C:\>ffmpeg -i Test.ico out.bmp
ffmpeg version N-36492-g7f83db3, Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan  5 2012 01:57:12 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. 34.100 / 51. 34.100
  libavcodec     53. 53.100 / 53. 53.100
  libavformat    53. 29.100 / 53. 29.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 57.101 /  2. 57.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  5.100 /  0.  5.100
  libpostproc    51.  2.100 / 51.  2.100
[ico @ 020E2320] Estimating duration from bitrate, this may be inaccurate
Input #0, ico, from 'Test.ico':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: bmp, pal8, 64x64, 90k tbr, 90k tbn, 90k tbc
[image2 @ 026500A0] Frame rate very high for a muxer not effciciently supporting
 it.
Please consider specifiying a lower framerate, a different muxer or -vsync 2
[buffer @ 020F1600] w:64 h:64 pixfmt:pal8 tb:1/1000000 sar:0/1 sws_param:
Output #0, image2, to 'out.bmp':
  Metadata:
    encoder         : Lavf53.29.100
    Stream #0:0: Video: bmp, pal8, 64x64, q=2-31, 200 kb/s, 90k tbn, 90k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (bmp -> bmp)
Press [q] to stop, [?] for help
frame=    1 fps=  0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=   0.0kbits/
s
video:5kB audio:0kB global headers:0kB muxing overhead -100.000000%

Attachments (1)

Test.ico (5.6 KB ) - added by ami_stuff 12 years ago.

Download all attachments as: .zip

Change History (4)

by ami_stuff, 12 years ago

Attachment: Test.ico added

comment:1 by Carl Eugen Hoyos, 12 years ago

Keywords: ico added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

comment:2 by Carl Eugen Hoyos, 12 years ago

Component: undeterminedavformat

The problem is in the demuxer afaict.

comment:3 by Carl Eugen Hoyos, 12 years ago

Resolution: fixed
Status: openclosed

Fixed by Peter Ross.

Note: See TracTickets for help on using tickets.