上一页 1 ··· 9 10 11 12 13 14 下一页

2018年7月19日

摘要: 1.采样率 2.通道 3.采样格式(大小) 4.样本存储方式(大端 小端) aac支持的格式是AV_SAMPLE_FLTP >它是32位的,需要把16位格式重采样位32位才可以进行进行使用 大段模式 小段模式 : 存放字节的顺序,与二进制存储没有关系 数据格式仅有在双通道模式才才考虑,单通道是不考虑 阅读全文
posted @ 2018-07-19 19:29 zhang11111wei 阅读(4692) 评论(1) 推荐(0) 编辑
摘要: https://blog.csdn.net/matrix_laboratory/article/details/71757493 //视频花屏转载 一 常见的视频花屏原因 渲染脏数据 丢帧 图像格式转换 1.渲染脏数据是还为完成渲染的数据。具体来讲就是在视频帧渲染到一半的时候,即被送到编码器编码。 阅读全文
posted @ 2018-07-19 16:45 zhang11111wei 阅读(672) 评论(0) 推荐(0) 编辑

2018年7月18日

摘要: 设计模式的大概组成 程序逻辑时序图 程序实现的原理框架 阅读全文
posted @ 2018-07-18 18:09 zhang11111wei 阅读(266) 评论(0) 推荐(0) 编辑
摘要: //注册FFMpeg int dstW , int dst H , enum AVPixelFormat dstFormat , int flag) //对每一帧数据进行转换 sws_scale(struct SwsContext *context , srcSlice(高度 Slice[0]Sli 阅读全文
posted @ 2018-07-18 12:14 zhang11111wei 阅读(740) 评论(0) 推荐(0) 编辑
摘要: 一 RGB >YUV 1.sws_getCachedContext : 像素格式转换上下文(大小也转化) sws_getCachedContext(struct SwsContext *context , int srcW , int srcH , enum AVPixelFormat srcFor 阅读全文
posted @ 2018-07-18 12:13 zhang11111wei 阅读(291) 评论(0) 推荐(0) 编辑

2018年7月17日

摘要: 一 推流的流程: 二 传输协议 阅读全文
posted @ 2018-07-17 21:35 zhang11111wei 阅读(101) 评论(0) 推荐(0) 编辑

2018年7月14日

摘要: #include <jni.h> #include <string> #include <SLES/OpenSLES.h> #include <SLES/OpenSLES_Android.h> #include <android/log.h> #define LOGD(FORMAT,...) __a 阅读全文
posted @ 2018-07-14 20:30 zhang11111wei 阅读(271) 评论(0) 推荐(0) 编辑

2018年7月8日

摘要: #include <jni.h>#include <string>#include <SLES/OpenSLES.h>#include <SLES/OpenSLES_Android.h>//1 创建引擎static SLObjectItf engineSL = NULL;SLEngineItf Cr 阅读全文
posted @ 2018-07-08 23:26 zhang11111wei 阅读(479) 评论(0) 推荐(0) 编辑

2018年7月6日

摘要: 一.视频像素和尺寸转换函数 1.sws_getContext : 像素格式上下文 --------------->多副图像(多路视频)进行转换同时显示 2.struct SwsContext *sws_getCachedContext(struct SwsContext *context , int 阅读全文
posted @ 2018-07-06 21:35 zhang11111wei 阅读(1588) 评论(0) 推荐(0) 编辑

2018年7月5日

摘要: //初始化解封装 av_register_all(); avformat_network_init(); avcodec_register_all(); //封装文件的上下文 AVFormatContext *ic = NULL; char path[] = "sdcard/shape.mp4"; 阅读全文
posted @ 2018-07-05 21:13 zhang11111wei 阅读(408) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 下一页

导航