Page 1 of 1

VLC doesn't play qt mjp2 [M-jpeg2000] video

Posted: 29 Nov 2015 16:14
by aitte
UPDATE:
I just tried VLC 3.0.0 nightly build - and there it works :D

________________________________________

That's the file:
http://dropbox.com/s/dnvumu9lip2djm9/vi ... 3.mov?dl=1 60MB
Codec: JPEG 2000 Image (mjp2)
Audio: PCM S16 BE
Constainer: Apple Quicktime mov

I used latest VLC 2.2.1.
Encoder used was something "BLT JP2K 01 Aug 2010" but don't know exactly

MPlayer sherpya-r37451+g531b0a3-4.9.2 (C) 2000-2015 MPlayer Team is able to play the file

Code: Select all

libavcodec version 56.58.100 (internal) Selected video codec: [fflibopenjpeg] vfm: ffmpeg (OpenJPEG MJPEG2000)
While some other version of it fails:
MPlayer Redxii-SVN-r37448-4.9.3 (x86_64) (C) 2000-2015 MPlayer Team

Code: Select all

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 56.57.100 (internal) VDecoder init failed :( Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffjpeg2000] vfm: ffmpeg (FFmpeg JPEG 2000 digital cinema) Cannot find codec 'libopenjpeg' in libavcodec...
Okay anyway here is a logdump of VLC 2.2.1:

Code: Select all

core debug: processing request item: vi20151119_195043.mov, node: Wiedergabeliste, skip: 0 core debug: resyncing on vi20151119_195043.mov core debug: vi20151119_195043.mov is at 0 core debug: starting playback of the new playlist item core debug: resyncing on vi20151119_195043.mov core debug: vi20151119_195043.mov is at 0 core debug: creating new input thread core debug: Creating an input for 'vi20151119_195043.mov' core debug: requesting art for vi20151119_195043.mov core debug: using timeshift granularity of 50 MiB, in path 'C:\Users\STEPHA~1.LOC\AppData\Local\Temp' core debug: `file:///C:/test/vi20151119_195043.mov' gives access `file' demux `' path `/C:/test/vi20151119_195043.mov' core debug: specified demux `any' core debug: creating demux: access='file' demux='any' location='/C:/test/vi20151119_195043.mov' file='c:\test\vi20151119_195043.mov' core debug: looking for access_demux module matching "file": 12 candidates core debug: no access_demux modules matched core debug: creating access 'file' location='/C:/test/vi20151119_195043.mov', path='c:\test\vi20151119_195043.mov' core debug: looking for access module matching "file": 21 candidates filesystem debug: opening file `c:\test\vi20151119_195043.mov' core debug: using access module "filesystem" core debug: Using stream method for AStream* core debug: starting pre-buffering core debug: received first data after 0 ms core debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s core debug: looking for stream_filter module matching "any": 6 candidates core debug: no stream_filter modules matched core debug: looking for stream_filter module matching "record": 6 candidates core debug: using stream_filter module "record" core debug: creating demux: access='file' demux='any' location='/C:/test/vi20151119_195043.mov' file='c:\test\vi20151119_195043.mov' core debug: looking for demux module matching "mp4": 66 candidates mp4 warning: unknown box type hdlr (incompletely loaded) mp4 warning: unknown box type alis (incompletely loaded) mp4 warning: unknown box type fiel (incompletely loaded) core debug: looking for meta fetcher module matching "any": 1 candidates mp4 warning: unknown box type hdlr (incompletely loaded) mp4 warning: unknown box type alis (incompletely loaded) mp4 debug: added fragment moov mp4 debug: dumping root Box "root" mp4 debug: | + ftyp size 20 offset 0 mp4 debug: | + mdat size 819208 offset 20 mp4 debug: | + mdat size 819208 offset 819228 mp4 debug: | + mdat size 819208 offset 1638436 mp4 debug: | + mdat size 819208 offset 2457644 mp4 debug: | + mdat size 819208 offset 3276852 mp4 debug: | + mdat size 819208 offset 4096060 mp4 debug: | + mdat size 819208 offset 4915268 mp4 debug: | + mdat size 819208 offset 5734476 mp4 debug: | + mdat size 819208 offset 6553684 mp4 debug: | + mdat size 819208 offset 7372892 mp4 debug: | + mdat size 819208 offset 8192100 mp4 debug: | + mdat size 819208 offset 9011308 mp4 debug: | + mdat size 819208 offset 9830516 mp4 debug: | + mdat size 819208 offset 10649724 mp4 debug: | + mdat size 819208 offset 11468932 mp4 debug: | + mdat size 819208 offset 12288140 mp4 debug: | + mdat size 819208 offset 13107348 mp4 debug: | + mdat size 819208 offset 13926556 mp4 debug: | + mdat size 819208 offset 14745764 mp4 debug: | + mdat size 819208 offset 15564972 mp4 debug: | + mdat size 819208 offset 16384180 mp4 debug: | + mdat size 819208 offset 17203388 mp4 debug: | + mdat size 819208 offset 18022596 mp4 debug: | + mdat size 819208 offset 18841804 mp4 debug: | + mdat size 819208 offset 19661012 mp4 debug: | + mdat size 819208 offset 20480220 mp4 debug: | + mdat size 819208 offset 21299428 mp4 debug: | + mdat size 819208 offset 22118636 mp4 debug: | + mdat size 819208 offset 22937844 mp4 debug: | + mdat size 819208 offset 23757052 mp4 debug: | + mdat size 819208 offset 24576260 mp4 debug: | + mdat size 819208 offset 25395468 mp4 debug: | + mdat size 819208 offset 26214676 mp4 debug: | + mdat size 819208 offset 27033884 mp4 debug: | + mdat size 819208 offset 27853092 mp4 debug: | + mdat size 819208 offset 28672300 mp4 debug: | + mdat size 819208 offset 29491508 mp4 debug: | + mdat size 819208 offset 30310716 mp4 debug: | + mdat size 819208 offset 31129924 mp4 debug: | + mdat size 819208 offset 31949132 mp4 debug: | + mdat size 819208 offset 32768340 mp4 debug: | + mdat size 819208 offset 33587548 mp4 debug: | + mdat size 819208 offset 34406756 mp4 debug: | + mdat size 819208 offset 35225964 core debug: no meta fetcher modules matched mp4 debug: | + mdat size 819208 offset 36045172 core debug: searching art for vi20151119_195043.mov mp4 debug: | + mdat size 819208 offset 36864380 mp4 debug: | + mdat size 819208 offset 37683588 mp4 debug: | + mdat size 819208 offset 38502796 core debug: looking for art finder module matching "any": 2 candidates mp4 debug: | + mdat size 819208 offset 39322004 mp4 debug: | + mdat size 819208 offset 40141212 mp4 debug: | + mdat size 819208 offset 40960420 mp4 debug: | + mdat size 819208 offset 41779628 mp4 debug: | + mdat size 819208 offset 42598836 mp4 debug: | + mdat size 819208 offset 43418044 mp4 debug: | + mdat size 819208 offset 44237252 mp4 debug: | + mdat size 819208 offset 45056460 mp4 debug: | + mdat size 819208 offset 45875668 mp4 debug: | + mdat size 819208 offset 46694876 mp4 debug: | + mdat size 819208 offset 47514084 mp4 debug: | + mdat size 819208 offset 48333292 mp4 debug: | + mdat size 819208 offset 49152500 mp4 debug: | + mdat size 819208 offset 49971708 mp4 debug: | + mdat size 819208 offset 50790916 mp4 debug: | + mdat size 819208 offset 51610124 mp4 debug: | + mdat size 819208 offset 52429332 mp4 debug: | + mdat size 819208 offset 53248540 mp4 debug: | + mdat size 819208 offset 54067748 mp4 debug: | + mdat size 819208 offset 54886956 mp4 debug: | + mdat size 819208 offset 55706164 mp4 debug: | + mdat size 819208 offset 56525372 mp4 debug: | + mdat size 819208 offset 57344580 mp4 debug: | + mdat size 819208 offset 58163788 mp4 debug: | + mdat size 819208 offset 58982996 mp4 debug: | + mdat size 819208 offset 59802204 mp4 debug: | + mdat size 819208 offset 60621412 mp4 debug: | + mdat size 819208 offset 61440620 mp4 debug: | + mdat size 819208 offset 62259828 mp4 debug: | + moov size 24279 offset 63079036 mp4 debug: | | + mvhd size 108 offset 63079044 qt4 debug: IM: Setting an input mp4 debug: | | + trak size 15964 offset 63079152 mp4 debug: | | | + tkhd size 92 offset 63079160 mp4 debug: | | | + edts size 36 offset 63079252 mp4 debug: | | | | + elst size 28 offset 63079260 mp4 debug: | | | + mdia size 15828 offset 63079288 mp4 debug: | | | | + mdhd size 32 offset 63079296 mp4 debug: | | | | + hdlr size 58 offset 63079328 mp4 debug: | | | | + minf size 15730 offset 63079386 mp4 debug: | | | | | + vmhd size 20 offset 63079394 mp4 debug: | | | | | + hdlr size 58 offset 63079414 mp4 debug: | | | | | + dinf size 36 offset 63079472 mp4 debug: | | | | | | + dref size 28 offset 63079480 mp4 debug: | | | | | | | + alis size 12 offset 63079496 mp4 debug: | | | | | + stbl size 15608 offset 63079508 mp4 debug: | | | | | | + stsd size 112 offset 63079516 mp4 debug: | | | | | | | + mjp2 size 96 offset 63079532 mp4 debug: | | | | | | | | + fiel size 10 offset 63079618 mp4 debug: | | | | | | + stts size 24 offset 63079628 mp4 debug: | | | | | | + stsc size 28 offset 63079652 mp4 debug: | | | | | | + stsz size 7720 offset 63079680 mp4 debug: | | | | | | + stco size 7716 offset 63087400 mp4 debug: | | + trak size 8199 offset 63095116 mp4 debug: | | | + tkhd size 92 offset 63095124 mp4 debug: | | | + edts size 36 offset 63095216 mp4 debug: | | | | + elst size 28 offset 63095224 mp4 debug: | | | + mdia size 8063 offset 63095252 mp4 debug: | | | | + mdhd size 32 offset 63095260 mp4 debug: | | | | + hdlr size 58 offset 63095292 mp4 debug: | | | | + minf size 7965 offset 63095350 mp4 debug: | | | | | + smhd size 16 offset 63095358 mp4 debug: | | | | | + hdlr size 57 offset 63095374 mp4 debug: | | | | | + dinf size 36 offset 63095431 mp4 debug: | | | | | | + dref size 28 offset 63095439 mp4 debug: | | | | | | | + alis size 12 offset 63095455 mp4 debug: | | | | | + stbl size 7848 offset 63095467 mp4 debug: | | | | | | + stsd size 52 offset 63095475 mp4 debug: | | | | | | | + twos size 36 offset 63095491 core debug: no art finder modules matched core debug: art not found for vi20151119_195043.mov mp4 debug: | | | | | | + stts size 24 offset 63095527 mp4 debug: | | | | | | + stsc size 28 offset 63095551 mp4 debug: | | | | | | + stsz size 20 offset 63095579 mp4 debug: | | | | | | + stco size 7716 offset 63095599 mp4 debug: Apple QuickTime file mp4 debug: found 2 tracks mp4 warning: elst box found mp4 debug: - [0] duration=77000ms media time=0ms) rate=1.0 mp4 debug: track[Id 0x1] read 1925 chunk mp4 warning: STTS table of 1 entries mp4 debug: track[Id 0x1] read 1925 samples length:77s mp4 debug: Unrecognized FourCC mjp2 core debug: selecting program id=0 mp4 debug: adding track[Id 0x1] video (enable) language eng mp4 warning: elst box found mp4 debug: - [0] duration=77000ms media time=0ms) rate=1.0 mp4 debug: track[Id 0x2] read 1925 chunk mp4 warning: STTS table of 1 entries mp4 debug: track[Id 0x2] read 23100000 samples length:77s mp4 debug: Unrecognized FourCC twos mp4 debug: adding track[Id 0x2] audio (enable) language eng mp4 debug: fragment offset 63079036, data 2863077476, duration 0 core debug: using demux module "mp4" core debug: looking for a subtitle file in c:\test\ core debug: looking for decoder module matching "any": 43 candidates avcodec debug: CPU flags: 0x010053db avcodec debug: direct rendering is disabled avcodec debug: allowing 4 thread(s) for decoding avcodec debug: avcodec codec (JPEG 2000 Image) started avcodec debug: using frame thread mode with 4 threads core debug: using decoder module "avcodec" core debug: looking for decoder module matching "any": 43 candidates araw debug: samplerate:12000Hz channels:2 bits/sample:16 core debug: using decoder module "araw" core debug: looking for meta reader module matching "any": 2 candidates core debug: no meta reader modules matched core debug: `file:///C:/test/vi20151119_195043.mov' successfully opened mp4 debug: elst (0) gives 0ms (movie)-> 0ms (track) mp4 debug: track[Id 0x1] does not provide Sync Sample Box (stss) mp4 debug: elst (0) gives 0ms (movie)-> 0ms (track) mp4 debug: track[Id 0x2] does not provide Sync Sample Box (stss) core debug: Buffering 0% core debug: reusing audio output core debug: Buffering 0% directsound debug: Opening DirectSound Audio Output core debug: Buffering 13% core debug: Buffering 13% core debug: Buffering 26% ... core debug: Buffering 93% core debug: Stream buffering done (320 ms in 0 ms) avcodec warning: cannot decode one frame (29568 bytes) avcodec warning: cannot decode one frame (29560 bytes) avcodec warning: cannot decode one frame (29560 bytes) avcodec warning: cannot decode one frame (29552 bytes) avcodec warning: cannot decode one frame (29552 bytes) directsound debug: Windows speaker config: Stereo and stream has 2 channels, using 2 channels core debug: output 'f32l' 12000 Hz Stereo frame=1 samples/8 bytes core debug: looking for audio volume module matching "any": 2 candidates core debug: using audio volume module "float_mixer" core debug: input 's16l' 12000 Hz Stereo frame=1 samples/4 bytes core debug: looking for audio filter module matching "scaletempo": 14 candidates scaletempo debug: format: 12000 rate, 2 nch, 4 bps, fl32 scaletempo debug: params: 30 stride, 0.200 overlap, 14 search scaletempo debug: 1.000 scale, 360.000 stride_in, 360 stride_out, 288 standing, 72 overlap, 168 search, 600 queue, fl32 mode core debug: using audio filter module "scaletempo" core debug: conversion: 's16l'->'f32l' 12000 Hz->12000 Hz Stereo->Stereo core debug: looking for audio converter module matching "any": 12 candidates audio_format debug: s16l->f32l, bits per sample: 16->32 core debug: using audio converter module "audio_format" core debug: conversion pipeline complete core debug: conversion: 'f32l'->'f32l' 12000 Hz->12000 Hz Stereo->Stereo core debug: conversion pipeline complete core debug: looking for audio resampler module matching "any": 3 candidates core debug: using audio resampler module "samplerate" core debug: End of audio preroll core debug: Decoder wait done in 22 ms avcodec warning: cannot decode one frame (29552 bytes) avcodec warning: cannot decode one frame (29552 bytes) avcodec warning: cannot decode one frame (29552 bytes) avcodec warning: cannot decode one frame (29568 bytes) avcodec warning: cannot decode one frame (29568 bytes) avcodec warning: cannot decode one frame (29584 bytes) ...