[FFmpeg-trac] #7539(undetermined:new): Errors in MXF Output File (according to IRT HDF01 specification)

FFmpeg trac at avcodec.org
Thu Nov 8 15:56:20 EET 2018


#7539: Errors in MXF Output File (according to IRT HDF01 specification)
-------------------------------------+-------------------------------------
             Reporter:  robrt        |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  mxf, irt,    |               Blocked By:
  hdf01, wrapper, errors,            |  Reproduced by developer:  0
  conformance                        |
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I have noticed a few peculiarities with MXF files that FFMPEG produces as
 output.

 Running them through a Baton Content Verification System set to test
 against the IRT’s HDF01 specifications (cf. http://mxf.irt.de) results in
 a number of errors and I’m wondering if there is something that I can do
 about them myself e.g. by adding additional parameters to the FFMPEG
 command?

 What I did first of all was to run a test-file by the IRT (which can be
 obtained from their website mentioned above) though Baton resulting in 0
 errors.

 Subsequently I ran the same file through FFMPEG without making any
 changes, i.e.

 ffmpeg –i 1001-v1_HDF01a.mxf –codec copy –map 0 output.mxf

 Running the output.mxf through Baton again produces a number of
 conformance errors, namely:
 - Container duration for essence track with track id 2 is not present. It
 should be present as per specification.
 - Index segment with index sid 2 present at offset 75200000 bytes has
 duration 252. It should be less than 240 as per specification.
 - 'ForwardIndexDirection' is absent in one or more 'Index Table Segment
 sets' with IndexSID 2. It should be present as per specification
 - 'SingleIndexLocation' is absent in one or more 'Index Table Segment
 sets' with IndexSID 2. It should be present as per specification
 - 'SingleEssenceLocation' is absent in one or more 'Index Table Segment
 sets' with IndexSID 2. It should be present as per specification
 - Index segment with index sid 2 present at offset 150790144 bytes has
 duration 252. It should be less than 240 as per specification.
 - 'Sound Essence Coding' not found in Sound essence descriptor for track
 id 3. It should be present as per specification.

 ... and basically the same errors again for sid/track id 3-10 as well.
 Also:

 - Complete index segments are not present in footer partition. They should
 be present as per specification
 - Header Metadata size is '11264 bytes' in partition at offset 0 bytes. It
 should be 'atleast 2000000 bytes' as per specification.
 - 'IsRIPPresent' element is absent. It should be present as per
 specification

 Also two MXF-Errors stating that...
 - Body Partition duration for partition number 2, BodySID 1, is
 00:00:10:080.
 - Body Partition duration for partition number 3, BodySID 1, is
 00:00:10:080.
 (Specified criteria: Report as Serious if 'Body Partition Duration' more
 than 00:00:09:600)

 I would love to provide the original file but am not sure if I may due to
 copyright concerns. Still the test file should be available for download
 on the IRT website and the output file can simply be recreated I suppose.
 However I attached ffmpeg's info about both the input an output file.

 And help or additional information on this - namely why FFMPEG produces
 all of the aforementioned errors, if they are in any way serious and if
 there is a way to fix them is greatly appreciated.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7539>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list