Opened 7 years ago

Last modified 7 years ago

#6172 open enhancement

qdrw: support 1bpp

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

Description

C:\>ffmpeg -i C:\mono.pct
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 @ 0672d740] Warning: not compiled with thread support, using thread emula
tion
[qdraw @ 0672d740] QuickDraw version 1 is not implemented. Update your FFmpeg ve
rsion to the newest one from Git. If the problem still occurs, it means that you
r file has a feature which has not been implemented.
[qdraw @ 0672d740] If you want to help, upload a sample of this file to ftp://up
load.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-dev
el@ffmpeg.org)
[image2 @ 06723ba0] decoding for stream 0 failed
[image2 @ 06723ba0] Could not find codec parameters for stream 0 (Video: qdraw,
none, 1024x768): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, image2, from 'C:\mono.pct':
  Duration: 00:00:00.04, start: 0.000000, bitrate: 19891 kb/s
    Stream #0:0: Video: qdraw, none, 1024x768, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified

Attachments (3)

mono.pct (97.1 KB ) - added by ami_stuff 7 years ago.
1bit_777.pct (77.2 KB ) - added by ami_stuff 7 years ago.
lead_1bit.pct (57.0 KB ) - added by ami_stuff 7 years ago.

Download all attachments as: .zip

Change History (7)

by ami_stuff, 7 years ago

Attachment: mono.pct added

comment:1 by Carl Eugen Hoyos, 7 years ago

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

by ami_stuff, 7 years ago

Attachment: 1bit_777.pct added

comment:2 by Elon Musk, 7 years ago

Could you create version 2 file?

by ami_stuff, 7 years ago

Attachment: lead_1bit.pct added

comment:3 by ami_stuff, 7 years ago

attached what lead created

comment:4 by ami_stuff, 7 years ago

this should be able to decode v1 files:

http://www.paintlib.de/paintlib/

Note: See TracTickets for help on using tickets.