LearningVideo icon indicating copy to clipboard operation
LearningVideo copied to clipboard

【Android 音视频开发打怪升级】系列文章示例代码(A demo to introduce how to develop android video)。本项目将从MediaCodec硬解,FFmpeg软解,OpenGL等方面,全方位讲解如何在Android上进行音视频编辑开发。

Results 23 LearningVideo issues
Sort by recently updated
recently updated
newest added

1、希望作者继续写下去,目前网上少有的 音视频实战教程 2、希望作者将 这个构建环境更新一下,我是一个在学习这个的小白,当我gradle 7.x as用 android studo chipmunk怎么也编不过,看样子是cmake那里的问题

clone 工程android studio 打不开

这里打印无法打开encoder的log ``` void BaseEncoder::OpenEncoder() { InitContext(m_codec_ctx); int ret = avcodec_open2(m_codec_ctx, m_codec, NULL); if (ret < 0) { LOG_ERROR(TAG, LogSpec(), "Fail to open encoder : %d", m_codec); return; } m_encode_stream_index =...

环境: ![image](https://user-images.githubusercontent.com/10626484/173234363-4edbfc73-3b98-4d12-b3df-b2294ca7db32.png) error: 2 files found with path 'lib/armeabi-v7a/libavcodec.so' from inputs: - /Users/yingci/myWidget/android/github/LearningVideo/app/build/intermediates/merged_jni_libs/debug/out/armeabi-v7a/libavcodec.so - /Users/yingci/myWidget/android/github/LearningVideo/app/build/intermediates/cxx/Debug/c2m2ip3a/obj/armeabi-v7a/libavcodec.so If you are using jniLibs and CMake IMPORTED targets, see https://developer.android.com/r/tools/jniLibs-vs-imported-targets ![image](https://user-images.githubusercontent.com/10626484/173234319-fa5e3856-4ff9-465b-ae6a-d4f598ec45ba.png)

hi, 阅读了【Android 音视频开发打怪升级】系列文章,对Activity的onDestory方法中会对dawer进行释放,会报如下错误 ``` libEGL: call to OpenGL ES API with no current context (logged once per thread) ``` 根据释义,调用OpenGL ES API的位置没有EGL的上下文对象,GLSurfaceView内部GLThread定义的EGL上下文对象。而onDestory位于主线程,是没有EGL上下文对象的,所才会报这个错。 然而,究竟应该在什么位置对申请的显存进行释放呢,包括shader、program、texture等? 不知道描述是否清晰,还望解答下疑问

问题日志如图: ![问题](https://user-images.githubusercontent.com/25957598/83487832-5c82ea80-a4de-11ea-881a-b014d46032b3.png)

错误日志如下:貌似是解析每一帧错误 2020-12-22 17:08:21.023 21293-21416/com.mao.ffmpegplayer I/EglCore: EGL version: 1.4 2020-12-22 17:08:21.025 21293-21416/com.mao.ffmpegplayer I/EglCore: EGL init success 2020-12-22 17:08:21.025 21293-21416/com.mao.ffmpegplayer I/OpenGLRender: Loop Render FRESH_SURFACE 2020-12-22 17:08:21.026 21293-21416/com.mao.ffmpegplayer D/OpenGLRender: View Port width: 1080,...

在你的示例项目和我照着你的代码敲的demo中,重打包功能都出现了一个异常 ![image](https://user-images.githubusercontent.com/16014068/78666380-dbf2a400-7909-11ea-835c-e7b3cfa68226.png) 一开始我以为是模拟器的问题,可是后面运行到平板上发现也有这个问题。 平板系统版本:6.0.1