Comments (29)
预计这周末提供视频相关所有代码🙂
from android-gpuimage-plus.
这个我已经做了,但是 大师兄还没开源 cge .so 很多东西都不能 自己修改,坐等开源
from android-gpuimage-plus.
@xufeifandj 能否分享一下具体实现的源码,我想把文字添加进去
from android-gpuimage-plus.
把cgeFFmpegNativeLibrary 类里 去掉判断 #ifdef CGE_USE_FFMPEG 就能正常运行了
from android-gpuimage-plus.
能否分享一下
from android-gpuimage-plus.
感谢大师兄,到时候一定发红包,感谢
from android-gpuimage-plus.
@xufeifandj 视频分段添加水印你是怎么实现的?可否指点一下!
from android-gpuimage-plus.
直接在 native层里面,离屏渲染,绘制都是opengl原来的绘制方法,记得绘制前关闭,vbo即可
from android-gpuimage-plus.
@xufeifandj 不太理解,需要补充下知识
from android-gpuimage-plus.
慢慢来,opengl es fbo vbo 这些相关的 知识去看看
from android-gpuimage-plus.
好的,面对这个需求目前有点抓瞎~
from android-gpuimage-plus.
已开源视频相关所有模块~你们可以参考
from android-gpuimage-plus.
ok 赞大师兄。
from android-gpuimage-plus.
大师兄,看代码有点懵,能不能提供一个方法在编码的时候可以指定时间添加文字水印
from android-gpuimage-plus.
我把加水印的给你吧
from android-gpuimage-plus.
@xufeifandj 多谢!加下你的QQ吧!
from android-gpuimage-plus.
@wysaid 大师兄,编译完后运行报错~
java.lang.UnsatisfiedLinkError: Native method not found: org.wysaid.nativePort.CGEFFmpegNativeLibrary.avRegisterAll:()V
from android-gpuimage-plus.
@wysaid jni目录下:ndk-build
[armeabi] Prebuilt : libCGE.so <= jni/cge/armeabi/
[armeabi] Install : libCGE.so => libs/armeabi/libCGE.so
[armeabi] Compile++ thumb: CGEExt <= cgeNativeLibrary.cpp
[armeabi] Compile++ thumb: CGEExt <= cgeFFmpegNativeLibrary.cpp
[armeabi] Compile++ thumb: CGEExt <= cgeSharedGLContext.cpp
[armeabi] Compile++ thumb: CGEExt <= cgeFrameRenderer.cpp
[armeabi] Compile++ thumb: CGEExt <= cgeFrameRendererWrapper.cpp
[armeabi] Compile++ thumb: CGEExt <= cgeFrameRecorder.cpp
[armeabi] Compile++ thumb: CGEExt <= cgeFrameRecorderWrapper.cpp
[armeabi] Compile++ thumb: CGEExt <= cgeVideoEncoder.cpp
[armeabi] Compile++ thumb: CGEExt <= cgeUtilFunctions.cpp
[armeabi] Compile++ thumb: CGEExt <= cgeVideoDecoder.cpp
[armeabi] Compile++ thumb: CGEExt <= cgeVideoPlayer.cpp
[armeabi] Compile++ thumb: CGEExt <= cgeImageHandlerAndroid.cpp
[armeabi] Compile++ thumb: CGEExt <= cgeImageHandlerWrapper.cpp
[armeabi] Compile++ thumb: CGEExt <= cgeVideoUtils.cpp
[armeabi] SharedLibrary : libCGEExt.so
[armeabi] Install : libCGEExt.so => libs/armeabi/libCGEExt.so
from android-gpuimage-plus.
我自己试了一下, 没问题的。
org.wysaid.nativePort.CGEFFmpegNativeLibrary.avRegisterAll();V
就在 cgeFFmpegNativeLibrary.cpp 里面, 你自己看嘛。
from android-gpuimage-plus.
@wysaid 您是怎么编译的,我什么都不改,编译运行还是不成功,我编译出来的libCGEExt.so比您编译的体积要小
from android-gpuimage-plus.
@wysaid 大师兄如果有时间希望能出一个接口,可以给视频任意时间段添加水印!
from android-gpuimage-plus.
@wysaid 真是不好意思,视频小白水平实在有限~~~
from android-gpuimage-plus.
export NDK=path/of/your/ndk
cd folder/of/jni (android-gpuimage-plus/library/src/main/jni)
#This will make all arch: armeabi, armeabi-v7a arm64-v8a, x86
./buildJNI
#Try this if you failed to run the shell above
export CGE_USE_VIDEO_MODULE=1
$NDK/ndk-build
from android-gpuimage-plus.
@wysaid 大师兄,周末没看到,我这边就是这样编译的,运行总是报错,可能是我的原因,我再看看吧,麻烦你了!
from android-gpuimage-plus.
buildJNI:这个文件是干嘛用的?
from android-gpuimage-plus.
export CGE_USE_VIDEO_MODULE=1
$NDK/ndk-build
这样就行了
from android-gpuimage-plus.
还是没成功,算了,我还是用mediacodec做吧,多谢大师兄!
from android-gpuimage-plus.
大师兄,视音频不同步的情况,希望有时间的话研究一下!
from android-gpuimage-plus.
关于视音频不同步,会有这种情况:前一段时间正常,最后几十秒就出现了不同步
from android-gpuimage-plus.
Related Issues (20)
- signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) HOT 5
- 请问下 这个有磨皮的滤镜吗? HOT 4
- Cge tool HOT 1
- Load texture failed HOT 4
- UnsatisfiedLinkError: dlopen failed: library "libffmpeg.so" not found HOT 5
- Recording HEVC/H.265 HOT 1
- NoSuchMethodError HOT 5
- UnsatisfiedLinkError: dlopen failed: library "libffmpeg.so" not found HOT 2
- Fatal Exception: java.lang.OutOfMemoryErro HOT 1
- 彩绘效果,看视频滤镜效果能做么? HOT 1
- Crash while recording video with audio HOT 1
- 您好,请问可以支持鱼眼镜头效果么 HOT 3
- 请问能否提供CameraX的实现呢 HOT 3
- How to change color background
- How to do face effects HOT 8
- Low Bitrate and framerate issue HOT 4
- CGEImageHandler.nativeGetResultBitmap HOT 2
- NativeLibraryLoader.load (java.lang.UnsatisfiedLinkError) HOT 1
- 视频上14、15号字体有点模糊,使用原生SurfaceView播放清晰,请问是什么原因造成的呢 HOT 1
- 是否支持带有透明通道的png图片呢
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 android-gpuimage-plus.