Opened 9 years ago

Closed 9 years ago

#4691 closed defect (invalid)

jpeg2000 enc: wrong colors with -pix_fmt yuv444p and -format j2k

Reported by: ami_stuff Owned by:
Priority: normal Component: avcodec
Version: unspecified Keywords: j2k
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

C:\>ffmpeg -i test.bmp -strict -2 -pix_fmt yuv444p -format j2k  out.jp2
ffmpeg version 2.6.git Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.6.2 (GCC)
  configuration: --disable-pthreads --disable-ffprobe --enable-gpl
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 45.101 / 56. 45.101
  libavformat    56. 39.100 / 56. 39.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 18.100 /  5. 18.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
[bmp @ 01efc9e0] Warning: not compiled with thread support, using thread emulati
on
Input #0, bmp_pipe, from 'test.bmp':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: bmp, bgr24, 999x749, 25 tbr, 25 tbn, 25 tbc
[jpeg2000 @ 02327020] Warning: not compiled with thread support, using thread em
ulation
[bmp @ 022af7c0] Warning: not compiled with thread support, using thread emulati
on
Output #0, image2, to 'out.bmp.jp2':
  Metadata:
    encoder         : Lavf56.39.100
    Stream #0:0: Video: jpeg2000, yuv444p, 999x749, q=2-31, 200 kb/s, 25 fps, 25
 tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.45.101 jpeg2000
Stream mapping:
  Stream #0:0 -> #0:0 (bmp (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:431kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing o
verhead: unknown

Change History (1)

comment:1 by Carl Eugen Hoyos, 9 years ago

Component: undeterminedavcodec
Keywords: j2k added
Resolution: invalid
Status: newclosed

The way I understand ticket #538 and its solution this cannot be fixed: Please reopen if you believe this is wrong.

Note: See TracTickets for help on using tickets.