简体   繁体   English

我在哪里可以下载带有 opus 负载类型的 RTP pcap 文件?

[英]Where can I download RTP pcap file with opus payload type?

I want to download RTP pcap with opus payload type.我想下载带有 opus 负载类型的 RTP pcap。 I find an example file at here .我在这里找到了一个示例文件。 Sampling rate and number of channels in this opus encoded packet respectively are 48000 KHz and 2. I want to check extra opus packets with another valid values for this parameters.这个 opus 编码数据包中的采样率和通道数分别为 48000 KHz 和 2。我想用这个参数的另一个有效值检查额外的 opus 数据包。 Where can I find these files or How can I generate them?我在哪里可以找到这些文件或如何生成它们?

Use ffmpeg to generate the opus pcap :使用 ffmpeg 生成 opus pcap :

ffmpeg -f dshow -channel_layout stereo -i audio="Microphone Array (Realtek High Definition Audio)" -c:a libopus -ab 48k -f rtp rtp://IP-Address:PORT

Change the Name Audio input device based on your PC's Audio device.根据您 PC 的音频设备更改名称音频输入设备。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM