摘要:
音频领域有3A问题,所谓3A,是指声学回声消除(AEC, Acoustic Echo Cancel)、背景噪声抑制(ANS, Automatic Noise Suppression)、自动增益控制(AGC, Automatic Gain Control),今天聊一聊AEC。 1. 什么是AEC 从通 阅读全文
posted @ 2023-09-28 09:32
阿风小子
阅读(2067)
评论(0)
推荐(0)
摘要:
分离声道 1 转码(源文件没问题可以省略) ffmpeg -i jy.ts -vcodec h264 -acodec aac jy1.ts2 取一个声道 ffmpeg -i jy1.ts -af "pan=stereo|c0=FL|c1=FL" -c:v copy 1.ts 3 取另一个声道 ffm 阅读全文
posted @ 2023-09-27 09:25
阿风小子
阅读(735)
评论(0)
推荐(0)
摘要:
有多种实现方式: 一、使用 Set 对象: 1 Array.from(new Set(array)) 该方法会先创建一个 Set 对象,然后再使用 Array.from 方法将 Set 对象转换为数组,因为 Set 对象不允许有重复的元素,所以这样可以实现去重的效果。 但是,如果数组中的元素是对象, 阅读全文
posted @ 2023-09-21 16:26
阿风小子
阅读(282)
评论(0)
推荐(0)
摘要:
nginx.conf upstream websocket { server 119.91.250.33:8088; } server { listen 443 ssl; server_name www.javays.com; ssl_certificate /etc/nginx/www.javay 阅读全文
posted @ 2023-09-21 15:57
阿风小子
阅读(1931)
评论(0)
推荐(0)
摘要:
背景 Ffmpeg 中带有h264的解码,没有编码,需要添加x264。libx264是一个自由的H.264编码库,是x264项目的一部分,使用广泛,ffmpeg的H.264实现就是用的libx264。 FFmpeg是一套可以用来记录、转换数字音频、视频,并能将其转化为流的开源计算机程序。采用LGPL 阅读全文
posted @ 2023-09-21 15:21
阿风小子
阅读(468)
评论(0)
推荐(0)
摘要:
1.目标 目标:在linux上交叉编译windows的VLC版本,并实现功能的裁剪 2.搭建环境 2.1编译环境 系统版本:UnionTech OS Desktop 20 Home 内核版本:5.10.0-amd64-desktop VLC版本:3.0.18 预构建版本:vlc-contrib-x8 阅读全文
posted @ 2023-09-19 10:16
阿风小子
阅读(417)
评论(0)
推荐(0)
摘要:
安装依赖包以及编译arm-himix200交叉编译器步骤 1 配置默认使用 bash #sudo dpkg-reconfigure dash 选择 no 步骤 2 安装软件包 执行: #sudo apt-get install make libc6:i386 lib32z1 lib32stdc++6 阅读全文
posted @ 2023-09-16 10:45
阿风小子
阅读(496)
评论(0)
推荐(0)
摘要:
下载 libspeexdspPC上,编译。修改内置demo输入in.pcm ,输出out.pcm, 用音频分析软件及实测效果OK. #ifdef HAVE_CONFIG_H#include "config.h"#endif #include "speex/speex_preprocess.h"#in 阅读全文
posted @ 2023-09-14 17:53
阿风小子
阅读(373)
评论(0)
推荐(0)
摘要:
1.speexdsp的变量定义: SpeexEchoState *echo_state = NULL;//回声消除变量SpeexPreprocessState *pre_state = NULL;//噪声抑制变量int sampleRate = 16000;//16k采样率 2. speexdsp的 阅读全文
posted @ 2023-09-14 17:51
阿风小子
阅读(1031)
评论(0)
推荐(0)
摘要:
speex是音频编解码库,speexdsp是附加的音频DSP库,是音频降噪库,也有回声抑制和自动增益控制功能,即通常说的音频3A算法。 现在音频编解码大部分都是使用opus库,很少使用speex进行音频编解码,但还是会使用speexdsp库的3A算法对音频数据进行处理。 本例是在ubuntu环境下, 阅读全文
posted @ 2023-09-14 17:43
阿风小子
阅读(1764)
评论(0)
推荐(0)
浙公网安备 33010602011771号