Ticket #1127 (closed defect: fixed)
libopenjpeg: problem with grayscale mode
| Reported by: | ami_stuff | Owned by: | |
|---|---|---|---|
| Priority: | important | Component: | avcodec |
| Version: | git-master | Keywords: | libopenjpeg regression |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
I get a tif output in which left side is filled with decoded pic and the right side is empty.
Please test if this is really a regression and not a build's fault.
C:\>ffmpeg -i gray.jp2 out.tif
ffmpeg version N-38938-ge01f478 Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 19 2012 23:16:52 with gcc 4.6.2
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
libavutil 51. 42.100 / 51. 42.100
libavcodec 54. 12.100 / 54. 12.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 65.101 / 2. 65.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, image2, from 'gray.jp2':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: j2k, gray16le, 320x200, 25 tbr, 25 tbn, 25 tbc
Incompatible pixel format 'gray16le' for codec 'tiff', auto-selecting format 'rg
b48le'
[buffer @ 021839C0] w:320 h:200 pixfmt:gray16le tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 02183C40] auto-inserting filter 'auto-inserted scale 0' between th
e filter 'src' and the filter 'out'
[scale @ 02183180] w:320 h:200 fmt:gray16le sar:0/1 -> w:320 h:200 fmt:rgb48le s
ar:0/1 flags:0x4
Output #0, image2, to 'out.tif':
Metadata:
encoder : Lavf54.2.100
Stream #0:0: Video: tiff, rgb48le, 320x200, q=2-31, 200 kb/s, 90k tbn, 25 tb
c
Stream mapping:
Stream #0:0 -> #0:0 (libopenjpeg -> tiff)
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.04 bitrate= 0.0kbits/
s
video:379kB audio:0kB global headers:0kB muxing overhead -100.000000%
Attachments
Change History
comment:1 Changed 14 months ago by cehoyos
- Status changed from new to open
- Reproduced by developer set
- Component changed from undetermined to avcodec
- Priority changed from normal to important
- Version changed from unspecified to git-master
- Keywords libopenjpeg regression added
Attachment is actually 8bit gray.
Note: See
TracTickets for help on using
tickets.



