Giter Club home page Giter Club logo

Comments (4)

RBogie avatar RBogie commented on May 16, 2024

Does it only fail on android? It looks like something is going wrong in the internal mediaplayer of android. Since the mesh only uses a texture that is provided by the system, I can't think of any other reason that causes the wrong size combined with distortions.

Does it have the same issue on other android devices?

from gdx-video.

jltrem avatar jltrem commented on May 16, 2024

Thanks, @robbiedobbie. I've only been working with Android -- today was able to try it on a imx6 Sabre board. It runs almost perfectly on that. No distortions and width is perfectly scaled. However the vertical scaling stops at about 90%... so there is a strip of green at the bottom of each video.

Could this be a problem with the way the camera is configured? An issue with aspect ratio?

from gdx-video.

RBogie avatar RBogie commented on May 16, 2024

Personally I've only tested on my galaxy s4 with cyanogenmod. In there, the aspect ratio was no problem. However, I'm not sure whether some devices and/or firmwares have issues with this.

The only things not related to bugs in the mediaplayer that I can think of are:

  • Are the coordinates of the mesh correct to be visible in the viewport? Could you try with a normal texture instead of the video, and see whether this works fine.
  • Are the texture coordinates correct? Are they nicely from 0.0,0.0 in one corner to 1.0,1.0 in the opposite corner?

from gdx-video.

SimonIT avatar SimonIT commented on May 16, 2024

Could you try if the issue persists with the newest snapshot?

from gdx-video.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.