当前位置:网站首页>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. .
边栏推荐
- 修复漏洞 - mysql 、es
- Thoroughly understand why network i/o is blocked?
- Sophon base 3.1 launched mlops function to provide wings for the operation of enterprise AI capabilities
- The 10th global Cloud Computing Conference | Huayun data won the "special contribution award for the 10th anniversary of 2013-2022"
- Introduction to Resampling
- 关于服装ERP,你想知道的都在这里了
- ConvMAE(2022-05)
- 项目中遇到的问题 u-parse 组件渲染问题
- 通过SOCKS代理渗透整个内网
- 如何获取飞机穿过雷达两端的坐标
猜你喜欢

Record a case of using WinDbg to analyze memory "leakage"

Sophon CE社区版上线,免费Get轻量易用、高效智能的数据分析工具

Simulate the hundred prisoner problem

node_exporter内存使用率不显示

Nacos distributed transactions Seata * * install JDK on Linux, mysql5.7 start Nacos configure ideal call interface coordination (nanny level detail tutorial)

Sophon kg upgrade 3.1: break down barriers between data and liberate enterprise productivity
![含重复元素取不重复子集[如何取子集?如何去重?]](/img/b2/d019c3f0b85a6c0d334a092fa6c23c.png)
含重复元素取不重复子集[如何取子集?如何去重?]

About Statistical Power(统计功效)

Nanjing University: Discussion on the training program of digital talents in the new era

《力扣刷题计划》复制带随机指针的链表
随机推荐
Privacy computing helps secure data circulation and sharing
Eliminate the writing of 'if () else{}'
Generate classes from XML schema
Vulnhub's darkhole_ two
Nacos distributed transactions Seata * * install JDK on Linux, mysql5.7 start Nacos configure ideal call interface coordination (nanny level detail tutorial)
图扑软件数字孪生 | 基于 BIM 技术的可视化管理系统
集群部署如何解决海量视频接入与大并发需求?
About Statistical Power(统计功效)
图片数据不够?我做了一个免费的图像增强软件
Access the database and use redis as the cache of MySQL (a combination of redis and MySQL)
Sibling components carry out value transfer (there is a sequence displayed)
兄弟组件进行传值(显示有先后顺序)
VC编程入门浅谈「建议收藏」
JDBC reads a large amount of data, resulting in memory overflow
Can communication of nano
爱因斯坦求和einsum
检查命名空间和类
LeetCode笔记:Weekly Contest 300
About statistical power
Leetcode notes: Weekly contest 300