当前位置:网站首页>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. .
边栏推荐
- LeetCode 6111. 螺旋矩阵 IV
- 修复漏洞 - mysql 、es
- 快速生成ipa包
- Is it safe to open an account and register stocks for stock speculation? Is there any risk? Is it reliable?
- GIMP 2.10教程「建议收藏」
- 小白入门NAS—快速搭建私有云教程系列(一)[通俗易懂]
- 英语句式参考
- Isprs2022 / Cloud Detection: Cloud Detection with Boundary nets Boundary Networks Based Cloud Detection
- nano的CAN通信
- 【在優麒麟上使用Electron開發桌面應】
猜你喜欢
![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]

The 2022 China Xinchuang Ecological Market Research and model selection evaluation report released that Huayun data was selected as the mainstream manufacturer of Xinchuang IT infrastructure!

吳恩達團隊2022機器學習課程,來啦

About Estimation with Cross-Validation

JVM third talk -- JVM performance tuning practice and high-frequency interview question record

记录Pytorch中的eval()和no_grad()

记一次使用Windbg分析内存“泄漏”的案例
![最大人工岛[如何让一个连通分量的所有节点都记录总节点数?+给连通分量编号]](/img/8b/a60fc36115580f018445e4c2a28a9d.png)
最大人工岛[如何让一个连通分量的所有节点都记录总节点数?+给连通分量编号]

pytorch yolov5 训练自定义数据

Sophon autocv: help AI industrial production and realize visual intelligent perception
随机推荐
Crontab 日志:如何记录我的 Cron 脚本的输出
EasyCVR接入设备开启音频后,视频无法正常播放是什么原因?
How to improve the thermal management in PCB design with the effective placement of thermal through holes?
Image classification, just look at me!
Use of print function in MATLAB
Star ring technology data security management platform defender heavy release
The 2022 China Xinchuang Ecological Market Research and model selection evaluation report released that Huayun data was selected as the mainstream manufacturer of Xinchuang IT infrastructure!
English sentence pattern reference
sample_rate(采样率),sample(采样),duration(时长)是什么关系
分享:中兴 远航 30 pro root 解锁BL magisk ZTE 7532N 8040N 9041N 刷机 刷面具原厂刷机包 root方法下载
图扑软件数字孪生 | 基于 BIM 技术的可视化管理系统
Penetrate the whole intranet through socks agent
To solve the stubborn problem of Lake + warehouse hybrid architecture, xinghuan Technology launched an independent and controllable cloud native Lake warehouse integrated platform
音视频包的pts,dts,duration的由来.
Thoroughly understand why network i/o is blocked?
从类生成XML架构
【在优麒麟上使用Electron开发桌面应】
Find the first k small element select_ k
Matlab built-in function how different colors, matlab subsection function different colors drawing
Is it safe to open an account, register and dig money? Is there any risk? Is it reliable?