[FFmpeg-trac] #3619(avcodec:open): If configured with libopenjpeg then use it as default jpeg2000 decoder
FFmpeg
trac at avcodec.org
Wed May 7 17:08:14 CEST 2014
#3619: If configured with libopenjpeg then use it as default jpeg2000 decoder
-------------------------------------+-----------------------------------
Reporter: dericed | Owner:
Type: enhancement | Status: open
Priority: wish | Component: avcodec
Version: git-master | Resolution:
Keywords: j2k | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+-----------------------------------
Comment (by dericed):
Yes the ticket is mostly about how ffmpeg selects which jpeg2000 decoder
to use, rather than the j2k decoder itself. IMO when ffmpeg is configured
with libopenjpeg it would be a better default to use libopenjpeg for
decoding (and encoding too). Within the archiving community jpeg2000 is
(for better or worse) a popular codec for preservation but using those
files in ffmpeg require the user to specify that they want the decoder
that works whereas the broken decoder is the default. Defaulting to the
j2k decoder which only works on a few pixel formats makes it very easy for
a user to cause mistakes. I've been recommending archivists use --disable-
decoder=jpeg2000 and --enable-libopenjpeg to make ffmpeg and jpeg2000 more
foolproof, but would like to see ffmpeg's defaults change when openjpeg is
available.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3619#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list