InitialObjectDescriptor {
 objectDescriptorID 1
 audioProfileLevelIndication 255
 visualProfileLevelIndication 254
 sceneProfileLevelIndication 1
 graphicsProfileLevelIndication 1
 ODProfileLevelIndication 1
 includeInlineProfileLevelFlag true
 esDescr [
  ES_Descriptor {
   ES_ID 1
   decConfigDescr DecoderConfigDescriptor {
    streamType 3
    decSpecificInfo BIFSConfig {
     isCommandStream true
     pixelMetric true
     pixelWidth 400
     pixelHeight 400
    }
   }
  }
  ES_Descriptor {
   ES_ID 2
   decConfigDescr DecoderConfigDescriptor {
    streamType 1
   }
  }
 ]
}

OrderedGroup {
 children [
  Background2D {
   backColor 1 1 1
  }
  WorldInfo {
   info ["This shows an AnimationStream node" "using a BIFS-command stream" "" "GPAC Regression Tests" "$Date: 2009-09-30 18:01:04 $ - $Revision: 1.3 $" "(C) 2002-2004 GPAC Team"]
   title "Animation Stream"
  }
  DEF N0 Transform2D {
   translation 100 0
   children [
    Shape {
     appearance Appearance {
      material Material2D {
       emissiveColor 0 0 1
       filled TRUE
      }
     }
     geometry Rectangle {
      size 100 100
     }
    }
   ]
  }
  AnimationStream {
   loop TRUE
   url [od:10]
  }
  Transform2D {
   translation 0 -100
   children [
    Shape {
     appearance Appearance {
      material Material2D {
       emissiveColor 0 0 0
       filled TRUE
      }
     }
     geometry Text {
      string ["Position modified" "through animationStream"]
      fontStyle FontStyle {
       justify ["MIDDLE" "MIDDLE"]
       size 18
      }
     }
    }
   ]
  }
 ]
}


RAP AT 0 IN 5 {
 REPLACE N0.translation BY 100 0
}

RAP AT 0 {
  UPDATE OD [
   ObjectDescriptor {
    objectDescriptorID 10
    esDescr [
     ES_Descriptor {
      ES_ID 5
      dependsOn_ES_ID 1
      OCR_ES_ID 5
      decConfigDescr DecoderConfigDescriptor {
       streamType 3
       decSpecificInfo BIFSConfig {
        nodeIDbits 1
        isCommandStream true
        pixelMetric true
        pixelWidth 400
        pixelHeight 400
       }
      }
      slConfigDescr SLConfigDescriptor {
       useAccessUnitStartFlag true
       useAccessUnitEndFlag true
       useTimeStampsFlag true
       timeStampResolution 1000
       timeStampLength 32
      }
     }
    ]
   }
  ]
}

RAP AT 500 IN 5 {
 REPLACE N0.translation BY 100 100
}

RAP AT 1000 IN 5 {
 REPLACE N0.translation BY -100 100
}

RAP AT 1500 IN 5 {
 REPLACE N0.translation BY -100 0
}

RAP AT 2000 IN 5 {
 REPLACE N0.translation BY 100 0
}

