[FFmpeg-trac] #4679(undetermined:new): jpeg2000: "Block length 74 or lengthinc 256 is too large"
FFmpeg
trac at avcodec.org
Sat Jun 27 12:42:51 CEST 2015
#4679: jpeg2000: "Block length 74 or lengthinc 256 is too large"
-------------------------------------+-------------------------------------
Reporter: ami_stuff | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: | undetermined
unspecified | Keywords:
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
-------------------------------------+-------------------------------------
{{{
C:\>kdu_compress.exe -i test3.bmp -o btoolarge.jp2 Creversible
=yes Clayers=9 -rate 1.0,0.04 Stiles={711,393} Cprecincts={128,128}
Note:
The default rate control policy for colour images employs visual (CSF)
weighting factors. To minimize MSE instead, specify `-no_weights'.
Generated 84 tile-part(s) for a total of 84 tile(s).
Code-stream bytes (excluding any file format) = 2,727,642 = 0.998197
bits/pel.
Layer bit-rates (possibly inexact if tiles are divided across tile-parts):
0.039479, 0.066237, 0.102762, 0.156478, 0.215049, 0.322877,
0.572128,
0.690486, 0.998197
Layer thresholds:
44301, 43909, 43517, 43125, 42732, 42339, 41946, 41553, 40899
Processed using the multi-threaded environment, with
8 parallel threads of execution
}}}
{{{
C:\>ffmpeg -i btoolarge.jp2 out.bmp
ffmpeg version 2.6.git Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.6.2 (GCC)
configuration: --disable-pthreads --enable-gpl --disable-ffprobe
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 37.100 / 56. 37.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 17.100 / 5. 17.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
[jpeg2000 @ 0229f760] Warning: not compiled with thread support, using
thread em
ulation
[jpeg2000 @ 0229f760] Block length 74 or lengthinc 256 is too large, left
190
Input #0, j2k_pipe, from 'btoolarge.jp2':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: jpeg2000 (JPEG 2000 codestream restriction 0),
rgb24, 53
99x4049, 25 tbr, 25 tbn, 25 tbc
[bmp @ 0230eb60] Warning: not compiled with thread support, using thread
emulati
on
[jpeg2000 @ 022df020] Warning: not compiled with thread support, using
thread em
ulation
Output #0, image2, to 'out.bmp':
Metadata:
encoder : Lavf56.37.100
Stream #0:0: Video: bmp, bgr24, 5399x4049, q=2-31, 200 kb/s, 25 fps,
25 tbn,
25 tbc
Metadata:
encoder : Lavc56.41.100 bmp
Stream mapping:
Stream #0:0 -> #0:0 (jpeg2000 (native) -> bmp (native))
Press [q] to stop, [?] for help
[jpeg2000 @ 022df020] Block length 74 or lengthinc 256 is too large, left
190
Error while decoding stream #0:0: Invalid data found when processing input
frame= 0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing ove
rhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames
parameters i
f used)
Conversion failed!
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4679>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list