[FFmpeg-trac] #538(avcodec:reopened): J2K files with 444p are incorrectly written

FFmpeg trac at avcodec.org
Tue Jun 9 19:56:34 CEST 2015


#538: J2K files with 444p are incorrectly written
------------------------------------+------------------------------------
             Reporter:  cehoyos     |                    Owner:
                 Type:  defect      |                   Status:  reopened
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  j2k         |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by cehoyos):

 {{{
 $ ffmpeg -i fate-suite/lena.pnm -pix_fmt yuv444p -strict -2 out.jp2
 ffmpeg version N-72794-gdbbb31e Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration:
   libavutil      54. 27.100 / 54. 27.100
   libavcodec     56. 41.100 / 56. 41.100
   libavformat    56. 36.100 / 56. 36.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 16.101 /  5. 16.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.100 /  1.  2.100
 Input #0, image2, from 'fate-suite/lena.pnm':
   Duration: 00:00:00.04, start: 0.000000, bitrate: 39333 kb/s
     Stream #0:0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
 Output #0, image2, to 'out.jp2':
   Metadata:
     encoder         : Lavf56.36.100
     Stream #0:0: Video: jpeg2000, yuv444p, 256x256, q=2-31, 200 kb/s, 25
 fps, 25 tbn, 25 tbc
     Metadata:
       encoder         : Lavc56.41.100 jpeg2000
 Stream mapping:
   Stream #0:0 -> #0:0 (ppm (native) -> jpeg2000 (native))
 Press [q] to stop, [?] for help
 frame=    1 fps=0.0 q=-1.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
 video:76kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 }}}
 {{{
 $ ffmpeg -i out.jp2
 ffmpeg version N-72794-gdbbb31e Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration:
   libavutil      54. 27.100 / 54. 27.100
   libavcodec     56. 41.100 / 56. 41.100
   libavformat    56. 36.100 / 56. 36.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 16.101 /  5. 16.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.100 /  1.  2.100
 Input #0, j2k_pipe, from 'out.jp2':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: jpeg2000 (JPEG 2000 codestream restriction 0),
 rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
 At least one output file must be specified
 }}}
 {{{
 $ ffmpeg -i out.jp2
 ffmpeg version N-72794-gdbbb31e Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-libopenjpeg --disable-decoder=jpeg2000
   libavutil      54. 27.100 / 54. 27.100
   libavcodec     56. 41.100 / 56. 41.100
   libavformat    56. 36.100 / 56. 36.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 16.101 /  5. 16.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.100 /  1.  2.100
 Input #0, j2k_pipe, from 'out.jp2':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: jpeg2000, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
 At least one output file must be specified
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/538#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list