We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Video Texture

Home Forums General Questions Video Texture

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #46274
    gf3d
    Customer

    Hi there,

    i´m experimenting with the load Video Texture for a new project.

    I loaded the video texture project from verge3d and changed the link to a video that should be loaded from my page. see the puzzles attached.

    But the screen remains black…nothing is being loaded.

    Any ideas why?…..

    Question?…what video formats are supported?

    Greets

    Ger

    Attachments:
    You must be logged in to view attached files.
    #46277
    xeon
    Customer

    Hi there

    If the video is very small loading it it on demand will work however in my testing I had to preload it onto a small object hidden in the scene just like a material swap. Otherwise I could get a black screen while the file loaded.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #46281
    gf3d
    Customer

    Hi Xeon,

    the puzzle i took from the verge project….the original fish movie was far bigger than mine…so as you say it i can use the video as a texture on a hidden object…just like any other texture?

    I thought that videos of any kind could not be used as a texture?

    Greets

    Ger

    #46282
    xeon
    Customer

    The video loader demo provided works as long as certain conditions are true. I won’t get into those since your puzzles are pretty much identical to the example and your video is very small in file size.

    The main difference you are fighting are resolution, UV mapping and probably, the fact your video starts on a black screen.

    The example fish video is 1280×720 and your video is 300×224. I am betting that the video is playing but since the UVs are set for a 1280 image…your image is just not visible. You could start with mapping a 300×224 image to the video display object…adjusting the UVs and then I would bet this example will work.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #46284
    xeon
    Customer

    I take it back its not UVs.. its something to do with your video…working onit.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #46285
    xeon
    Customer

    If you are trying to do this from App Manager and are not trying to view this from your server you will get a CORS error. The file can’t be loaded from a different website…if you are using App Manager you are using localhost and nothing external will load.

    You can move the video file local or when you publish your project to the same server you have the video it will work.

    Note these puzzles will work under limited circumstances. You will want to preload the video prior to playing it and validate it’s able to play before requesting it to play for the user. Otherwise, you can get black screens for other reasons related to memory issues, especially on slower internet connections and mobile devices.

    Attachments:
    You must be logged in to view attached files.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #46287
    Crunch
    Customer

    I would first try getting things working locally (meaning dropping a copy of the mp4 mp4 inside your project folder.. as opposed to pulling from web server)

    It has been a while since I played with video textures but from what I recall, there were some black screen issues depending on how I encoded the video.

    Did you by chance use Vegas Video to render the video file?

    I always use Magix encoder and remember it working fine at the default 1080p 29fps setting but when I would try a lower resolution, the file wouldn’t play. I believe after re-encoding the file with Adobe Media encoder and things started working.

    Sorry I can’t be of more help.

    #46294
    gf3d
    Customer

    Thanks a lot….its working now

    Greets

    Ger

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