InitialObjectDescriptor { objectDescriptorID 1 audioProfileLevelIndication 255 visualProfileLevelIndication 1 sceneProfileLevelIndication 254 graphicsProfileLevelIndication 254 ODProfileLevelIndication 255 esDescr [ ES_Descriptor { ES_ID 1 decConfigDescr DecoderConfigDescriptor { streamType 3 decSpecificInfo BIFSConfig { isCommandStream true pixelMetric true pixelWidth 180 pixelHeight 200 } } } ES_Descriptor { ES_ID 2 decConfigDescr DecoderConfigDescriptor { streamType 1 } } ] } OrderedGroup { children [ Background2D { backColor 1 1 1 } WorldInfo { info ["This shows MovieTexture with playback control" "through usage of start/stop fields of movieTexture" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"] title "MovieTexture Test" } Transform2D { children [ DEF TR Transform2D { translation 0 30 children [ Shape { appearance Appearance { texture DEF MT MovieTexture { loop TRUE url [od:10] repeatS FALSE repeatT FALSE } } geometry Bitmap {} } ] } ] } Transform2D { translation -50 -70 children [ DEF TS1 TouchSensor {} Shape { appearance Appearance { material Material2D { emissiveColor 1 0 0 filled TRUE } } geometry Rectangle { size 50 50 } } Shape { appearance DEF APP Appearance { material Material2D { emissiveColor 0 0 0 filled TRUE } } geometry Text { string ["Stop"] fontStyle DEF FS FontStyle { justify ["MIDDLE" "MIDDLE"] size 18 } } } ] } DEF C1 Conditional { buffer { REPLACE MT.stopTime BY 0 } } Transform2D { translation 50 -70 children [ DEF TS2 TouchSensor {} Shape { appearance Appearance { material Material2D { emissiveColor 0 0 1 filled TRUE } } geometry Rectangle { size 50 50 } } Shape { appearance USE APP geometry Text { string ["Start"] fontStyle USE FS } } ] } DEF C2 Conditional { buffer { REPLACE MT.startTime BY 0 } } ] } ROUTE TS1.isActive TO C1.activate ROUTE TS2.isActive TO C2.activate AT 0 { UPDATE OD [ ObjectDescriptor { objectDescriptorID 10 esDescr [ ES_Descriptor { ES_ID 20 OCR_ES_ID 20 muxInfo MuxInfo { fileName "auxiliary_files/enst_video.h264" } } ] } ] }