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 dynamic URL change 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:20] } } geometry Bitmap {} } ] } ] } Transform2D { translation -50 -70 children [ DEF TS1 TouchSensor {} Shape { appearance Appearance { material Material2D { emissiveColor 1 0 0 filled TRUE } } geometry Rectangle { size 80 30 } } Shape { appearance DEF APP Appearance { material Material2D { emissiveColor 0 0 0 filled TRUE } } geometry Text { string ["Movie 1"] fontStyle DEF FS FontStyle { justify ["MIDDLE" "MIDDLE"] size 18 } } } ] } DEF C1 Conditional { buffer { REPLACE MT.url BY ["od:20"] } } Transform2D { translation 50 -70 children [ DEF TS2 TouchSensor {} Shape { appearance Appearance { material Material2D { emissiveColor 0 0 1 filled TRUE } } geometry Rectangle { size 80 30 } } Shape { appearance USE APP geometry Text { string ["Movie 2"] fontStyle USE FS } } ] } DEF C2 Conditional { buffer { REPLACE MT.url BY ["od:10"] } } ] } 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" } } ] } ObjectDescriptor { objectDescriptorID 20 esDescr [ ES_Descriptor { ES_ID 21 OCR_ES_ID 21 muxInfo MuxInfo { fileName "auxiliary_files/count_video.cmp" } } ] } ] }