音视频
ybn187
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ffmpeg 保存数据流到文件
av_register_all(); std::string filename = "d6.mp4";AVFormatContext *outContext = NULL;avformat_alloc_output_context2(&outContext, NULL, "mp4", filename.c_str());AVStream *stream = avformat_...原创 2020-04-08 14:37:31 · 1176 阅读 · 0 评论 -
c++ aac转pcm
最开始使用的是ffmpeg主要代码如下://注册所有的工具 av_register_all(); AVFormatContext *fmt_ctx = NULL; AVCodecContext *cod_ctx = NULL; AVCodec *cod = NULL; //分配一个avformat fmt_ctx = avformat_alloc_c...原创 2019-11-07 20:22:03 · 1471 阅读 · 2 评论 -
g726转pcm
g726转pcm1077协议,别人的设备,没参数,获取音频包,解析得知是g726编码刚开始找的是adpcm解码的,下面这个链接的https://blog.youkuaiyun.com/forfuture3513/article/details/51764814测试发现都是电流兹兹声,不对后来找到https://blog.youkuaiyun.com/xiejiashu/article/details/46505...原创 2018-10-10 13:46:04 · 4533 阅读 · 14 评论
分享