Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

ExportDV problem

Developers
Cablet
2006-05-18
2013-04-29
  • Cablet
    Cablet
    2006-05-18

    Hello,
    I am trying to run ExportDV in the AAF Samples but I keep getting an error:

    Error '801200b4' returned at line 292 in ExportDV.cpp

    Here is the entire output:
    Creating file ExportDV.aaf using WriteSamples with CompressionEnable
      using codec flavour "AAF CDCI Codec (no flavour)"
    Error '801200b4' returned at line 292 in ExportDV.cpp

    From what I was able to dig up in AAFResult.h this has to do with there being a zero samplesize.  If I read it correctly.  Are others able to compile this code?  I have not changed anything at all.  I am running OSX and AAF 1.1.1.  I am running the app without any arguments.

    Thanks for any suggestions.
    Cablet

     
    • Tim Bingham
      Tim Bingham
      2006-05-18

      Specify a raw DV input file as follows (I also recommend specifying the output file with -o ) -

      $ ./AAFPPCDarwinSDK/g++/bin/debug/ExportDV -o 1frame-dv.aaf -rawDV ./test/com/ScaleTest/1frame.dv

      Creating output in PAL format.
      Creating file ExportDV.aaf using WriteSamples with CompressionDisable
        using codec flavour "AAF CDCI Codec (IEC DV 625 lines 50Hz)"
      Wrote 1 samples
      DONE
      $

      If you want MXF that an Avid understands use -

      $ ./AAFPPCDarwinSDK/g++/bin/debug/ExportDV -mxf -o 1frame-dv.mxf -legacyDV -rawDV ./test/com/ScaleTest/1frame.dv

      Creating output in PAL format.
      Creating file 1frame-dv.mxf using WriteSamples with CompressionDisable
        using codec flavour "AAF CDCI Codec (LegacyDV 625 lines 50Hz)"
      Wrote 1 samples
      DONE
      $

      Cheers,
      Tim.

       
    • Cablet
      Cablet
      2006-05-18

      Thank you for the input.  With your example I did get it to work.  But in the code that I am using there is no option for -o or for -mxf. 
      By using "ExportDV -ntsc -rawDV mytestdvfile.dv" I was able to get it to work.  Our Avid would not read this AAF file.  I got an AAFDomain error.  I would love it if this code did have the naming option -o and the -mxf option.  Do you know of a version out there that can support these options.  Thank you very much for the help.

      Cablet

       
      • Tim Bingham
        Tim Bingham
        2006-05-19

        I used the tip of the CVS trunk (the code that will eventually be AAF 1.2). I used OS X 10.4.6 and gcc version 4.0.1 (Xcode 2.2.1)

        $ cvs -d :pserver:anonymous@aaf.cvs.sourceforge.net:/cvsroot/aaf checkout AAF
        $ cd AAF
        $ make examples
        $ export LD_LIBRARY_PATH=./AAFPPCDarwinSDK/g++/bin/debug
        $ ./AAFPPCDarwinSDK/g++/bin/debug/ExportDV -mxf -o 1frame-dv.mxf -legacyDV -rawDV ./test/com/ScaleTest/1frame.dv

        Creating output in PAL format.
        Creating file 1frame-dv.mxf using WriteSamples with CompressionDisable
          using codec flavour "AAF CDCI Codec (LegacyDV 625 lines 50Hz)"
        Wrote 1 samples
        DONE
        $

        Tim.