[FFmpeg-trac] #4878(avcodec:new): jpeg2000 regression

FFmpeg trac at avcodec.org
Thu Sep 24 06:49:54 CEST 2015


#4878: jpeg2000 regression
-------------------------------------+-------------------------------------
               Reporter:  cehoyos    |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  important  |              Component:  avcodec
                Version:  git-       |               Keywords:  j2k
  master                             |  regression
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 Forum user Harry_V uploaded a jpeg2000 stream that cannot be decoded with
 FFmpeg since fcd19d6c8db514b017662166d014ac8560fbe8f5 - related to ticket
 #2897. I will attach two jpeg2000 frames from the original stream: Both
 decode fine with separate FFmpeg command lines, decoding the second frame
 fails if both frames are decoded with the same command.
 {{{
 $ ffmpeg -threads 1 -start_number 883 -i 002%3d.j2c -f null -
 ffmpeg version N-75499-g7179add Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55.  2.100 / 55.  2.100
   libavcodec     57.  3.100 / 57.  3.100
   libavformat    57.  2.100 / 57.  2.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6.  8.100 /  6.  8.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.100 /  2.  0.100
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, image2, from '002%3d.j2c':
   Duration: 00:00:00.08, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: jpeg2000 (JPEG 2000 digital cinema 2K), xyz12le,
 2048x858, 25 tbr, 25 tbn, 25 tbc
 Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf57.2.100
     Stream #0:0: Video: rawvideo (XYZ[36] / 0x245A5958), xyz12le,
 2048x858, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
     Metadata:
       encoder         : Lavc57.3.100 rawvideo
 Stream mapping:
   Stream #0:0 -> #0:0 (jpeg2000 (native) -> rawvideo (native))
 Press [q] to stop, [?] for help
 [null @ 0x1d051e0] Encoder did not produce proper pts, making some up.
 [jpeg2000 @ 0x1d04160] nreslevels2decode 0 invalid or uninitialized
 Error while decoding stream #0:0: Invalid data found when processing input
 frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4878>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list