[FFmpeg-devel] [PATCH v2 1/2] libavcodec/jpeg2000dec.c: Add functions and modify structs for PPT marker support

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Mar 27 22:21:58 EET 2020


Am Fr., 27. März 2020 um 20:57 Uhr schrieb Gautam Ramakrishnan
<gautamramk at gmail.com>:
>
> On Sat, Mar 28, 2020 at 12:45 AM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> >
> > Am Fr., 27. März 2020 um 19:24 Uhr schrieb Gautam Ramakrishnan
> > <gautamramk at gmail.com>:
> >
> > > > > > Did you already look at the sample file I pointed out?
> > > > > Yep, am going through the sample file. I shall try to see what
> > > > > is causing those errors. However I am assuming that the errors
> > > > > could be due to other bugs in the decoder or due to some
> > > > > unimplemented features?
> > > >
> > > > Could be, I don't know, please find out.
> > > >
> > > The mxf demuxer says: error getting stream index 67174400
> > > Does this mean that the mxf demuxer is unable to read the mxf
> > > packet itself? Looking at the error thrown by the jpeg2000 decoder,
> > > looks like the jpeg2000 frame is corrupt.
> >
> > I don't think so, you can test with libopenjpeg.
> >
> I tried using libopenjpeg as the decoder. I run the command
> ./ffmpeg -c:v libopenjpeg -i ~/Downloads/jpeg2000_mxf_first_10mb.mxf
> -r 1/1 out%03d.bmp
> I get only 3 .bmp images as output.
> I get the same images compared to when I use the native decoder.

rm "-r 1/1"
It is supposed to produce 84 frames

Carl Eugen


More information about the ffmpeg-devel mailing list