Opened 13 years ago

Closed 13 years ago

#352 closed defect (fixed)

Bink file shows color-inverted blocks

Reported by: Sven Hesse Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: bink
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Trying to play/decode the Hasbro/WotC logo found in the game Neverwinter Nights 2, several block are apparently color-inverted in the "Licensed by:" text after it finished fading in
(This does not happen when running the game's EXE)

Since upload.ffmpeg.org seems to be down, I've uploaded the file to my own server here: http://drmccoy.de/zeugs/WOTCLogo.bik
Still of the first frame with the broken behaviour: http://drmccoy.de/zeugs/WOTCLogo-031.png

Console output:

$ ffmpeg -v 9 -loglevel 99 -i WOTCLogo.bik "foo-%03d.tga"
ffmpeg version N-31502-g32aef7d, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 15 2011 19:20:28 with gcc 4.6.1
  configuration: --disable-decoder=h264_crystalhd --disable-decoder=vc1_crystalhd --disable-decoder=mpeg2_crystalhd --disable-decoder=mpeg4_crystalhd --disable-decoder=msmpeg4_crystalhd --disable-decoder=wmv3_crystalhd
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 26. 0 /  2. 26. 0
  libswscale    2.  0. 0 /  2.  0. 0
[bink @ 0x2888420] Format bink probed with size=2048 and score=100
[bink @ 0x2888420] All info found
Input #0, bink, from 'WOTCLogo.bik':
  Duration: 00:00:08.00, start: 0.000000, bitrate: 2919 kb/s
    Stream #0.0, 1, 100/2997: Video: binkvideo, yuv420p, 1280x720, 100/2997, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0.1, 1, 1/44100: Audio: binkaudio_dct, 44100 Hz, 2 channels, s16
Incompatible pixel format 'yuv420p' for codec 'targa', auto-selecting format 'bgr24'
[buffer @ 0x2890980] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 0x288c200] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0x2886f40] w:1280 h:720 fmt:yuv420p -> w:1280 h:720 fmt:bgr24 flags:0x4
Output #0, image2, to 'foo-%03d.tga':
  Metadata:
    encoder         : Lavf53.6.0
    Stream #0.0, 0, 1/90000: Video: targa, bgr24, 1280x720, 100/2997, q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
frame=  240 fps= 74 q=0.0 Lsize=      -0kB time=00:00:08.00 bitrate=  -0.0kbits/s    
video:41886kB audio:0kB global headers:0kB muxing overhead -100.000051%

Change History (1)

comment:1 by Carl Eugen Hoyos, 13 years ago

Reproduced by developer: set
Resolution: fixed
Status: newclosed

I believe this was fixed.

Note: See TracTickets for help on using tickets.