[FFmpeg-devel] [PATCH]Mark experimental j2k decoder as experimental if libopenjpeg is available

Michael Niedermayer michaelni at gmx.at
Fri Jul 11 04:48:28 CEST 2014


On Fri, Jun 20, 2014 at 12:01:12AM +0200, Carl Eugen Hoyos wrote:
> On Thursday 19 June 2014 01:32:58 am Michael Niedermayer wrote:
> > On Wed, Jun 18, 2014 at 07:02:59PM -0400, Dave Rice wrote:
> > > Hi all,
> > >
> > > On May 7, 2014, at 6:41 AM, Carl Eugen Hoyos wrote:
> > > > Nicolas George <george <at> nsup.org> writes:
> > > >>> I thought this would anger both users and downstream
> > > >>> (who paid for the removal of EXPERIMENTAL iirc) and I
> > > >>> intended to keep the profile low for this controversy.
> > > >>
> > > >> Well, this ticket obviously shows that the removal of
> > > >> EXPERIMENTAL was premature.
> > > >
> > > > Sorry, I assumed this was well known for all developers.
> > > > (See also the large number of tickets opened
> > > > immediately after the removal.)
> > >
> > > ping
> >
> > the patch breaks fate
> 
> New patch attached that compiles (!) and passes fate.
> 
> Please comment, Carl Eugen

>  libavcodec/jpeg2000dec.c |    5 ++++-
>  tests/fate/vcodec.mak    |    4 ++--
>  tests/fate/video.mak     |    2 +-
>  3 files changed, 7 insertions(+), 4 deletions(-)

it seems libopenjpeg is not able to decode the files generated with
libopenjpeg.
That is with the libopenjpeg from ubuntu 12.04 (1.3+dfsg-4+squeeze2build0.12.04.1)
but ubuntu 14.04 ships a variant of 1.3 too

test done with:
./ffmpeg -threads 1 -i matrixbench_mpeg2.mpg -vframes 1 -vcodec libopenjpeg -format j2k test.j2k
./ffplay -vcodec libopenjpeg test.j2k



[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The bravest are surely those who have the clearest vision
of what is before them, glory and danger alike, and yet
notwithstanding go out to meet it. -- Thucydides
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140711/0a57b8bb/attachment.asc>


More information about the ffmpeg-devel mailing list