Opened 9 years ago
Closed 9 years ago
#4667 closed defect (fixed)
dds: 8.8 AL 16bpp - white screen
Reported by: | ami_stuff | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | git-master | Keywords: | dds |
Cc: | Michael Niedermayer | Blocked By: | |
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
C:\>ffmpeg -i 8_8_AL_16bpp.dds out.bmp ffmpeg version N-73117-gb23d2ba Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.0-1.fc14) configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch= x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min gw32-gcc' --enable-pthreads --enable-memalign-hack --enable-runtime-cpudetect -- enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -lw inmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapsh ots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/sna pshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 -- enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-li bvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-li bopencore-amrwb --enable-libmp3lame --enable-libfreetype --enable-libvpx --disab le-decoder=libvpx libavutil 54. 27.100 / 54. 27.100 libavcodec 56. 44.100 / 56. 44.100 libavformat 56. 38.100 / 56. 38.100 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 17.100 / 5. 17.100 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.100 / 1. 2.100 libpostproc 53. 3.100 / 53. 3.100 Input #0, image2, from '8_8_AL_16bpp.dds': Duration: 00:00:00.04, start: 0.000000, bitrate: 419455 kb/s Stream #0:0: Video: dds, ya8, 1024x768, 25 tbr, 25 tbn, 25 tbc Output #0, image2, to 'out.bmp': Metadata: encoder : Lavf56.38.100 Stream #0:0: Video: bmp, bgra, 1024x768, q=2-31, 200 kb/s, 25 fps, 25 tbn, 2 5 tbc Metadata: encoder : Lavc56.44.100 bmp Stream mapping: Stream #0:0 -> #0:0 (dds (native) -> bmp (native)) Press [q] to stop, [?] for help frame= 1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A video:3072kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Attachments (1)
Change History (16)
by , 9 years ago
Attachment: | 8_8_AL_16bpp.dds added |
---|
comment:1 by , 9 years ago
comment:3 by , 9 years ago
the AL 16bpp sample can be decoded corerctly when
else if (avctx->pix_fmt == AV_PIX_FMT_YA8) ctx->postproc = DDS_SWAP_ALPHA;
is comented out but that breaks fate_ya.dds
how can these be distiguished or is one of them faulty?
comment:4 by , 9 years ago
Reproduced by developer: | set |
---|---|
Status: | new → open |
comment:5 by , 9 years ago
Cc: | added |
---|
comment:6 by , 9 years ago
Keywords: | dds added |
---|---|
Version: | unspecified → git-master |
comment:7 by , 9 years ago
Component: | undetermined → avcodec |
---|
comment:8 by , 9 years ago
Resolution: | → needs_more_info |
---|---|
Status: | open → closed |
Looks like this is supported. Please reopen if its is not.
The image is almost fully transparent.
comment:9 by , 9 years ago
Resolution: | needs_more_info |
---|---|
Status: | closed → reopened |
The layers are mixed up afaict.
comment:10 by , 9 years ago
How did you create the file 8_8_AL_16bpp.dds? Is there an application that shows the first base?
(Is it possible that the image is broken and FFmpeg correct?)
comment:11 by , 9 years ago
The file was created with Photoshop + NVIDIA DDS plugin and decodes correctly in Photoshop + NVidia DDS plugin.
comment:15 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Original sample fixed in 139cbeb75e0f5e3176b2b09660d2570b1bcc2408
here are some unsupported modes:
http://www.datafilehost.com/d/8eabea00