error from mxf samma profile
Originally reported on Google Code with ID 93
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
Reported by toanng on 2011-09-22 06:10:27
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
Reported by szukw000 on 2011-09-23 02:11:50
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
Reported by toanng on 2011-09-26 04:12:20
Now I have three addresses. But no file. Can you give me a link to
the file 41101.001.mxf ?
winfried
Reported by szukw000 on 2011-09-26 06:43:50
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
Reported by toanng on 2011-09-26 21:42:48
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
Reported by szukw000 on 2011-09-30 07:55:43
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
Reported by toanng on 2011-10-04 05:51:55
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 ?
Reported by malaterre on 2012-01-11 09:17:50
Hi Mathieu,
Any thing I can do to expedite the process for this issue ?
Thanks
T
Reported by toanng on 2012-02-15 18:19:36
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...
Reported by malaterre on 2012-05-29 15:58:33
Reported by malaterre on 2014-02-26 14:11:36
- Labels added: Priority-Low
- Labels removed: Priority-Medium
720x288 means that these are fields and height should be x2. I.e. interlaced 720x576. There are two issues about that in ffmpeg.
https://trac.ffmpeg.org/ticket/5270 https://trac.ffmpeg.org/ticket/1102