Latest post Thu, Apr 18 2019 2:09 PM by Rich Laws. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • Wed, Jan 2 2019 4:18 PM

    • Rich Laws
    • Not Ranked
    • Joined on Wed, Oct 17 2012
    • Posts 95
    • Points 905

    AMT2 OpenMxfFile with Interplay MAM 5.9.5.10037 created DNxHD media

    Hello,

    I thought I'd ask an "expected compatibility" question between an Avid product and SDK here before opening a case formally...  If this is NOT expected to work I will not bother opening a formal case.  Maybe someone else has encountered this and has a suggestion.  I am not sure if it would be considered an Interplay MAM issue or AMT2 issue.

    A mutual client in Albania is having problems with one of our AMT2 based products being used to add a new format to existing Interplay clips created with the Interplay MAM product.  (long standing product) 

    The issue seems limited to DNxHD media created by this product - MPEG2 (D10) clips created with same product/version are working with NO issues.  I believe it might be a metadata issue and not a codec issue.  Some descriptor items differ for the video.  Maybe AMT2 is not expected to work.  AMT3 may not be a suitable solution since it is unclear whether "avid to avid" with AMT3 is supported or not officially.

    Details: DNxHD media created with Interplay MAM 5.9.5.10037  is failing (VCID 1238  - 1920x1080p@25fps)  when the media file associated with the clip is opened by AMT2.   I have several clips from the customer as samples, all fail the same way.

    The error is "UNKNOWN AMT EXCEPTION" (error code 72) when calling OpenMxfFile with the uncompressed XML below.  Our product does not have issues with the same format/rate/raster created with AMT2 or Avid editor.

    NOTE also- that MPEG2 (VCID 160) media created at this customer with the exact same product works with NO AMT2 issues.   This is VERY repeatable with these clips.

    ftp://ftp.nltek.com/nlttemp/Avid/AMT2Issues/InterplayMAM_AMT_UnknownError.zip

    (username/pw is nlt)

    Thanks in advance for any comments or advice.

    Best,

    Rich 

     

  • Sat, Jan 5 2019 4:26 PM In reply to

    • Rich Laws
    • Not Ranked
    • Joined on Wed, Oct 17 2012
    • Posts 95
    • Points 905

    Re: AMT2 OpenMxfFile with Interplay MAM 5.9.5.10037 created DNxHD media

    Hi,

    Any advice is appreciated.

    Just some more info on this since is of some urgency for our mutual customer (A2CNN Albania).  I am not sure if this is an AMT2 (file read issue) or an Interplay MAM file create issue. I realize AMT2 is not supported much (if at all) - but maybe this is something in the created media.

    I used the AMT3 toolkit to extract essence and media asset info for two DNxHD 25fps 1920x1080p (185 8 bit - VCID 1238).  One clip is created with the AMT2 toolkit - and can be opened with no issues with the AMT2 toolkit later.   The other is created with Interplay MAM 5.9.5.10037 - made a few days ago - and is from the customer.  NOTE - other formats - IMX50 for example - created with Interplay MAM are working ok with AMt2.

    AMT2 CAN NOT open the Interplay mam (IM) created video file for decompress - OpenMxfFile fails with UNKNOWN AMT EXCEPTION" (error code 72) 

    From examining the XML info extracted - only a few metadata differences stand out, notably

       AMT2 clip has coding equations metadata, IM does not.

       AMT2 clip has reference levels and color range parameters, IM does not

       IM file has TransferCharacteristic - AMT2 does not.  

       AMT2 has tape descriptor metadata, IM clip is an import descriptor

    Bottom line is that we cannot successfully open the Interplay MAM DNxHD clip for the purpose of using AMT2 to add a new proxy format.    The issue is at the file open.  I assume that there is some metadata difference AMT2 does not like.

    I will send a copy of the extracted metadata - not sure what will help.  I also put media here earlier as well as the extracted metadata (metadata is in metadata-AMT2-cannot-open-InterplayMAM-media.zip)

    ftp://ftp.nltek.com/nlttemp/Avid/AMT2Issues/InterplayMAM_AMT_UnknownError.zip

    (username/pw is nlt)

    Thanks,

    Rich

     

     

  • Thu, Jan 17 2019 5:11 PM In reply to

    • Rich Laws
    • Not Ranked
    • Joined on Wed, Oct 17 2012
    • Posts 95
    • Points 905

    Re: AMT2 OpenMxfFile with Interplay MAM 5.9.5.10037 created DNxHD media

    Hi all,

    I apologize if this is not the correct forum for this post.

    I am following up to my own post about a legacy product using the AMT 2 toolkit with MXF media created with Interplay MAM 5.9.5.10037.   (we are in the process of moving to AMT3but still have a period where AMT2 products are in use).   

    The customer's workflow creates assets (DNxHD and XDCAM-EX 35) using Interplay MAM workflow and the MXF content crashes AMT 2 hard (unhandled exception).   The exception occurs in OpenMxfFile call on the video file.   NOTE - It seems to be limited to HD formats - IMX50 media created with the same workflow does not have an issue.

    This is easily recreated with the AMT 2.13.2 toolkit sample program with a simple call:

    AMT_DLL_sample_app mxf_to_amt videofilev01b087ab0d.mxf  "" .\Data

    Ideally - since AMT2 is essentially no longer in development - a fix to the media creation in Interplay MAM can be identified to maintain compatibility with AMT2 at least with SD and HD formats supported by AMT2.  This appears to be a metadata issue.

    Please advise and let me know if you have any questions.  I can post sample of the mxf files to our FTP area if needed.

    Right now we are considering extracting the product info from the MXF files and skipping any HD clips with media created with Interplay MAM.  I am hoping that longer term we don't have to do this if a change can be made to the media creation side.

    Thank you in advance,

    Rich Laws

  • Fri, Jan 18 2019 10:28 PM In reply to

    • Rich Laws
    • Not Ranked
    • Joined on Wed, Oct 17 2012
    • Posts 95
    • Points 905

    Re: AMT2 OpenMxfFile with Interplay MAM 5.9.5.10037 created DNxHD media

    More details on this issue...  The customer provided us with some XDCAM50 clips (25 fps interlace) created with the same process - Interplay MAM 4.9.5.10037.   These work with NO issues with AMT2 product.

    An MXF dump of the XDCAM 50 video file shows metadata that is not present in the other formats mentioned (e.g. coding equations).   Based on previous experience with EVS media and AMT2 - AMt2 doesn't default certain video descriptor metadata if it is missing.   My theory is that some elements are missing from the descriptor in the DNxHD and XDCAM-EX video files that are causing AMT2 exceptions.  In the EVS case - we patched in those missing elements to the MXF header to resolve but don't want to modify Avid media.

    Rich

  • Thu, Apr 18 2019 12:47 PM In reply to

    • Rich Laws
    • Not Ranked
    • Joined on Wed, Oct 17 2012
    • Posts 95
    • Points 905

    Re: AMT2 OpenMxfFile with Interplay MAM 5.9.5.10037 created DNxHD media

    Hi all,

    Hoping that there can be some feedback on this issue - it seems that some Avid products create MXF in some formats that can't be opened with AMT2 - latest SDK.  Not looking for AMT2 to be fixed - just to have the missing??? metadata (likely dark metadata) added that is causing this.  In this case it is XDCAM media.   

    More on this issue - another case of MXF files created by a different Avid worfkow not working with AMT2.  In this case, I have some media/clips from a client that is being created with (from the MXF ident block)

    The output below is from our own MXF toolkit dump routine.  As with the Interplay MAM DNxHD media - the "OpenMxfFile" function in AMT2 is throwing an Access Violation.    

    CompanyName Avid

    ProductName MediaCentral® | Asset Management

    ProductVersionString 6.4.2.10053

    ProductID 07 14 14 4B 0E 08 30 03 00 00 00 09 00 09 00 01 

    HeaderPartition 4

    OperationalPattern OP-Atom

    ClipName 14c415cf-cc81-40fe-b8e3-06697b56688a

    Created 2019-03-26, 18:35:27

    MasterMobID 06 0A 2B 34 01 01 01 01 01 01 0F 00 13 00 00 00 EE 23 74 BE FE 0F 4B E1 83 4A 39 50 8B 09 F6 ED 

    ClipLength 25920000

    StartTC 0

    DropFrame 0

    RoundedFPS 60

    NumberOfTracks 3

    NumberOfDescriptors 1

    Track1

    NumberOfSourceClip1 1

    SourceClip1-1 06 0A 2B 34 01 01 01 01 01 01 0F 00 13 00 00 00 AB C4 DB C6 C8 E4 00 85 F4 AE D6 AE 52 90 49 F1 

    DataDefinition1-1 80 7D 00 60 08 14 3E 6F 6F 3C 8C E1 6C EF 11 D2 

    Duration1-1 5825

    StartTime1-1 0

    Track2

    NumberOfSourceClip2 1

    SourceClip2-1 06 0A 2B 34 01 01 01 01 01 01 0F 00 13 00 00 00 F8 C4 DB C6 C8 E4 00 85 BE 06 DB 3C 87 0C 3E 99 

    DataDefinition2-1 80 7D 00 60 08 14 3E 6F 78 E1 EB E1 6C EF 11 D2 

    Duration2-1 4664660

    StartTime2-1 0

    Track3

    NumberOfSourceClip3 1

    SourceClip3-1 06 0A 2B 34 01 01 01 01 01 01 0F 00 13 00 00 00 31 C5 DB C6 C8 E4 00 85 7D A8 24 5E 0D 1C 06 B7 

    DataDefinition3-1 80 7D 00 60 08 14 3E 6F 78 E1 EB E1 6C EF 11 D2 

    Duration3-1 4664660

    StartTime3-1 0

    VideoMaterialOffset 0

    AudioMaterialOffset 0

    TrackSegment 1

    SourceClipNumber 1

    DataDefinition 80 7D 00 60 08 14 3E 6F 6F 3C 8C E1 6C EF 11 D2 

    SourceMobID 06 0A 2B 34 01 01 01 01 01 01 0F 00 13 00 00 00 AB C4 DB C6 C8 E4 00 85 F4 AE D6 AE 52 90 49 F1 

    NumberOfEssenceContainers 1

    Essence1 06 0E 2B 34 04 01 01 01 0E 04 03 01 02 03 00 00 

    EssenceElementKey 06 0E 2B 34 01 02 01 01 0D 01 03 01 15 01 06 01 

    EssenceElementLength 316708728

    EssenceDescription AvidExtendedCDCI

    SampleRateNumerator 60000

    SampleRateDenominator 1001

    ContainerDuration 5825

    AvidResolutionID 4085

    ContainerFormat 06 0E 2B 34 01 01 01 FF 4B 46 41 41 00 0D 4D 4F 

    Compression 06 0E 2B 34 04 01 01 03 04 01 02 02 01 03 03 00 

    StoredHeight 720

    StoredWidth 1280

    SampledHeight 720

    SampledWidth 1280

    SampledXOffset 0

    SampledYOffset 0

    DisplayHeight 720

    DisplayWidth 1280

    DisplayXOffset 0

    DisplayYOffset 0

    FrameLayout 0

    VideoLineMap0 26

    VideoLineMap1 0

    AspectRatioNumerator 16

    AspectRatioDenominator 9

    ImageAlignmentFactor 0

    ComponentWidth 8

    HorizontalSubsampling 2

    ColorSiting 6

    BlackReferenceLevel 16

    WhiteReferenceLevel 235

    ColorRange 225

    VerticalSubsampling 2

    DataOffset 393216

    FrameSampleSize 0

    ImageSize 0

    ImageSizeDesc 0

    CodingEquations 06 0E 2B 34 04 01 01 01 04 01 01 01 02 02 00 00 

    IndexOffsetShown 64

    OffsetToFrameIndexes 316932071

    TrailingDiscard 0

    LeadingDiscard 0

    RandomAccess 1

    StreamType 0

    MaxGOP 0

    MinGOP 1

    GOPStructure 0

    BitRate 35000000

    ProfileAndLevel 68

    MPEGVersion 2

    Looking forward to thoughts/suggestions/ideas.  Right now we have added a filter to exclude media from certain products. Rich LAws
  • Thu, Apr 18 2019 2:09 PM In reply to

    • Rich Laws
    • Not Ranked
    • Joined on Wed, Oct 17 2012
    • Posts 95
    • Points 905

    Re: AMT2 OpenMxfFile with Interplay MAM 5.9.5.10037 created DNxHD media

    Hi all,

    Looks like the mxf files have multiple ID blocks that I wasn't extracting fully with the generic dump.

    Here is the full list of ID blocks.  Looks like Media Processor created these XDCAM-EX 35 files.  AMT2 throws an access violation with them when calling OpenMxfFile.

    [ K = MXFIdentification ( 000000000001e9c7 )

    06.0e.2b.34.02.53.01.01.0d.01.01.01.01.01.30.00, L =        252 (fc) ]

      [ k = InstanceUID

      3c.0a, l =    16 (0010) ]

           0  86 6f 6a df 61 c8 4a 85 8d a1 cd 90 42 49 7e 49    .oj.a.J.....BI~I

      [ k = ThisGenerationUID

      3c.09, l =    16 (0010) ]

           0  a0 ee 07 a0 57 9e 93 89 b1 e5 79 a2 85 69 4b 32    ....W.....y..iK2

      [ k = Platform

      3c.08, l =    30 (001e) ]

           0  00 41 00 41 00 46 00 53 00 44 00 4b 00 20 00 28    .A.A.F.S.D.K. .(

          10  00 57 00 69 00 6e 00 36 00 34 00 29 00 00          .W.i.n.6.4.)..

      [ k = ToolkitVersion

      3c.07, l =    10 (000a) ]

           0  00 02 00 00 00 02 27 23 00 01                      ......'#..

      [ k = ModificationDate

      3c.06, l =     8 (0008) ]

           0  07 e3 03 1a 12 23 15 00                            .....#..

      [ k = ProductUID

      3c.05, l =    16 (0010) ]

           0  b9 c2 0e 93 3d b3 97 e6 57 09 d3 5a 66 62 4a 44    ....=...W..ZfbJD

      [ k = VersionString

      3c.04, l =    32 (0020) ]

           0  00 31 00 34 00 2e 00 32 00 2e 00 33 00 33 00 2e    .1.4...2...3.3..

          10  00 33 00 35 00 33 00 38 00 34 00 2e 00 31 00 00    .3.5.3.8.4...1..

      [ k = ProductVersion

      3c.03, l =    10 (000a) ]

           0  00 0e 00 02 00 21 8a 38 00 01                      .....!.8..

      [ k = ProductName

      3c.02, l =    30 (001e) ]

           0  00 47 00 65 00 6e 00 65 00 72 00 69 00 63 00 20    .G.e.n.e.r.i.c. 

          10  00 48 00 65 00 6c 00 70 00 65 00 72 00 00          .H.e.l.p.e.r..

      [ k = CompanyName

      3c.01, l =    44 (002c) ]

           0  00 41 00 76 00 69 00 64 00 20 00 54 00 65 00 63    .A.v.i.d. .T.e.c

          10  00 68 00 6e 00 6f 00 6c 00 6f 00 67 00 79 00 2c    .h.n.o.l.o.g.y.,

          20  00 20 00 49 00 6e 00 63 00 2e 00 00                . .I.n.c....

     

    [ K = MXFIdentification ( 000000000001eadc )

    06.0e.2b.34.02.53.01.01.0d.01.01.01.01.01.30.00, L =        252 (fc) ]

      [ k = InstanceUID

      3c.0a, l =    16 (0010) ]

           0  14 54 bd 56 73 4a 4c d8 95 5d bc a2 09 a4 ba ce    .T.VsJL..]......

      [ k = ThisGenerationUID

      3c.09, l =    16 (0010) ]

           0  ab 83 f8 95 be 53 04 dd f2 33 92 3c 98 a3 46 c3    .....S...3.<..F.

      [ k = Platform

      3c.08, l =    30 (001e) ]

           0  00 41 00 41 00 46 00 53 00 44 00 4b 00 20 00 28    .A.A.F.S.D.K. .(

          10  00 57 00 69 00 6e 00 36 00 34 00 29 00 00          .W.i.n.6.4.)..

      [ k = ToolkitVersion

      3c.07, l =    10 (000a) ]

           0  00 02 00 00 00 02 27 23 00 01                      ......'#..

      [ k = ModificationDate

      3c.06, l =     8 (0008) ]

           0  07 e3 03 1a 12 23 15 00                            .....#..

      [ k = ProductUID

      3c.05, l =    16 (0010) ]

           0  a2 76 f7 d7 53 a5 7e e8 87 a6 d4 f7 82 be 4b 5b    .v..S.~.......K[

      [ k = VersionString

      3c.04, l =    30 (001e) ]

           0  00 34 00 2e 00 34 00 2e 00 32 00 32 00 2e 00 31    .4...4...2.2...1

          10  00 30 00 30 00 34 00 34 00 2e 00 31 00 00          .0.0.4.4...1..

      [ k = ProductVersion

      3c.03, l =    10 (000a) ]

           0  00 04 00 04 00 16 27 3c 00 01                      ......'<..

      [ k = ProductName

      3c.02, l =    32 (0020) ]

           0  00 4d 00 65 00 64 00 69 00 61 00 20 00 50 00 72    .M.e.d.i.a. .P.r

          10  00 6f 00 63 00 65 00 73 00 73 00 6f 00 72 00 00    .o.c.e.s.s.o.r..

      [ k = CompanyName

      3c.01, l =    44 (002c) ]

           0  00 41 00 76 00 69 00 64 00 20 00 54 00 65 00 63    .A.v.i.d. .T.e.c

          10  00 68 00 6e 00 6f 00 6c 00 6f 00 67 00 79 00 2c    .h.n.o.l.o.g.y.,

          20  00 20 00 49 00 6e 00 63 00 2e 00 00                . .I.n.c....

     

    [ K = MXFIdentification ( 000000000001ebf1 )

    06.0e.2b.34.02.53.01.01.0d.01.01.01.01.01.30.00, L =        248 (f8) ]

      [ k = InstanceUID

      3c.0a, l =    16 (0010) ]

           0  ac 54 04 54 89 8b 46 e4 85 8f a7 4c 5d 63 19 f5    .T.T..F....L]c..

      [ k = ThisGenerationUID

      3c.09, l =    16 (0010) ]

           0  9c cd c2 7a d3 10 fe c7 fa eb 75 9f 2c 7e 43 98    ...z......u.,~C.

      [ k = Platform

      3c.08, l =    30 (001e) ]

           0  00 41 00 41 00 46 00 53 00 44 00 4b 00 20 00 28    .A.A.F.S.D.K. .(

          10  00 57 00 69 00 6e 00 36 00 34 00 29 00 00          .W.i.n.6.4.)..

      [ k = ToolkitVersion

      3c.07, l =    10 (000a) ]

           0  00 02 00 00 00 02 27 23 00 01                      ......'#..

      [ k = ModificationDate

      3c.06, l =     8 (0008) ]

           0  07 e3 03 1a 12 23 15 00                            .....#..

      [ k = ProductUID

      3c.05, l =    16 (0010) ]

           0  07 14 14 4b 0e 08 30 03 00 00 00 09 00 09 00 01    ...K..0.........

      [ k = VersionString

      3c.04, l =    24 (0018) ]

           0  00 36 00 2e 00 34 00 2e 00 32 00 2e 00 31 00 30    .6...4...2...1.0

          10  00 30 00 35 00 33 00 00                            .0.5.3..

      [ k = ProductVersion

      3c.03, l =    10 (000a) ]

           0  00 06 00 04 00 02 27 45 00 01                      ......'E..

      [ k = ProductName

      3c.02, l =    68 (0044) ]

           0  00 4d 00 65 00 64 00 69 00 61 00 43 00 65 00 6e    .M.e.d.i.a.C.e.n

          10  00 74 00 72 00 61 00 6c 00 c2 00 ae 00 20 00 7c    .t.r.a.l..... .|

          20  00 20 00 41 00 73 00 73 00 65 00 74 00 20 00 4d    . .A.s.s.e.t. .M

          30  00 61 00 6e 00 61 00 67 00 65 00 6d 00 65 00 6e    .a.n.a.g.e.m.e.n

          40  00 74 00 00                                        .t..

      [ k = CompanyName

      3c.01, l =    10 (000a) ]

           0  00 41 00 76 00 69 00 64 00 00                      .A.v.i.d..

Page 1 of 1 (6 items)

© Copyright 2011 Avid Technology, Inc.  Terms of Use |  Privacy Policy |  Site Map |  Find a Reseller