FFmpeg in Android
文章平均质量分 90
在Android学习FFmpeg和视频直播相关的技术
kingdam578
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
FFmpeg In Android - tutorial-5- Synching Video同步视频
How Video Syncs 如何同步视频 So this whole time, we’ve had an essentially useless movie player. It plays the video, yeah, and it plays the audio, yeah, but it’s not quite yet what we would call a movie. So...转载 2019-10-27 11:59:38 · 449 阅读 · 0 评论 -
FFmpeg In Android - tutorial-4-Spawning Threads创建线程
Overview 概述 Last time we added audio support by taking advantage of SDL’s audio functions. SDL started a thread that made callbacks to a function we defined every time it needed audio. Now we’re going...转载 2019-10-26 10:35:42 · 296 阅读 · 0 评论 -
FFmpeg In Android - tutorial-3-Playing Sound播放音频
Audio 音频 So now we want to play sound. SDL also gives us methods for outputting sound.The SDL_OpenAudio() function is used to open the audio device itself. It takes as arguments an SDL_AudioSpec struc...转载 2019-10-25 17:07:06 · 203 阅读 · 0 评论 -
FFmpeg In Android - tutorial-2-Outputting to the Screen输出到屏幕
SDL and Video SDL 和视频 To draw to the screen, we’re going to use SDL. SDL stands for Simple Direct Layer, and is an excellent library for multimedia, is cross-platform, and is used in several projects....转载 2019-10-23 09:38:49 · 255 阅读 · 0 评论 -
FFmpeg In Android - tutorial-1-Making Screencaps
Overview 概述 Movie files have a few basic components. First, the file itself is called a container, and the type of container determines where the information in the file goes. Examples of containers a...转载 2019-10-22 15:03:54 · 224 阅读 · 0 评论 -
FFmpeg In Android - tutorial
ffmpeg is a wonderful library for creating video applications or even general purpose utilities. ffmpeg takes care of all the hard work of video processing by doing all the decoding, encoding, muxing ...转载 2019-10-21 13:28:12 · 168 阅读 · 0 评论 -
FFmpeg In Android - H264码流解码/OpenGL ES渲染
//TODO原创 2018-11-19 11:49:50 · 1251 阅读 · 0 评论 -
FFmpeg In Android - H264码流解码/转换为RGB
本节例子源码_NativeH264ToRgb.cpp 利用ffmpeg提供的swscale,可以将YUV格式的图片转换RGB,保存为PPM文件,或者转换为Bitmap渲染出来。也可以用第三方库libyuv(自备梯子) ...转载 2018-10-28 18:38:06 · 1024 阅读 · 0 评论 -
FFmpeg In Android - Yuv格式
Yuv格式转载 2018-10-26 12:52:50 · 268 阅读 · 0 评论 -
FFmpeg In Android - H264码流解码/保存Yuv
//TODO转载 2018-10-25 17:26:29 · 720 阅读 · 0 评论 -
FFmpeg In Android - JNI文档-2
8 Additional JNI Features 8.1 JNI and Threads Java VM支持多线程的并发执行,并发大大增加了复杂度,之前单线程时从没遇到过的.多线程可能同时访问同一个对象,同一个文件描述符,简单来说就是临界资源.为了最有效地使用本节,你应该事先对多线程的概念较为熟悉.你应该知道怎样用Java语言使用多线程,同步访问临界资源等,可以参考Concurrent Prog...翻译 2018-10-24 23:19:12 · 274 阅读 · 0 评论 -
FFmpeg In Android - 多媒体文件解封装/解码/保存Yuv
FFMPEG视音频编解码零基础学习方法 100行代码实现最简单的基于FFMPEG+SDL的视频播放器 FFmpeg很庞大,可以参考上面的链接,csdn上雷霄骅的博客,稍微熟悉点后可以看官方自带的例子,ffmpeg-3.3.8/doc/examples,通过例子熟悉FFmpeg的流程和函数.不过看了很多例子都是FFmpeg+SDL的,实际上我基本上都是在Android上编程,所以只用FFmpeg, ...转载 2018-10-24 12:00:34 · 739 阅读 · 0 评论 -
FFmpeg In Android - 移植
移植FFmpeg到Android: 编译脚本 其实编译脚本网上也挺多的了,不过一开始可能没那么容易成功,需要耐心,细心,还需要一点运气,比如有时NDK的版本编译通过不了,换另外一个版本又可以了.下面记录一下自己的编译过程: Linux 环境(Ubuntu 18.04.1 ,x86_64) NDK 版本(android-ndk-r13b) FFmpeg 版本(ffmpeg-3.3.8): 官网下载...转载 2018-10-23 10:58:12 · 246 阅读 · 0 评论 -
FFmpeg In Android -学习C/C++
学习C/C++经验: 写了多年C++,说一点自己的感悟。虽然自己近期没有接触C++了,但是毕竟学习的第一门语言就是C++,使用时间最长的也是它。回顾起来,它就像老朋友一样,始终带给我一份亲切感。尽管自己距离精通C++还有太漫长的距离,但也从使用C++的过程中有了不少的收获和感悟,在这里分享一下。 C++的入门学习曲线相对高一点,但是如果循序渐进,不刻意追求那些奇技淫巧的话,其实还好的。 就我自己...转载 2018-10-22 16:06:21 · 355 阅读 · 0 评论 -
FFmpeg In Android - JNI文档
NDK官方文档 NDK官方github demo 转:Android NDK开发扫盲及最新CMake的编译使用 The Java™ Native Interface Programmer’s Guide and Specification 1 简介 JavaTM Native Interface(JNI)是Java平台一项强力的特性.使用JNI的应用可以包含本地代码例如C和C++, 就像使用Jav...翻译 2018-10-21 23:11:50 · 387 阅读 · 0 评论 -
FFmpeg In Android - 简易播放器
模仿github项目havlenapetr/FFMpeg,编写的简单播放器 github项目havlenapetr/FFMpeg原创 2019-09-08 10:17:32 · 140 阅读 · 0 评论