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

OrderedGroup {
 children [
  Background2D {
   backColor 1 1 1
  }
  WorldInfo {
   info ["This shows MediaControl and mediaSensor" "used to watch deactivation of a node" "" "GPAC Regression Tests" "$Date: 2007-07-27 09:46:10 $ - $Revision: 1.3 $" "(C) 2002-2004 GPAC Team"]
   title "Media Control Test"
  }
  Transform2D {
   children [
    Shape {
     appearance Appearance {
      texture DEF MT MovieTexture {
       url [od:8]
      }
     }
     geometry Bitmap {}

    }
    DEF TS TouchSensor {}
   ]
  }
  DEF MC MediaControl {
   url [od:8]
   mediaStartTime 2
   mediaStopTime 4
   preRoll FALSE
  }
  DEF MS MediaSensor {
   url [od:8]
  }
  Transform2D {
   translation 0 -80
   children [
    Shape {
     appearance DEF APP Appearance {
      material Material2D {
       emissiveColor 0 0 0
       filled TRUE
      }
     }
     geometry DEF TXT Text {
      string [""]
      fontStyle DEF FS FontStyle {
       justify ["MIDDLE" "MIDDLE"]
       size 20
      }
     }
    }
   ]
  }
  DEF V Valuator {}
 ]
}

ROUTE MS.isActive TO V.inSFBool
ROUTE V.outMFString TO TXT.string

AT 0 {
  UPDATE OD [
   ObjectDescriptor {
    objectDescriptorID 8
    esDescr [
     ES_Descriptor {
      ES_ID 21
      OCR_ES_ID 21
      muxInfo MuxInfo {
       fileName "../auxiliary_files/count_video.cmp"
      }
     }
    ]
   }
  ]
}

