[FFmpeg-devel] Error while using libopenjpeg

Michael Niedermayer michael at niedermayer.cc
Sun Jun 7 22:54:59 EEST 2020


On Sun, Jun 07, 2020 at 10:36:38PM +0530, Gautam Ramakrishnan wrote:
> Hi,
> 
> I am trying to decode the p1_03.j2k reference file. However, while
> trying to use libopenjpeg instead of the native decoder, I get the
> following error,
> [libopenjpeg @ 0x55f249d7e180] Unable to determine pixel format.
> The exact command run was:
> ffmpeg  -vcodec libopenjpeg -i p1_03.j2k  -f framecrc p13
> However this does not happen with all files. For example,
> p0_01.j2k decodes properly. How could I decode p1_o3.j2k with libopenjpeg?

try opj_decompress

also if it works for you (it seems here but i do not know if the output
is correct of course) then you can try to fix ffmpeg + libopenjpeg if
you like

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Never trust a computer, one day, it may think you are the virus. -- Compn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200607/84bb6338/attachment.sig>


More information about the ffmpeg-devel mailing list