当前位置:网站首页>Exemple Quelle est la relation entre le taux d'échantillonnage, l'échantillon et la durée?
Exemple Quelle est la relation entre le taux d'échantillonnage, l'échantillon et la durée?
2022-07-05 18:22:00 【Hjjdebug】
sample_rate(Taux d'échantillonnage),sample(Échantillonnage),duration(Durée)Quelle est la relation
J'ai trouvé un paquet audio qui s'est désintégré en unframe Après,Les données suivantes sont disponibles
nb_samples = 1024
sample_rate = 48000
pkt_duration = 1920
pkt_size = 427
Quelle est la relation entre ces valeurs?
pkt_size = 427 Indique que la taille du paquet de compression audio est427 bytes
nb_samples = 1024 Ça veut dire qu'après le décodage1024Données d'échantillonnage
sample_rate = 48000 Ça veut dire qu'il faut diffuser chaque seconde48K Données
pkt_duration = 1920
sample_rate:Taux d'échantillonnage, Échantillonnage par seconde 48000HZ,ChaquesampleL'heure est1/48000Secondes
nb_samples: Nombre d'échantillons
Temps de lecture audio, nb_samples Le temps qu'un point d'échantillonnage peut jouer
duration_s=nb_samples*(1/48000)Secondes,
duration L'Unit é n'est pas une seconde,Ni milliseconde,Mais...AVStream Nombre de bases de temps.
duration=duration_s / av_q2d(st->time_base)
st->time_base - Oui. (1,90k), Etav_q2d=1/90k
Alors...duration En fait, c'est le nombre de secondes multiplié par 90K
Et:
duration = 1024 * 1/48K *90K = 1920
Cas particuliers: Si l'ordrest->time_base == sample_rate,
Etduration=nb_samples.
En plus, pts Oui. duration C'est long. .
边栏推荐
- 彻底理解为什么网络 I/O 会被阻塞?
- How to solve the error "press any to exit" when deploying multiple easycvr on one server?
- EasyCVR接入设备开启音频后,视频无法正常播放是什么原因?
- Image classification, just look at me!
- ClickHouse(03)ClickHouse怎么安装和部署
- 记一次使用Windbg分析内存“泄漏”的案例
- 小白入门NAS—快速搭建私有云教程系列(一)[通俗易懂]
- How to improve the thermal management in PCB design with the effective placement of thermal through holes?
- Find the first k small element select_ k
- 【PaddlePaddle】 PaddleDetection 人脸识别 自定义数据集
猜你喜欢

华夏基金:基金行业数字化转型实践成果分享

Sophon kg upgrade 3.1: break down barriers between data and liberate enterprise productivity

图片数据不够?我做了一个免费的图像增强软件

星环科技重磅推出数据要素流通平台Transwarp Navier,助力企业实现隐私保护下的数据安全流通与协作

To solve the stubborn problem of Lake + warehouse hybrid architecture, xinghuan Technology launched an independent and controllable cloud native Lake warehouse integrated platform

彻底理解为什么网络 I/O 会被阻塞?
![Maximum artificial island [how to make all nodes of a connected component record the total number of nodes? + number the connected component]](/img/8b/a60fc36115580f018445e4c2a28a9d.png)
Maximum artificial island [how to make all nodes of a connected component record the total number of nodes? + number the connected component]

Image classification, just look at me!

瀚升优品app翰林优商系统开发功能介绍

Find the first k small element select_ k
随机推荐
Is it safe for golden sun to open an account? Can I open an account free of 5 in case?
Introduction to the development function of Hanlin Youshang system of Hansheng Youpin app
How can cluster deployment solve the needs of massive video access and large concurrency?
【HCIA-cloud】【1】云计算的定义、什么是云计算、云计算的架构与技术说明、华为云计算产品、华为内存DDR配置工具说明
Einstein sum einsum
Nanjing University: Discussion on the training program of digital talents in the new era
在一台服务器上部署多个EasyCVR出现报错“Press any to exit”,如何解决?
模拟百囚徒问题
Sophon KG升级3.1:打破数据间壁垒,解放企业生产力
Sophon autocv: help AI industrial production and realize visual intelligent perception
LeetCode笔记:Weekly Contest 300
[JMeter] advanced writing method of JMeter script: all variables, parameters (parameters can be configured by Jenkins), functions, etc. in the interface automation script realize the complete business
ViewPager + RecyclerView的内存泄漏
Fix vulnerability - mysql, ES
ISPRS2022/雲檢測:Cloud detection with boundary nets基於邊界網的雲檢測
Numerical calculation method chapter8 Numerical solutions of ordinary differential equations
How to obtain the coordinates of the aircraft passing through both ends of the radar
写作写作写作写作
爱因斯坦求和einsum
Xiaobai getting started with NAS - quick building private cloud tutorial series (I) [easy to understand]