"# AndroidTransparentVideo"
androidtransparentvideo's Introduction
androidtransparentvideo's People
Forkers
leohuangyi yyyzp cugfensheng winniegr meikaiss manbali gitcore hanliuxin5 zzh442856860 andrewbaix androidcircle softjapan niuappandroidtransparentvideo'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
这两个指令生成了视频,
但是播放出来的颜色太浅了,
是视频的问题吗?还是什么?请问如何解决?
请教下项目中得mp4文件是怎么生成的
我已经读了这篇文章https://www.jianshu.com/p/3a0512e2706f
也使用了ffmpeg命令合成需要的mp4,但是mp4是不支持alpha通道的,这个命令
(ffmpeg -i origin.mp4 -vf lutyuv="u=128:v=128" output.mp4)生成的mp4和原mp4合成后的mp4播放大部分都是透明的,请教下怎么获得正确的lef.mp4
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);
> }
>
小米6、红米k20 pro,还有其他机型,烟花部分出现黑边,如下图
播放网络链接有问题
你好,我这边测试,播放一个网络的透明mp4文件,会报错,播放不了
请教问题
你好,你这资源挺好的。想请问一下,你现在视屏是左右的,如果要是上下的改如何修改呢?请指教!谢谢!
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.