Opened 15 years ago

Closed 12 years ago

#1531 closed defect (fixed)

mplayer needs better mj2k decoder

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

Description

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
/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 by compn, 15 years ago

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 YUY2,UYVY
out BGR32,BGR24,BGR15

and grab
http://samples.mplayerhq.hu/drivers32/new/M3JP2K322.dll
and put it in your codec dir

you can use this sample to test it:
http://samples.mplayerhq.hu/mov/FCP/JPEG2000.mov

comment:2 by nikiforov.al@…, 15 years ago

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).

ftp://ftp.vocord.ru/priv/jpeg2000

comment:3 by compn, 14 years ago

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 by reimar, 14 years ago

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 by compn, 14 years ago

Summary: very old codecsmplayer needs better mj2k decoder

update title

comment:6 by compn, 12 years ago

Resolution: fixed
Status: newclosed

mplayer now has ffmjpeg2k decoder.

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

Note: See TracTickets for help on using tickets.