go - GStreamer appsrc 不会向 autoaudiosink 播放音频
问题描述
我在使用 Pion 的 GStreamer 时遇到问题,我希望这个小组可以为我指明正确的方向,我不确定下一步该往哪里看
这有效
appsrc is-live=true do-timestamp=true name=src ! queue ! opusparse ! opusdec ! audioconvert ! wavenc ! filesink location=./test2.wav
这有效
audiotestsrc ! audioconvert ! pulsesink device-name=IQaudIOCODEC
但这并不
appsrc is-live=true do-timestamp=true name=src ! queue ! opusparse ! opusdec ! audioconvert ! audioresample! queue ! pulsesink volume=1 device-name=IQaudIOCODEC
当我查看 DOT 文件时,所有内容都已链接起来,看起来应该可以正常工作,但是没有音频!
我得到的唯一警告是:
WARN audio-resampler audio-resampler.c:274:convert_taps_gint16_c: can't find exact taps
编辑:我在 Mac 上使用 autoaudiosink 进行了测试,它工作正常。我在 Linux (raspberry pi 4) 上做了同样的管道,但它没有。没有新的警告。
解决方案
推荐阅读
- anylogic - 为什么延迟块为空时,Anylogic stopDelay() 函数会抛出错误?
- javascript - 在 vue 中使用颜色、百分比和度数输入生成手动线性渐变
- css - 单击closebtn时控制sidenav栏的宽度
- c# - 如何在 WPF 中记录方法并指定其返回类型
- javascript - 如何使用属性键而不是使用 Javascript 的值获取 JS 对象内的属性索引?
- sql-server - 如何基于SQL Server中的一张表删除两张表中的一行/多行
- mysql - 生成自动转储文件?
- reactjs - Typescript + jest 不能在模块外使用 import 语句
- firebase - 在 Flutter / Dart 和 Sound Null 中检索 firebase firestore 文档
- google-apps-script - 带有额外计算的 Google 表格拆分功能