[Libav-user] JPEG2000 decoding
francesco at bltitalia.com
francesco at bltitalia.com
Tue Oct 20 15:16:53 CEST 2015
Hi to all
I am using libavcodec in order to decode jpeg2000 codestream. My
jpeg2000 may be in one of these three formats:
1) Single component, single layer LRCP codeing order
2) Dual component single layer LRCP
3) Three components single layer LRCP
Decoding works well for single component codestream and three components
codestream. If I attempt to decode dual component codestream the
results is: "Not yet implemented in FFmpeg, patches are welcome.
Here is the header for single component (decompression ok):
FF 4F FF 51 00 29 00 00 00 00 07 80 00 00 02 1C
00 00 00 00 00 00 00 00 00 00 07 80 00 00 02 1C
00 00 00 00 00 00 00 00 00 01 09 01 01 FF 52 00
0C 00 00 00 01 00 05 05 03 00 00 FF 5C 00 23 22
6F 18 6F 00 6F 00 6E BC 66 EA 66 EA 66 BC 5F 4C
5F 4C 5F 64 48 03 48 03 48 45 4F D2 4F D2 4F 61
FF 90 00 0A 00 00 00 00 00 00 00 01 FF 58 00 12
00 88 73 95 05 C3 38 81 A6 7E 82 D1 12 85 AC 02
FF 93
while the dual component is (decompression fails):
FF 4F FF 51 00 2C 00 00 00 00 07 80 00 00 02 1C
00 00 00 00 00 00 00 00 00 00 07 80 00 00 02 1C
00 00 00 00 00 00 00 00 00 02 09 02 01 09 02 01
FF 52 00 0C 00 00 00 01 00 05 05 03 00 00 FF 5C
00 23 22 6F 18 6F 00 6F 00 6E BC 66 EA 66 EA 66
BC 5F 4C 5F 4C 5F 64 48 03 48 03 48 45 4F D2 4F
D2 4F 61 FF 90 00 0A 00 00 00 00 00 00 00 01 FF
58 00 1B 00 83 35 83 2C 87 25 86 79 92 36 91 00
A4 40 9E 08 B2 78 AD 0D BA 7F AD 79 FF 93
Any idea ?
Francesco
/*******************************************************************\
* Ing. Francesco Cuzzocrea
* company: BLT Italia srl web: http://www.blt.it
* address: via Rosselli, 91 city: Lido di CAMAIORE
* country: ITALY zip: 55043-i
* Tel. : +39 0584 904788 Fax: +39 0584 904789
* e-mail: francesco at bltitalia.com
\*******************************************************************/
More information about the Libav-user
mailing list