Opened 8 years ago

Closed 8 years ago

#6173 closed defect (fixed)

qdrw: white line at the left side (8bpp odd width)

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

Description

C:\>ffmpeg -i C:\8bpp_odd.pct out.bmp
ffmpeg version 3.2.git Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.6.2 (GCC)
  configuration: --disable-pthreads --enable-gpl --disable-ffprobe
  libavutil      55. 47.100 / 55. 47.100
  libavcodec     57. 79.100 / 57. 79.100
  libavformat    57. 66.102 / 57. 66.102
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 73.100 /  6. 73.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[qdraw @ 0672d8a0] Warning: not compiled with thread support, using thread emula
tion
Input #0, qdraw_pipe, from 'C:\8bpp_odd.pct':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: qdraw, pal8, 999x749, 25 tbr, 25 tbn, 25 tbc
[qdraw @ 06ab8840] Warning: not compiled with thread support, using thread emula
tion
[bmp @ 06726c40] Warning: not compiled with thread support, using thread emulati
on
Output #0, image2, to 'out.bmp':
  Metadata:
    encoder         : Lavf57.66.102
    Stream #0:0: Video: bmp, pal8, 999x749, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25
 tbc
    Metadata:
      encoder         : Lavc57.79.100 bmp
Stream mapping:
  Stream #0:0 -> #0:0 (qdraw (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 speed=N/A
video:732kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing o
verhead: unknown

Attachments (4)

8bpp_odd.pct (684.8 KB ) - added by ami_stuff 8 years ago.
8bit_777.pct (565.8 KB ) - added by ami_stuff 8 years ago.
4bit_777.pct (271.2 KB ) - added by ami_stuff 8 years ago.
2bit_777.pct (68.2 KB ) - added by ami_stuff 8 years ago.

Download all attachments as: .zip

Change History (9)

by ami_stuff, 8 years ago

Attachment: 8bpp_odd.pct added

comment:1 by ami_stuff, 8 years ago

also those doesn't decode correctly - decodes ok with ps/im (maybe uses some unsupported features, I don't know):

https://samples.ffmpeg.org/image-samples/tess19.pct
https://samples.ffmpeg.org/image-samples/20071025155910162.pct

comment:2 by Carl Eugen Hoyos, 8 years ago

Component: undeterminedavcodec
Keywords: qdraw added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

Completely broken since 770ac75a

comment:3 by Carl Eugen Hoyos, 8 years ago

The original behaviour was restored by James Almer in d04e0a6b.

by ami_stuff, 8 years ago

Attachment: 8bit_777.pct added

by ami_stuff, 8 years ago

Attachment: 4bit_777.pct added

by ami_stuff, 8 years ago

Attachment: 2bit_777.pct added

comment:4 by ami_stuff, 8 years ago

similar line with odd-sized 4bbp and 2bpp (this decoded a few commits ago IIRC, but right now it doesn't)

Last edited 8 years ago by ami_stuff (previous) (diff)

comment:5 by Elon Musk, 8 years ago

Resolution: fixed
Status: openclosed

Fixed in 3a7f8d2a1f305fac97742c6aa5528c644e08e966.

2bit_777.pct is different bug

Note: See TracTickets for help on using tickets.