Opened 11 years ago
Closed 11 years ago
#4680 closed defect (fixed)
jpeg2000: support 32 levels
| Reported by: | ami_stuff | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avcodec |
| Version: | git-master | Keywords: | j2k |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
attached file has 32 levels (this is the max supported by jpeg2000 if I understand correctly)
I don't remeber which options I used to encode this
C:\>ffmpeg -i l32.jp2
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 @ 02297fe0] Warning: not compiled with thread support, using thread em
ulation
[jpeg2000 @ 02297fe0] nreslevels 33 is invalid
[jpeg2000 @ 02297fe0] error during processing marker segment ff52
Input #0, j2k_pipe, from 'l32.jp2':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: jpeg2000 (JPEG 2000 codestream restriction 0), rgb24, 99
9x749, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified
Attachments (2)
Change History (5)
by , 11 years ago
by , 11 years ago
follow-up: 2 comment:1 by , 11 years ago
| Component: | undetermined → avcodec |
|---|---|
| Keywords: | j2k added |
| Reproduced by developer: | set |
| Status: | new → open |
| Version: | unspecified → git-master |
comment:2 by , 11 years ago
Replying to cehoyos:
Does l31.jp2 work for you?
no, I get this:
C:\>ffmpeg -i l31.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 @ 0229f740] Warning: not compiled with thread support, using thread em
ulation
Input #0, j2k_pipe, from 'l31.jp2':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: jpeg2000 (JPEG 2000 codestream restriction 0), rgb24, 99
9x749, 25 tbr, 25 tbn, 25 tbc
File 'out.bmp' already exists. Overwrite ? [y/N] y
[bmp @ 02290600] Warning: not compiled with thread support, using thread emulati
on
[jpeg2000 @ 0229ffc0] 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, 999x749, q=2-31, 200 kb/s, 25 fps, 25 tbn, 2
5 tbc
Metadata:
encoder : Lavc56.41.100 bmp
Stream mapping:
Stream #0:0 -> #0:0 (jpeg2000 (native) -> bmp (native))
Press [q] to stop, [?] for help
Error while decoding stream #0:0: Error number -12 occurred
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!
comment:3 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | open → closed |
Note:
See TracTickets
for help on using tickets.



Does l31.jp2 work for you?