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 440 pixelHeight 440 } } } ES_Descriptor { ES_ID 2 decConfigDescr DecoderConfigDescriptor { streamType 1 } } ] } OrderedGroup { children [ Background2D { backColor 1 1 1 } WorldInfo { info [ "This test shows a video displayed on the basic 2D shapes." "Video, like image, is considered as a texture and described in the MovieTexture node." "The url of this node points to the video using any internet protocol (http, rtsp) or using MPEG-4 OD." "The MovieTexture node is associated to the geometry as a children of the Shape node. The video is then clipped along the bounding box of the shape." "" "GPAC Regression Tests" "(C) 2002-2006 GPAC Team" ] title "Displaying Videos as a texture on any shape" } Transform2D { translation -150 150 children [ Shape { appearance DEF APP Appearance { texture MovieTexture { loop TRUE url [od:10] repeatS FALSE repeatT FALSE } } geometry IndexedLineSet2D { coord Coordinate2D { point [-50 0 0 50 50 0] } } } Transform2D { translation 0 -20 children [ Shape { appearance DEF TEXTAPP Appearance { material Material2D { emissiveColor 0 0 1 filled TRUE } } geometry Text { string ["IndexedLineSet2D" "[-50 0 0 50 50 0]"] fontStyle DEF FS FontStyle { justify ["MIDDLE" "MIDDLE"] size 12 } } } ] } ] } Transform2D { translation 0 150 children [ Shape { appearance USE APP geometry Circle { radius 50 } } Transform2D { children [ Shape { appearance USE TEXTAPP geometry Text { string ["Circle" "radius 50"] fontStyle USE FS } } ] } ] } Transform2D { translation 150 150 children [ Shape { appearance USE APP geometry Rectangle { size 100 50 } } Transform2D { children [ Shape { appearance USE TEXTAPP geometry Text { string ["Rectangle" "Size 100 50"] fontStyle USE FS } } ] } ] } Transform2D { translation 0 -40 children [ Shape { appearance USE TEXTAPP geometry Text { string ["Curve2D Points:" "-50 0, -100 50, 0 20, 10 30, 40 80, 50 0"] fontStyle USE FS } } ] } Transform2D { translation -150 0 children [ Shape { appearance USE APP geometry Curve2D { point DEF C2D Coordinate2D { point [-50 0 -100 50 0 20 10 30 40 80 50 0] } } } Transform2D { translation 0 -10 children [ Shape { appearance USE TEXTAPP geometry Text { string ["no type"] fontStyle USE FS } } ] } ] } Transform2D { children [ Shape { appearance USE APP geometry Curve2D { type [2 3] point USE C2D } } Transform2D { translation 0 -10 children [ Shape { appearance USE TEXTAPP geometry Text { string ["type [2 3]"] fontStyle USE FS } } ] } ] } Transform2D { translation 170 0 children [ Shape { appearance USE APP geometry Curve2D { type [1 3 1] point USE C2D } } Transform2D { translation 0 -10 children [ Shape { appearance USE TEXTAPP geometry Text { string ["type [1 3 1]"] fontStyle USE FS } } ] } ] } Transform2D { translation -150 -150 children [ Shape { appearance USE APP geometry IndexedFaceSet2D { coord Coordinate2D { point [-50 0 -25 25 0 80 50 0] } } } Transform2D { translation 0 -20 children [ Shape { appearance USE TEXTAPP geometry Text { string ["IndexedFaceSet2D" "-50 0, -25, 25, 0 80, 50 0"] fontStyle USE FS } } ] } ] } Transform2D { translation 0 -150 children [ Shape { appearance USE APP geometry PointSet2D { coord Coordinate2D { point [-50 0 -25 25 0 80 50 0] } } } Transform2D { translation 0 -20 children [ Shape { appearance USE TEXTAPP geometry Text { string ["PointSet2D" "-50 0, -25, 25, 0 80, 50 0"] fontStyle USE FS } } ] } ] } ] } 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" } } ] } ] }