Giter Club home page Giter Club logo

androidtransparentvideo's Introduction

"# AndroidTransparentVideo"

androidtransparentvideo's People

Contributors

mc2012 avatar

Stargazers

莫再讲 avatar hakan avatar niuapp avatar yuhai zhang avatar glumes avatar  avatar  avatar  avatar softjapan avatar  avatar Jed avatar andrewbaix avatar 高永健 avatar  avatar sixiangjun avatar  avatar  avatar ICE AGE avatar  avatar meikai avatar  avatar Jason avatar  avatar  avatar  avatar jiajun avatar gsx avatar  avatar / avatar Marvin.Yang avatar JackyYuen avatar socker avatar  avatar  avatar  avatar  avatar Yoh Asakura avatar Charon avatar  avatar  avatar

Watchers

 avatar  avatar

androidtransparentvideo's Issues

出现 "java.nio.BufferOverflowException"

如果改成点击控件去加载视频会出现如下错误:
"java.nio.BufferOverflowException"

MxRenderer.java中updateRadio方法,triangleVertices.put(triangleVerticesData).position(0);调用导致的

生成视频播放过于透明

你好,我用 ffmpeg -i right.mp4 -vf lutyuv="u=128:v=128" left.mp4 和 ffmpeg -re -i left.mp4 -re -i right.mp4 -filter_complex "nullsrc=size=2160x1920 [base]; [0:v] scale=1080x1920 [left]; [1:v] scale=1080x1920 [right]; [base][left] overlay=shortest=1 [tmp1]; [tmp1][right] overlay=shortest=1:x=1080" -c:v libx264 -pix_fmt yuv420p -movflags faststart -f mp4 left_right.mp4
这两个指令生成了视频,
image
但是播放出来的颜色太浅了,
image
是视频的问题吗?还是什么?请问如何解决?

java.nio.BufferOverflowException by MxVideoView.CENTER_CROP

作者你好~ 使用CENTER_CROP的模式播放第二个视频会直接发生 BufferOverflowException 崩溃,直接try catch倒是可以连续播放 但是每循环一次都会导致视频的宽高变化 求解答~

triangleVertices.put的时候报错了

> public void updateRadio(int videoWidth, int videoHeight, int viewWidth, int viewHeight) {
>        ...
>         if (triangleVertices == null) {
>             triangleVertices = ByteBuffer.allocateDirect(
>                     triangleVerticesData.length * FLOAT_SIZE_BYTES)
>                     .order(ByteOrder.nativeOrder()).asFloatBuffer();
>         }
>        triangleVertices.put(triangleVerticesData).position(0);
>     }
> 

请教问题

你好,你这资源挺好的。想请问一下,你现在视屏是左右的,如果要是上下的改如何修改呢?请指教!谢谢!

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.