Jump to content

Search the Community

Showing results for tags 'videotexture'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 23 results

  1. Hi, Is there any way we can add Youtube video as a source for the Video Textures. Thanks, Raghavender Mylagary
  2. Hi Is it possible to make videoTexture with rtsp stream on it or shader that can show rtsp stream?
  3. Hi guys, see attached screenshot. You'll notice the video has a blue tint which should not be there.This tint only appears on iOS when using VRDeviceOrientationFreeCamera, although it used to also appear in DeviceOrientationCamera, but adding an empty LensRenderingPipeline seemed to fix the issue. I've already tried what @Nabroski mentions here on page 2: I've been battling this issue for a while now and was wondering if anyone could help?
  4. Hello, is there a way to advance a VideoTexture by just 1 frame per RenderLoop? As I understand it now it is time based. This creates the problem that if the frames need to be captured to create an animated sequence, the video keeps advancing in between 2 captured frames.
  5. Is there a way to pass a video texture to a shader using a similar way as the one used to pass an image texture? shaderMaterial.setTexture("textureSampler", new BABYLON.Texture(imgTexture, scene)); i'm wondering if there are more ways to use video textures in babylon, i have seen that i can set a BABYLON.VideoTexture as a diffuseTexture of a material, but that seems limiting. What if i want to manipulate an object which has a material with a video texture, in the vertex + fragment shaders?
  6. Hi, I want to display my webcam content on my scene. In order to do this, I tried to create a layer set in background on which I apply a video texture. I passed a video DOM element to this texture. This video has a stream for source that is obtained from the getUserMedia promise. It works but rapidly the FPS drop and I don't know why. Maybe the size of the video is too large, maybe I provided the wrong parameters to the texture. I don't have any idea but it causes an issue. Here is a PG for testing : https://www.babylonjs-playground.com/#FF3BPV Thanks,
  7. Hi @Deltakosh @Wingnut @JCPalmer, Is there any way we can show youtube or any live stream video as a texture? http://www.babylonjs-playground.com/#140LZL#9 Is it possible to draw iframe on to the canvas element of the dynamic texture or is it possible to use the video element of video texture to render the livestream? Thanks -Raghavender Mylagary
  8. Hi, Is there any way where we can set live streaming video as a Video Texture? Thanks, Raghavender Mylagary
  9. Hi, I am searching for an example where we can set the video from the webcam as the source for the VideoTexture. Thanks, Raghavender Mylagary
  10. Hi! In my Babylon scene I have a room with a plane, representing a screen. My idea is to display a video on this screen when it's clicked and turn it of if it's clicked again. Code: var screen1 = scene.getMeshByName("Lerret");activateVideoTexture(screen1);function activateVideoTexture(mesh){ mesh.actionManager = new BABYLON.ActionManager(scene); var action = new BABYLON.ExecuteCodeAction(BABYLON.ActionManager.OnPickTrigger, function(){ mesh.material.diffuseTexture=new BABYLON.VideoTexture("video", ["01_Tumor-Glioblastoma.mp4"], 640, scene, true); mesh.material.emissiveColor =
  11. I'm trying to play video inside of sphere, using VideoTexture and have issue. Video is inverted and I can't understand how to invert it to normal state.
  12. Very close to getting a mpeg-dash streaming texture to work. I had to create a streamingVideoTexture object to look for a videoelement rather than pick a url because of the createUrlObject method. The one portion I'm having issues with -- I was able to get this to work correctly in vanilla webGL but for whatever reason babylon doesn't seem to like my settings. In vanilla JS my video texture settings should be something like this: // gl.NEAREST is also allowed, instead of gl.LINEAR, as neither mipmap. gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR); // Prevents s-co
  13. Hi everyone: I want to know how to add a delay to the VideoTexture object to buffering. I develop a very demanding app that uses multiple videos at once. I wrote a similar app in C using gstreamer, and the performance is the same with the gain of simplicity of Bjs, but sometimes the videos stutters because the lack of buffering. This problem also it showed in the other app, but using the "delay" property of the GLVideoMixer element the problem was solved. Anyone knows how to set this? PS: All the videos are live feeds (from capture cards) in raw Planar YUV format.
  14. This isn't a bug in Babylon but just wanted to make people aware firefox isn't taking the fast path and rendering video textures on the cpu. I can't submit a bug till tomorrow. But, if anyone mentions this it's not a babylon issue.
  15. Hello, I made the move to babylon-master version 2.4 last night, and found that all of my videoTextures would not play back correctly. And by correctly, this means that there was no video images playing, only what appeared to be odd decompression artifacts. I don't have time to build a playground scene today, but if this isn't obvious to anyone else, I can certainly build a PG scene tomorrow to demonstrate. Although I'm certain you'll see the problem, as I tested with 3 different video formats, resolutions, and scaling values. DB
  16. Hello, In using various file formats for a videoTexture, I have an .mp4 file at 3896 KB, an .ogv file at 4421 KB, and a .webm file at 4421 KB. On my PC, they all load and play within 1 second, but on my Android devices, the .mp4 file causes my mesh object (a plane) approximately 15 -30 seconds to display a black surface as if it could not find the texture, and when I press my play button (a simple GUI element which initiates the play() function, it takes another approximately 15 or more seconds to begin playing the .mp4 video file. However, when the source is an .ogv or a .webm file both
  17. Hi, Is this possible to use video stream in videotexture? I'm trying to use video stream as video texture but object with this material doesn't display in the browser at all. This is how I'm creating the texture: var videoTexture = new BABYLON.VideoTexture("video", ["http://localhost:8090/test.webm"], scene, false, false); I can display the stream itself in browser without any problem and console says browser has loaded the file with OK status. If I use video file from disk instead of stream url it displays fine.
  18. Hello, This post is not a question, but is information that I would have found invaluable prior to my having problems playing video on mobile devices - practically all mobile devices. I wanted to create a seperate post for everyone to read, as the post where this dialogue has taken place is labled "console errors." I have been working on an app which relies heavily on playing video files and specifically video textures. I found that almost 2 months ago, I had no problem playing video files and the associated audio on desktops and laptops no problem; but I could not get my video files to pl
  19. I need to add a shuffle slider to my scene to scrub through the videoTexture. I don't believe there is a property for time such as in buiding a direct HTML5 video player. If there is one such as VideoTexture.video.time() please let me know. Otherwise, my solution is to load both a forward and backward playing video and manipulate those. Lot's of work. Thanks.
  20. Hello, could someone help me fix this bug. I have managed to reproduce with just a few lines in the playground. Flickering occurs when using a video as a reflection texture over an image diffuse texture. However no problems using a video diffuse texture and video reflection texture. The flicker rate can be altered by changing the value at line now - this._lastUpdate < 15 in the function VideoTexture.prototype.update. See http://playground.babylonjs.com/#19EHYV
  21. Hi, as I'm looking into the video texture component at the moment, I ran into yet another problem: At first I tried to play a short and small video file so that I wouldn't have to wait too long while testing, this worked flawless: looky here code here But when I tried the same thing with a huge file (24,6MB) that I had downloaded from youtube for testing (so it was loading fine on youtube, why wouldn't it load for the texture, right?) it would start loading it, then stop without any output, when I re-sized the file to a smaller image size and less quality (17,1MB) the file would still not
  22. Hi, I'm working on a little side project where I want to switch between two videos with a slider, now while there might be complex shader ways of doing this I was thinking: What if I had a hundred little planes which would build a mesh, on which video 1 was projected and another hundred little planes on which video 2 would be visible and I would just place them in front of each other and fade the planes to the left of my slider out... So my question would be: Is it possible to display a video on a hundred little planes? What I'm looking for is pretty much EXACTLY this: http://threejs.org/ex
  23. Does video VideoTexture not exist in Phaser? I see it in PIXI but when I try to call it all I get is VideoTexture is not defined. I submitted a post over 14 hours ago and it still hasn't made it onto the forums yet and it contains substantially more data than what I am typing now. I see the VideoTexture class located here: http://docs.phaser.io/PIXI.VideoTexture.html#toc0 but how does one call it/use it within Phaser itself? Any help is appreciated.
  • Create New...