AAF file not working

2008-07-14
2013-04-29
  • Random_Access
    Random_Access
    2008-07-14

    I used the examples (ExportAudio.cpp and ExportDV.cpp) of the AAF_SDK ver 1.1.2
    But when i try to open the output files in the explorer, the windows explorer gets restarted. Also the file does not open on any softwares that support AAF.
    Can anybody help ?

     
    • Can you dump the AAF files with the InfoDumper application?

       
    • Random_Access
      Random_Access
      2008-07-15

      I ran the InfoDumper application, giving the input as ExportDV.AAF
      Below is the dump:

      Dump of file: ExportDV.aaf

      Summary Information:
      File has 2 mobs
      File has 1 EssenceData objects

      Header:

      : 18761
      : Jul 15, 2008 5:16:33.00 GMT
      : { 1, 1 }
      : Strong Object Reference Array [1] of
        [0]:

         Object of Class: Identification
         : ""
         : ""
         : { 1, 0, 0, 0,  }
         : ""
         : { 0x00000000, 0x0000, 0x0000, { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 } }
         : Jul 15, 2008 5:16:06.00 GMT
         : { 1, 1, 2, 0,  }
         : ""
         : { 0x1a6ccf6a, 0x9862, 0x4676, { 0x90, 0x60, 0xea, 0x7d, 0xa, 0xae, 0xc1, 0x
      cb } }

      : 1
      : { 0x0d010201, 0x1000, 0x0000, { 0x6, 0xe, 0x2b, 0x34, 0x4, 0x1, 0x1, 0x1 } }
      : Set[1] of
      [0]: { 0x4313b571, 0xd8ba, 0x11d2, { 0x80, 0x9b, 0x0, 0x60, 0x8, 0x14, 0x3e, 0x
      6f } }
      Mobs:

      Object of Class: MasterMob
      : { {0x6,0xa,0x2b,0x34,0x1,0x1,0x1,0x1,0x1,0x1,0xf,0x0}0x13, 0x0, 0x0, 0x0, { 0x
      487c3298, 0xf836, 0x000e, { 0x6, 0xe, 0x2b, 0x34, 0x7f, 0x7f, 0x2a, 0x80 } } }
      : ""
      : Strong Object Reference Array [1] of
        [0]:

         Object of Class: TimelineMobSlot
         : 1
         : ""
         :

           Object of Class: SourceClip
           :
           : 2180
           : { {0x6,0xa,0x2b,0x34,0x1,0x1,0x1,0x1,0x1,0x1,0xf,0x0}0x13, 0x0, 0x0, 0x0,
      { 0x487c329d, 0x0ae4, 0x000f, { 0x6, 0xe, 0x2b, 0x34, 0x7f, 0x7f, 0x2a, 0x80 }
      } }
           : 1
           : 0

         : { 30000/1001 }
         : 0

      : Jul 15, 2008 5:16:08.00 GMT
      : Jul 15, 2008 5:16:08.00 GMT

      Object of Class: SourceMob
      : { {0x6,0xa,0x2b,0x34,0x1,0x1,0x1,0x1,0x1,0x1,0xf,0x0}0x13, 0x0, 0x0, 0x0, { 0x
      487c329d, 0x0ae4, 0x000f, { 0x6, 0xe, 0x2b, 0x34, 0x7f, 0x7f, 0x2a, 0x80 } } }
      : Strong Object Reference Array [1] of
        [0]:

         Object of Class: TimelineMobSlot
         : 1
         : ""
         :

           Object of Class: SourceClip
           :
           : 2180
           : { {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}0x0, 0x0, 0x0, 0x0, {
      0x00000000, 0x0000, 0x0000, { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 } } }
           : 0
           : 0

         : 1
         : { 30000/1001 }
         : 0

      : Jul 15, 2008 5:16:13.00 GMT
      : Jul 15, 2008 5:16:13.00 GMT
      :

        Object of Class: CDCIDescriptor
        : { 30000/1001 }
        : 2180
        :
        :
        : { 0x04010202, 0x0201, 0x0100, { 0x6, 0xe, 0x2b, 0x34, 0x4, 0x1, 0x1, 0x1 } }

        : 240
        : 720
        : 0
        : 0
        : 0
        : 0
        : 0
        : 0
        : 0
        : 0
        :
        :    [0]: 0   [1]: 1
        : { 4/3 }
        :
        : 0
        :
        : 0
        : 0
        : 8
        : 1
        :
        : 0
        : 255
        : 255
        : 0
        : 1

      EssenceData:

      Object of Class: EssenceData
      : { {0x6,0xa,0x2b,0x34,0x1,0x1,0x1,0x1,0x1,0x1,0xf,0x0}0x13, 0x0, 0x0, 0x0, { 0x
      487c329d, 0x0ae4, 0x000f, { 0x6, 0xe, 0x2b, 0x34, 0x7f, 0x7f, 0x2a, 0x80 } } }
      : {/* size: 261600000 bytes */
      Showing only first 79 bytes
      /*       0 */ 0x52, 0x49, 0x46, 0x46, 0x28, 0xce, 0x97, 0x0f, 0x41, 0x56, 0x49,
      0x20, 0x4c, 0x49, 0x53, 0x54, /*RIFF(...AVI LIST*/
      /*      16 */ 0x30, 0x82, 0x00, 0x00, 0x68, 0x64, 0x72, 0x6c, 0x61, 0x76, 0x69,
      0x68, 0x38, 0x00, 0x00, 0x00, /*0...hdrlavih8...*/
      /*      32 */ 0x40, 0x9c, 0x00, 0x00, 0x00, 0xec, 0x36, 0x00, 0x00, 0x00, 0x00,
      0x00, 0x10, 0x00, 0x00, 0x00, /*@.....6.........*/
      /*      48 */ 0xbc, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00,
      0x00, 0x80, 0x20, 0x05, 0x00, /*............. ..*/
      /*      64 */ 0xd0, 0x02, 0x00, 0x00, 0x40, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
      0x00, 0x00, 0x00, 0x00        /*....@..........*/
      };

      End of file: ExportDV.aaf

       
      • It appears that you are embedding an AVI file inside AAF. ExportDV needs a raw DV steam as an input.

         
    • Random_Access
      Random_Access
      2008-07-31

      Yes. I was indeed using an AVI file.
      Now i have tried to run it using a DV file (sample.DV), But it gives the same problem  again.
      Whenever you double click it, windows explorer just hangs and restarts.

      The following is the dump of the new Export.aaf, using the sample.DV as input.

      Dump of file: ExportDV.aaf

      Summary Information:
      File has 2 mobs
      File has 1 EssenceData objects

      Header:

      : 18761
      : Jul 31, 2008 9:13:40.00 GMT
      : { 1, 1 }
      : Strong Object Reference Array [1] of
        [0]:

         Object of Class: Identification
         : ""
         : ""
         : { 1, 0, 0, 0,  }
         : ""
         : { 0x00000000, 0x0000, 0x0000, { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 } }
         : Jul 31, 2008 9:13:00.00 GMT
         : { 1, 1, 2, 0,  }
         : ""
         : { 0x86ffe57c, 0xfd7e, 0x4cf3, { 0xa6, 0xc9, 0xb0, 0xb5, 0xdc, 0xc5, 0xcf, 0
      xe } }

      : 1
      : { 0x0d010201, 0x1000, 0x0000, { 0x6, 0xe, 0x2b, 0x34, 0x4, 0x1, 0x1, 0x1 } }
      : Set[1] of
      [0]: { 0x4313b571, 0xd8ba, 0x11d2, { 0x80, 0x9b, 0x0, 0x60, 0x8, 0x14, 0x3e, 0x
      6f } }
      Mobs:

      Object of Class: MasterMob
      : { {0x6,0xa,0x2b,0x34,0x1,0x1,0x1,0x1,0x1,0x1,0xf,0x0}0x13, 0x0, 0x0, 0x0, { 0x
      4891821e, 0x8e11, 0x00ee, { 0x6, 0xe, 0x2b, 0x34, 0x7f, 0x7f, 0x2a, 0x80 } } }
      : ""
      : Strong Object Reference Array [1] of
        [0]:

         Object of Class: TimelineMobSlot
         : 1
         : ""
         :

           Object of Class: SourceClip
           :
           : 286
           : { {0x6,0xa,0x2b,0x34,0x1,0x1,0x1,0x1,0x1,0x1,0xf,0x0}0x13, 0x0, 0x0, 0x0,
      { 0x4891822e, 0xcc24, 0x00ee, { 0x6, 0xe, 0x2b, 0x34, 0x7f, 0x7f, 0x2a, 0x80 }
      } }
           : 1
           : 0

         : { 30000/1001 }
         : 0

      : Jul 31, 2008 9:13:02.00 GMT
      : Jul 31, 2008 9:13:02.00 GMT

      Object of Class: SourceMob
      : { {0x6,0xa,0x2b,0x34,0x1,0x1,0x1,0x1,0x1,0x1,0xf,0x0}0x13, 0x0, 0x0, 0x0, { 0x
      4891822e, 0xcc24, 0x00ee, { 0x6, 0xe, 0x2b, 0x34, 0x7f, 0x7f, 0x2a, 0x80 } } }
      : Strong Object Reference Array [1] of
        [0]:

         Object of Class: TimelineMobSlot
         : 1
         : ""
         :

           Object of Class: SourceClip
           :
           : 286
           : { {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}0x0, 0x0, 0x0, 0x0, {
      0x00000000, 0x0000, 0x0000, { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 } } }
           : 0
           : 0

         : 1
         : { 30000/1001 }
         : 0

      : Jul 31, 2008 9:13:18.00 GMT
      : Jul 31, 2008 9:13:18.00 GMT
      :

        Object of Class: CDCIDescriptor
        : { 30000/1001 }
        : 286
        :
        :
        : { 0x04010202, 0x0202, 0x0100, { 0x6, 0xe, 0x2b, 0x34, 0x4, 0x1, 0x1, 0x1 } }

        : 240
        : 720
        : 0
        : 0
        : 0
        : 0
        : 0
        : 0
        : 0
        : 0
        :
        :    [0]: 0   [1]: 1
        : { 4/3 }
        :
        : 0
        :
        : 0
        : 0
        : 8
        : 1
        :
        : 0
        : 255
        : 255
        : 0
        : 1

      EssenceData:

      Object of Class: EssenceData
      : { {0x6,0xa,0x2b,0x34,0x1,0x1,0x1,0x1,0x1,0x1,0xf,0x0}0x13, 0x0, 0x0, 0x0, { 0x
      4891822e, 0xcc24, 0x00ee, { 0x6, 0xe, 0x2b, 0x34, 0x7f, 0x7f, 0x2a, 0x80 } } }
      : {/* size: 34320409 bytes */
      Showing only first 79 bytes
      /*       0 */ 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x02, 0x01, 0x01, 0x0d, 0x01, 0x03,
      0x01, 0x00, 0x00, 0x00, 0x00, /*..+4............*/
      /*      16 */ 0x88, 0x00, 0x00, 0x00, 0x00, 0x02, 0x0b, 0xae, 0x80, 0x1f, 0x07,
      0x00, 0x3f, 0x68, 0x78, 0x78, /*............?hxx*/
      /*      32 */ 0x78, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
      0xff, 0xff, 0xff, 0xff, 0xff, /*x...............*/
      /*      48 */ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
      0xff, 0xff, 0xff, 0xff, 0xff, /*................*/
      /*      64 */ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
      0xff, 0xff, 0xff, 0xff        /*...............*/
      };

      End of file: ExportDV.aaf