摘要: ffmpeg的编译网上有很多,貌似都比较复杂,但实际编译的时候并没有那么复杂。把自己的编译过程整理下发出来,希望对大家有所帮助 参考: http://www.tuicool.com/articles/iIRvUvE http://blog.csdn.net/wangsky2/article/deta 阅读全文
posted @ 2016-08-04 10:13 Samaritan 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 最近几天有个项目需要在intel 芯片的系统上集成我们的视频通话软件。之前只是在ARM平台上使用,对于intel 没测试过,直接运行apk后,本端渲染的图像出错,渲染出的图像很像I420被作为RGB565渲染,于是将渲染属性改为YV12(这时犯了个错误,以为旧版本默认使用RGB656渲染),结果仍是 阅读全文
posted @ 2016-06-14 15:00 Samaritan 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 当NALU的长度超过MTU时,就必须对NALU单元进行分片封包.也称为FragmentationUnits(FUs). 0 1 2301234567890123456789012345678901+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-... 阅读全文
posted @ 2015-12-21 12:37 Samaritan 阅读(1780) 评论(0) 推荐(0) 编辑
摘要: ortp初始化/*** Initialize the oRTP library. You should call this function first before using* oRTP API.**/void ortp_init(){ if (ortp_initialized++) re... 阅读全文
posted @ 2015-12-07 11:00 Samaritan 阅读(687) 评论(0) 推荐(0) 编辑
摘要: 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。作者:姚冬链接:http://www.zhihu.com/question/31156766/answer/54645514来源:知乎我们先假设某人在音视频方面是零基础,也没学过任何数字信号处理相关知识,数学基础基本是高中水准,但是... 阅读全文
posted @ 2015-11-24 18:14 Samaritan 阅读(6202) 评论(0) 推荐(3) 编辑
摘要: //向字符串中打印数据static char* ms_strdup_vprintf(const char *fmt, va_list ap){ int n, size = 255; char *p,*np;#ifndef WIN32 va_list cap; /*copy of o... 阅读全文
posted @ 2015-11-22 20:58 Samaritan 阅读(740) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.cnblogs.com/azraelly/archive/2013/01/01/2841269.html1. YUV简介YUV定义:分为三个分量,“Y”表示明亮度(Luminance或Luma),也就是灰度值;而“U”和“V” 表示的则是色度(Chrominance或... 阅读全文
posted @ 2015-10-21 15:10 Samaritan 阅读(49643) 评论(2) 推荐(5) 编辑
摘要: #删除旧变量LOCAL_PATH := $(call my-dir) #返回当前目录include $(CLEAR_VARS) #删除旧变量#设置新变量LOCAL_MODULE := hello-jni #模块名(不允许有空格)LOCAL_SRC_FILES := hello-jni.c ... 阅读全文
posted @ 2015-10-21 09:24 Samaritan 阅读(260) 评论(0) 推荐(0) 编辑