iT邦幫忙

1

python 錄音問題(已解決)

ddx 2022-03-23 17:43:36800 瀏覽
  • 分享至 

  • xImage

我參考這篇和這篇
https://www.796t.com/article.php?id=144246
https://zhuanlan.zhihu.com/p/92205480

第一篇會報
OSError: [Errno -9996] Invalid input device (no default output device)
第二篇則是
OSError: [Errno -9998] Invalid number of channels

這兩篇我都去找過了,網上是有人說改input_device_index或是channels的部分
但我改了依舊沒用
有人知道問題在哪嗎?

我沒插MIC所以他偵測不到才會一直報錯......哈哈

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答