Opened 11 years ago

Closed 9 years ago

#1531 closed defect (fixed)

mplayer needs better mj2k decoder

Reported by:… Owned by: reimar
Priority: normal Component: core
Version: 1.0rc2 Severity: normal
Keywords: Cc: compn
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:


Sorry, i don't know exactly which component i must use in this bug report. You add into win32codecs pack too old m3jp2k32.dll. On videos with jp2k fields with your dll mplayer show only half of a image. We just compare your version and our. Here the result

nika linux # ls -lah /usr/lib/win32/m3jp2k32.dll
-rw-r--r-- 1 root root 413K Aug 3 12:48 /usr/lib/win32/m3jp2k32.dll
nika linux # ls /tmp/m3jp2k32.dll
nika linux # ls -lsh /tmp/m3jp2k32.dll
672K -rw-r--r-- 1 nika nika 666K Aug 3 15:36 /tmp/m3jp2k32.dll

Can you update this dll file??? I can give to you sample video or screenshots for check.

Here is details:

nika conf.d # equery list mplayer
[ Searching for package 'mplayer' in all categories among: ]

  • installed packages

[I--] [ ] media-video/mplayer-1.0_rc2_p20090322 (0)
nika conf.d # equery list win32codecs
[ Searching for package 'win32codecs' in all categories among: ]

  • installed packages

[I--] [ ] media-libs/win32codecs-20071007-r4 (0)
nika conf.d #

Thank you.

Change History (6)

comment:1 Changed 11 years ago by compn

i cant test the m3jpeg2k codec, can you please test and report back?
add this to codecs.conf:

videocodec m3jpeg2knew

info "Morgan MJPEG2000"
status working
fourcc MJ2C
fourcc MJP2,mjp2
driver vfw
dll "m3jp2k322.dll"
out YV12,I420,IYUV
out BGR32,BGR24,BGR15

and grab
and put it in your codec dir

you can use this sample to test it:

comment:2 Changed 11 years ago by…

I've tested dll from your link and it doesn't work.

I tested our MJ2C and mjp2 videos. With your dll neither MJ2C nor mjp2 worked. With our DLL MJ2C worked but mjp2 didn't work. Either files worked under Windows with Morgan codec.

BTW your video don't work with our and with yours DLL.

Link for all logs and MJ2C video and mjp2 also I attached mjp2 video from openjpeg(it's not working too).

comment:3 Changed 10 years ago by compn

  • Cc patriotact@… added

i'm having trouble locating a suitable jpeg2000 decoder.
if you know of any , let us know.

ffmpeg has an incomplete jp2000 decoder in its /soc/ repo. not sure how much more work it needs tho.

comment:4 Changed 10 years ago by reimar

Hmm? Both MPlayer and FFmpeg support jpeg2k via openjpeg.
However it has a few issues, it only decodes as gray (saying "Only first component will be used.") and also some other errors.
In principle, fixing these issues probably would be a better approach than trying to get the binary codecs to work, though it might be more difficult as well.

comment:5 Changed 10 years ago by compn

  • Summary changed from very old codecs to mplayer needs better mj2k decoder

update title

comment:6 Changed 9 years ago by compn

  • Resolution set to fixed
  • Status changed from new to closed

mplayer now has ffmjpeg2k decoder.

if it has problems please report them to ffmpeg bug tracker.

Note: See TracTickets for help on using tickets.