Opened 9 years ago

Closed 9 years ago

#4677 closed defect (fixed)

jpeg2000: fix artefacts (0xff5f)

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

Description

this also seems to use 0xff5f markers:

http://www.datafilehost.com/d/0dcfadf6

some info:

https://code.google.com/p/openjpeg/issues/detail?id=80

C:\>ffmpeg -i p0_07.j2k out.bmp
ffmpeg version 2.6.git Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.6.2 (GCC)
  configuration: --disable-pthreads --enable-gpl --disable-ffprobe
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 41.100 / 56. 41.100
  libavformat    56. 37.100 / 56. 37.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 17.100 /  5. 17.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
[jpeg2000 @ 0229f680] Warning: not compiled with thread support, using thread em
ulation
[jpeg2000 @ 0229f680] EPH marker not found. instead 605D580
[jpeg2000 @ 0229f680] EPH marker not found. instead 9A36BC62
[jpeg2000 @ 0229f680] EPH marker not found. instead 1AFE7C29
[jpeg2000 @ 0229f680] EPH marker not found. instead CE2E2B9A
[jpeg2000 @ 0229f680] EPH marker not found. instead 8266C42F
[jpeg2000 @ 0229f680] EPH marker not found. instead 66C42F30
[jpeg2000 @ 0229f680] EPH marker not found. instead 136FE11D
[jpeg2000 @ 0229f680] EPH marker not found. instead 9287CB5
[jpeg2000 @ 0229f680] EPH marker not found. instead 7F44569C
[jpeg2000 @ 0229f680] EPH marker not found. instead 593C0884
[jpeg2000 @ 0229f680] EPH marker not found. instead 392AAF8D
[jpeg2000 @ 0229f680] EPH marker not found. instead CBAC42EA
[jpeg2000 @ 0229f680] EPH marker not found. instead 955B6890
[jpeg2000 @ 0229f680] EPH marker not found. instead DAD575CC
[jpeg2000 @ 0229f680] EPH marker not found. instead DBB91BD
[jpeg2000 @ 0229f680] EPH marker not found. instead 91BD9C0E
[jpeg2000 @ 0229f680] EPH marker not found. instead 9C0EF9FF
[jpeg2000 @ 0229f680] EPH marker not found. instead AA7BFD7
[jpeg2000 @ 0229f680] EPH marker not found. instead F31410CB
[jpeg2000 @ 0229f680] End mismatch 84
[jpeg2000 @ 0229f680] End mismatch 17
[jpeg2000 @ 0229f680] End mismatch 6
[jpeg2000 @ 0229f680] End mismatch 77
[jpeg2000 @ 0229f680] End mismatch 10
[jpeg2000 @ 0229f680] End mismatch 54
[jpeg2000 @ 0229f680] End mismatch 9
[jpeg2000 @ 0229f680] End mismatch 88
[jpeg2000 @ 0229f680] End mismatch 21
[jpeg2000 @ 0229f680] End mismatch 6
[j2k_pipe @ 0228e3a0] Stream #0: not enough frames to estimate rate; consider in
creasing probesize
Input #0, j2k_pipe, from 'p0_07.j2k':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: jpeg2000 (JPEG 2000 codestream restriction 1), rgb48le(1
2 bpc), 2048x2048, 25 tbr, 25 tbn, 25 tbc
[bmp @ 04822020] Warning: not compiled with thread support, using thread emulati
on
[jpeg2000 @ 05910020] Warning: not compiled with thread support, using thread em
ulation
Output #0, image2, to 'out.bmp':
  Metadata:
    encoder         : Lavf56.37.100
    Stream #0:0: Video: bmp, bgr24, 2048x2048, q=2-31, 200 kb/s, 25 fps, 25 tbn,
 25 tbc
    Metadata:
      encoder         : Lavc56.41.100 bmp
Stream mapping:
  Stream #0:0 -> #0:0 (jpeg2000 (native) -> bmp (native))
Press [q] to stop, [?] for help
[jpeg2000 @ 05910020] EPH marker not found. instead 605D580
[jpeg2000 @ 05910020] EPH marker not found. instead 9A36BC62
[jpeg2000 @ 05910020] EPH marker not found. instead 1AFE7C29
[jpeg2000 @ 05910020] EPH marker not found. instead CE2E2B9A
[jpeg2000 @ 05910020] EPH marker not found. instead 8266C42F
[jpeg2000 @ 05910020] EPH marker not found. instead 66C42F30
[jpeg2000 @ 05910020] EPH marker not found. instead 136FE11D
[jpeg2000 @ 05910020] EPH marker not found. instead 9287CB5
[jpeg2000 @ 05910020] EPH marker not found. instead 7F44569C
[jpeg2000 @ 05910020] EPH marker not found. instead 593C0884
[jpeg2000 @ 05910020] EPH marker not found. instead 392AAF8D
[jpeg2000 @ 05910020] EPH marker not found. instead CBAC42EA
[jpeg2000 @ 05910020] EPH marker not found. instead 955B6890
[jpeg2000 @ 05910020] EPH marker not found. instead DAD575CC
[jpeg2000 @ 05910020] EPH marker not found. instead DBB91BD
[jpeg2000 @ 05910020] EPH marker not found. instead 91BD9C0E
[jpeg2000 @ 05910020] EPH marker not found. instead 9C0EF9FF
[jpeg2000 @ 05910020] EPH marker not found. instead AA7BFD7
[jpeg2000 @ 05910020] EPH marker not found. instead F31410CB
[jpeg2000 @ 05910020] End mismatch 84
[jpeg2000 @ 05910020] End mismatch 17
[jpeg2000 @ 05910020] End mismatch 6
[jpeg2000 @ 05910020] End mismatch 77
[jpeg2000 @ 05910020] End mismatch 10
[jpeg2000 @ 05910020] End mismatch 54
[jpeg2000 @ 05910020] End mismatch 9
[jpeg2000 @ 05910020] End mismatch 88
[jpeg2000 @ 05910020] End mismatch 21
[jpeg2000 @ 05910020] End mismatch 6
frame=    1 fps=0.3 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:12288kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing
 overhead: unknown

Attachments (1)

prop.png (13.3 KB ) - added by ami_stuff 9 years ago.

Download all attachments as: .zip

Change History (4)

by ami_stuff, 9 years ago

Attachment: prop.png added

comment:1 by Carl Eugen Hoyos, 9 years ago

Component: undeterminedavcodec
Keywords: j2k added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

comment:2 by Carl Eugen Hoyos, 9 years ago

p0_03.j2k may have the same issue.

comment:3 by Michael Niedermayer, 9 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.