noobdoesre / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

error from mxf samma profile #93

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. got mxf jpeg2000 from samma

bash-3.00# /opt/ffmpeg/0.8/bin/ffprobe -i 41101.001.mxf
ffprobe version 0.8.2.git, Copyright (c) 2007-2011 the FFmpeg developers
  built on Sep 17 2011 00:38:14 with gcc 4.5.3
  configuration: --enable-shared --enable-gpl --enable-nonfree --enable-libopenjpeg --enable-libmp3lame --enable-libfreetype --enable-libfaac --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-gray
  libavutil    51. 16. 0 / 51. 16. 0
  libavcodec   53. 15. 0 / 53. 15. 0
  libavformat  53. 12. 0 / 53. 12. 0
  libavdevice  53.  3. 3 / 53.  3. 3
  libavfilter   2. 43. 0 /  2. 43. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[mxf @ 806f140] error getting stream index 67174400
[mxf @ 806f140] parser not found for codec j2k, packets or times may be invalid.
[libopenjpeg @ 8073280] Error decoding codestream.
[mxf @ 806f140] error getting stream index 67174400
[libopenjpeg @ 8073280] Only first component will be used.
.............
[mxf @ 806f140] Estimating duration from bitrate, this may be inaccurate
Input #0, mxf, from '41101.001.mxf':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: j2k, gray, 720x288, 50 fps, 50 tbr, 50 tbn, 50 tbc
    Stream #0.1: Audio: pcm_s24le, 48000 Hz, 4 channels, s32, 4608 kb/s

Original issue reported on code.google.com by toa...@gmail.com on 22 Sep 2011 at 6:10

GoogleCodeExporter commented 9 years ago
I hope you are really interested.

'got mxf jpeg2000 from samma': I do not know 'samma'. 

I suppose you do not mean "Samma Mamma sommakomm", kind of "say mom shall com".

Where did you find the '41101.001.mxf' file?

winfried

Original comment by szukw...@arcor.de on 23 Sep 2011 at 2:11

GoogleCodeExporter commented 9 years ago
I thought no one manage this issues page. :)
It is mxf wrap from front porch digital http://www.fpdigital.com/
http://www.digitalpreservation.gov/formats/fdd/fdd000271.shtml

I google the error, and see someone report the same error
https://roundup.libav.org/issue2309

Thanks much for checking
T

Original comment by toa...@gmail.com on 26 Sep 2011 at 4:12

GoogleCodeExporter commented 9 years ago
Now I have three addresses. But no file. Can you give me a link to
the file 41101.001.mxf ?

winfried

Original comment by szukw...@arcor.de on 26 Sep 2011 at 6:43

GoogleCodeExporter commented 9 years ago
thanks so much for looking into this.

here is the file: https://vhi-portal.usc.edu/41101.001.mxf   ~1GB
smallest file I can get.

I am using ffmpeg 0.8, libopenjpeg 1.4

> ffmpeg -version         
ffmpeg version 0.8.2.git, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep 17 2011 00:38:14 with gcc 4.5.3
  configuration: --enable-shared --enable-gpl --enable-nonfree --enable-libopenjpeg --enable-libmp3lame --enable-libfreetype --enable-libfaac --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-gray
  libavutil    51. 16. 0 / 51. 16. 0
  libavcodec   53. 15. 0 / 53. 15. 0
  libavformat  53. 12. 0 / 53. 12. 0
  libavdevice  53.  3. 3 / 53.  3. 3
  libavfilter   2. 43. 0 /  2. 43. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
ffmpeg 0.8.2.git
libavutil    51. 16. 0 / 51. 16. 0
libavcodec   53. 15. 0 / 53. 15. 0
libavformat  53. 12. 0 / 53. 12. 0
libavdevice  53.  3. 3 / 53.  3. 3
libavfilter   2. 43. 0 /  2. 43. 0
libswscale    2.  1. 0 /  2.  1. 0
libpostproc  51.  2. 0 / 51.  2. 0

> ffprobe -i 41101.001.mxf
ffprobe version 0.8.2.git, Copyright (c) 2007-2011 the FFmpeg developers
  built on Sep 17 2011 00:38:14 with gcc 4.5.3
  configuration: --enable-shared --enable-gpl --enable-nonfree --enable-libopenjpeg --enable-libmp3lame --enable-libfreetype --enable-libfaac --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-gray
  libavutil    51. 16. 0 / 51. 16. 0
  libavcodec   53. 15. 0 / 53. 15. 0
  libavformat  53. 12. 0 / 53. 12. 0
  libavdevice  53.  3. 3 / 53.  3. 3
  libavfilter   2. 43. 0 /  2. 43. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[mxf @ 806f140] error getting stream index 67174400
[mxf @ 806f140] parser not found for codec j2k, packets or times may be invalid.
[libopenjpeg @ 8073280] Only first component will be used.
[mxf @ 806f140] error getting stream index 67174400
.....
[mxf @ 806f140] error getting stream index 67174400
[mxf @ 806f140] Estimating duration from bitrate, this may be inaccurate
Input #0, mxf, from '41101.001.mxf':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: j2k, gray, 720x243, 59.94 fps, 59.94 tbr, 59.94 tbn, 59.94 tbc
    Stream #0.1: Audio: pcm_s24le, 48000 Hz, 4 channels, s32, 4608 kb/s

Original comment by toa...@gmail.com on 26 Sep 2011 at 9:42

GoogleCodeExporter commented 9 years ago
libopenjpeg seems to work fairly good.

Either the MXF decoder of FFMPEG has problems; or the MXF
file is buggy.

I use ffmpeg-0.8.2.

ffprobe -i 41101.001.mxf
========================
[mxf @ 0x8057340] error getting stream index 67174400
[libopenjpeg @ 0x805a9c0] Only first component will be used.
[mxf @ 0x8057340] error getting stream index 67174400
...
[mxf @ 0x8057340] error getting stream index 67174400
[mxf @ 0x8057340] Estimating duration from bitrate, this may be inaccurate
Input #0, mxf, from '41101.001.mxf':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: libopenjpeg, gray, 720x243, 59.94 fps, 59.94 tbr, 59.94 tbn, 59.94 tbc
    Stream #0.1: Audio: pcm_s24le, 48000 Hz, 4 channels, s32, 4608 kb/s

ffplay 41101.001.mxf
====================
[mxf @ 0x809c420] error getting stream index 67174400
[libopenjpeg @ 0x809ec80] Only first component will be used.
[mxf @ 0x809c420] error getting stream index 67174400
    Last message repeated 149 times
[mxf @ 0x809c420] Estimating duration from bitrate, this may be inaccurate
Input #0, mxf, from '41101.001.mxf':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: libopenjpeg, gray, 720x243, 59.94 fps, 59.94 tbr, 59.94 tbn, 59.94 tbc
    Stream #0.1: Audio: pcm_s24le, 48000 Hz, 4 channels, s32, 4608 kb/s
[buffersink @ 0x809e6c0] auto-inserting filter 'auto-inserted scaler 0' between 
the filter 'src' and the filter 'out'
[scale @ 0x809e7c0] w:720 h:243 fmt:gray -> w:720 h:243 fmt:yuv420p flags:0x4
[libopenjpeg @ 0x809ec80] Only first component will be used.
    Last message repeated 77 times
...

Setting mouse clicks I can see several (distorted) family photos.

winfried

Original comment by szukw...@arcor.de on 30 Sep 2011 at 7:55

GoogleCodeExporter commented 9 years ago
our mxf files come off  from front porch digital hardware device, 
the device can decode mxf to other file formats.

any suggestion to get this fix ?

Thanks

Original comment by toa...@gmail.com on 4 Oct 2011 at 5:51

GoogleCodeExporter commented 9 years ago
I cannot get this file anymore.

$ wget https://vhi-portal.usc.edu/41101.001.mxf
--2012-01-11 10:17:12--  https://vhi-portal.usc.edu/41101.001.mxf
Resolving vhi-portal.usc.edu... 68.181.200.123
Connecting to vhi-portal.usc.edu|68.181.200.123|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2012-01-11 10:17:13 ERROR 403: Forbidden.

Can we close this issue ?

Original comment by mathieu.malaterre on 11 Jan 2012 at 9:17

GoogleCodeExporter commented 9 years ago
The file is available now.
Thanks for checking.

-T

Original comment by toa...@gmail.com on 13 Jan 2012 at 10:40

GoogleCodeExporter commented 9 years ago
Hi Mathieu,

  Any thing I can do to expedite the process for this issue ?

Thanks
T

Original comment by toa...@gmail.com on 15 Feb 2012 at 6:19

GoogleCodeExporter commented 9 years ago
It would be nice if you could extract directly one or two buggy J2K frames. I 
do not know how to split this mxf into J2K/JP2 file...

Original comment by mathieu.malaterre on 29 May 2012 at 3:58

GoogleCodeExporter commented 9 years ago
Sorry I don't have any tools to split it.

Thanks

Original comment by toa...@gmail.com on 31 May 2012 at 6:36

GoogleCodeExporter commented 9 years ago

Original comment by mathieu.malaterre on 26 Feb 2014 at 2:11