GithubHelp home page GithubHelp logo

Comments (29)

wysaid avatar wysaid commented on June 18, 2024 5

预计这周末提供视频相关所有代码🙂

from android-gpuimage-plus.

chongbo2013 avatar chongbo2013 commented on June 18, 2024 2

这个我已经做了,但是 大师兄还没开源 cge .so 很多东西都不能 自己修改,坐等开源

from android-gpuimage-plus.

forgekxf avatar forgekxf commented on June 18, 2024 2

@xufeifandj 能否分享一下具体实现的源码,我想把文字添加进去

from android-gpuimage-plus.

gif-gif avatar gif-gif commented on June 18, 2024 1

把cgeFFmpegNativeLibrary 类里 去掉判断 #ifdef CGE_USE_FFMPEG 就能正常运行了

from android-gpuimage-plus.

forgekxf avatar forgekxf commented on June 18, 2024

能否分享一下

from android-gpuimage-plus.

chongbo2013 avatar chongbo2013 commented on June 18, 2024

感谢大师兄,到时候一定发红包,感谢

from android-gpuimage-plus.

forgekxf avatar forgekxf commented on June 18, 2024

@xufeifandj 视频分段添加水印你是怎么实现的?可否指点一下!

from android-gpuimage-plus.

chongbo2013 avatar chongbo2013 commented on June 18, 2024

直接在 native层里面,离屏渲染,绘制都是opengl原来的绘制方法,记得绘制前关闭,vbo即可

from android-gpuimage-plus.

forgekxf avatar forgekxf commented on June 18, 2024

@xufeifandj 不太理解,需要补充下知识

from android-gpuimage-plus.

chongbo2013 avatar chongbo2013 commented on June 18, 2024

慢慢来,opengl es fbo vbo 这些相关的 知识去看看

from android-gpuimage-plus.

forgekxf avatar forgekxf commented on June 18, 2024

好的,面对这个需求目前有点抓瞎~

from android-gpuimage-plus.

wysaid avatar wysaid commented on June 18, 2024

已开源视频相关所有模块~你们可以参考

from android-gpuimage-plus.

chongbo2013 avatar chongbo2013 commented on June 18, 2024

ok 赞大师兄。

from android-gpuimage-plus.

forgekxf avatar forgekxf commented on June 18, 2024

大师兄,看代码有点懵,能不能提供一个方法在编码的时候可以指定时间添加文字水印

from android-gpuimage-plus.

chongbo2013 avatar chongbo2013 commented on June 18, 2024

我把加水印的给你吧

from android-gpuimage-plus.

forgekxf avatar forgekxf commented on June 18, 2024

@xufeifandj 多谢!加下你的QQ吧!

from android-gpuimage-plus.

forgekxf avatar forgekxf commented on June 18, 2024

@wysaid 大师兄,编译完后运行报错~
java.lang.UnsatisfiedLinkError: Native method not found: org.wysaid.nativePort.CGEFFmpegNativeLibrary.avRegisterAll:()V

from android-gpuimage-plus.

forgekxf avatar forgekxf commented on June 18, 2024

@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.

wysaid avatar wysaid commented on June 18, 2024

我自己试了一下, 没问题的。
org.wysaid.nativePort.CGEFFmpegNativeLibrary.avRegisterAll();V
就在 cgeFFmpegNativeLibrary.cpp 里面, 你自己看嘛。

from android-gpuimage-plus.

forgekxf avatar forgekxf commented on June 18, 2024

@wysaid 您是怎么编译的,我什么都不改,编译运行还是不成功,我编译出来的libCGEExt.so比您编译的体积要小

from android-gpuimage-plus.

forgekxf avatar forgekxf commented on June 18, 2024

@wysaid 大师兄如果有时间希望能出一个接口,可以给视频任意时间段添加水印!

from android-gpuimage-plus.

forgekxf avatar forgekxf commented on June 18, 2024

@wysaid 真是不好意思,视频小白水平实在有限~~~

from android-gpuimage-plus.

wysaid avatar wysaid commented on June 18, 2024

@forgekxf

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.

forgekxf avatar forgekxf commented on June 18, 2024

@wysaid 大师兄,周末没看到,我这边就是这样编译的,运行总是报错,可能是我的原因,我再看看吧,麻烦你了!

from android-gpuimage-plus.

forgekxf avatar forgekxf commented on June 18, 2024

buildJNI:这个文件是干嘛用的?

from android-gpuimage-plus.

wysaid avatar wysaid commented on June 18, 2024
export CGE_USE_VIDEO_MODULE=1
$NDK/ndk-build

这样就行了

from android-gpuimage-plus.

forgekxf avatar forgekxf commented on June 18, 2024

还是没成功,算了,我还是用mediacodec做吧,多谢大师兄!

from android-gpuimage-plus.

forgekxf avatar forgekxf commented on June 18, 2024

大师兄,视音频不同步的情况,希望有时间的话研究一下!

from android-gpuimage-plus.

forgekxf avatar forgekxf commented on June 18, 2024

关于视音频不同步,会有这种情况:前一段时间正常,最后几十秒就出现了不同步

from android-gpuimage-plus.

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.