Opened 13 years ago

Closed 13 years ago

#860 closed defect (fixed)

qt jpeg2000 regression

Reported by: ami_stuff Owned by:
Priority: important Component: undetermined
Version: git-master Keywords: libopenjpeg regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

yuv pixel formats support in openjpeg decoder + 10bit support

authorAlex Zhukov <zhukov.alex@gmail.com>
Mon, 21 Nov 2011 15:06:12 +0100 (06:06 -0800)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 24 Nov 2011 21:51:15 +0100 (21:51 +0100)

http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=eb511ef6363af8df6f842b7f5dc37fadbc15c8dd

C:\>ffmpeg -i jpeg2000.mov -vcodec msmpeg4v2 -an out.avi
ffmpeg version N-36193-gf514695, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 26 2011 17:50:37 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. 33.100 / 51. 33.100
  libavcodec     53. 48.100 / 53. 48.100
  libavformat    53. 28.100 / 53. 28.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 54.100 /  2. 54.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  5.100 /  0.  5.100
  libpostproc    51.  2.100 / 51.  2.100
[libopenjpeg @ 02645D40] unsupported pixel size 4

Seems stream 1 codec frame rate differs from container frame rate: 1000000.00 (1
000000/1) -> 23.97 (500000/20859)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'jpeg2000.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2009-11-06 22:35:38
  Duration: 00:00:12.64, start: 0.000000, bitrate: 4807 kb/s
    Stream #0:0(eng): Audio: adpcm_ima_qt (ima4 / 0x34616D69), 44100 Hz, stereo,
 s16, 352 kb/s
    Metadata:
      creation_time   : 2009-11-06 22:35:38
      handler_name    : &Procedura obs│ugi skrˇtˇw danych Apple
    Stream #0:1(eng): Video: j2k (mjp2 / 0x32706A6D), rgba, 320x240, 4430 kb/s,
23.97 fps, 23.97 tbr, 1000k tbn, 1000k tbc
    Metadata:
      creation_time   : 2009-11-06 22:35:38
      handler_name    : &Procedura obs│ugi skrˇtˇw danych Apple
Incompatible pixel format 'rgba' for codec 'msmpeg4v2', auto-selecting format 'y
uv420p'
[buffer @ 020FC4E0] w:320 h:240 pixfmt:rgba tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 020FC760] auto-inserting filter 'auto-inserted scale 0' between th
e filter 'src' and the filter 'out'
[scale @ 020FCDA0] w:320 h:240 fmt:rgba -> w:320 h:240 fmt:yuv420p flags:0x4
Output #0, avi, to 'out.avi':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2009-11-06 22:35:38
    ISFT            : Lavf53.28.100
    Stream #0:0(eng): Video: msmpeg4v2 (MP42 / 0x3234504D), yuv420p, 320x240, q=
2-31, 200 kb/s, 23.97 tbn, 23.97 tbc
    Metadata:
      creation_time   : 2009-11-06 22:35:38
      handler_name    : &Procedura obs│ugi skrˇtˇw danych Apple
Stream mapping:
  Stream #0:1 -> #0:0 (libopenjpeg -> msmpeg4v2)
Press [q] to stop, [?] for help
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
frame=    0 fps=  0 q=0.0 size=       6kB time=00:00:00.00 bitrate=   0.0kbits/s
unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
frame=    0 fps=  0 q=0.0 size=       6kB time=00:00:00.00 bitrate=   0.0kbits/s
unsupported pixel size 4
Error while decoding stream #0:1
[libopenjpeg @ 02645D40] unsupported pixel size 4
Error while decoding stream #0:1
unsupported pixel size 4
Error while decoding stream #0:1
frame=    0 fps=  0 q=0.0 Lsize=       6kB time=00:00:00.00 bitrate=   0.0kbits/
s
video:0kB audio:0kB global headers:0kB muxing overhead 1.#INF00%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters i
f used)
Received signal 2: terminating.

Change History (3)

comment:2 by Carl Eugen Hoyos, 13 years ago

Keywords: libopenjpeg regression added
Priority: normalimportant
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

comment:3 by Michael Niedermayer, 13 years ago

Resolution: fixed
Status: openclosed

Fixed by Michael Bradshaw

Note: See TracTickets for help on using tickets.