Render movie files(etc mpeg) as texture

This topic contains 5 replies, has 5 voices, and was last updated by  Gordon 7 years, 6 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #29608

    tnakajim
    Member

    I would like to render a movie on a cube or any polygon. Is there any way to do that? If so, please tell me some instructions to do it.

    Thank you

    #32389

    Hello,

    Currently it is not possible to stream the output from a video decoder directly into a texture to be used by a 3D scene. This require the implementation of extensions to the OGLES API and the proper communication between the devices in the platform. We are working with some of our customers to provide this functionality to developers but it is not available yet.

    I know that some developers have implemented this functionality by hand, uploading a texture every frame with the content of the movie. This will be not very optimal for performance, but it might be enough for your purposes.

    Regards.

    Carlos.

    #32390

    I need a mechanism where in I can render movie on top of surfaces as textures. Please help if there is anything available. At present I have to decode frame by frame and apply that as texture on the surface.

    Thanks & Regards,
    Amit Sahrawat

    #32391

    Hi Amit,

    So far I do not know of any implementation available to 3rd party developers.

    Regards.

    Carlos.

    #32392

    nights123
    Member

    Hi

    If there is no way to do this, why have you released the demo OGLESWindowEPG.avi that does just this – with multiple video sources. If this demo is not currently possible to implement with SGX then you should really remove it.

    Best regards

    #32393

    Gordon
    Moderator

    The demo has been implemented on SGX by POWERVR engineers at Imagination. Unfortunately, the mechanism required to implement a similar demo is not currently available to other 3rd party developers that we’re aware of – i.e. people outside of Imagination and its customers.

    As this demonstrates an ability of our graphics cores and has been run internally it seems appopriate to have it on our website, but this issue is part of the reason that we don’t freely distribute source code for this particular demo and that it’s not part of the SDK.

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.