Comments (4)
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.
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.
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.
Could you try if the issue persists with the newest snapshot?
from gdx-video.
Related Issues (20)
- Rendering Video Texture on 3D Plane HOT 1
- jnigenBuild cant find -<library> HOT 6
- gdx-jnigen transitivity HOT 1
- ffmpeg codec arguments HOT 2
- Black screen while play on Android hardware device HOT 2
- Unable to play video from cross origin GWT Libgdx HOT 1
- IOS platform support and video file format extension HOT 1
- setlooping(true) does not work on desktop. HOT 1
- MP4, Could not find a suitable audio decoder! even with --enable-decoder=h264 or --enable-libx264 HOT 9
- Error on 1920x1080 videos in mp4, Could not find codec parameters for stream 0 HOT 2
- Rewind / forward is supported? HOT 2
- update to current libgdx and include desktop loopback support HOT 1
- Video does not play when asset filter is used
- Videos cannot be loaded without playing HOT 2
- error with music in newst libgdx version HOT 2
- Is it possible to run the Desktop sample too? HOT 6
- Could not open WebM file after latest commits HOT 3
- video is flickering HOT 1
- AV1 Decoding does not work on Desktop HOT 3
- `isPlaying()` behaviour across backends
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdx-video.