繁体   English   中英

Windows Ffmpeg - 将音频发送到声卡的 output

[英]Windows Ffmpeg - send audio to sound card's output

I have a sound card (Behringer UMC202HD) which connected to a Windows 10 computer by usb cable, i am able to recieve audio from input device with the following ffmpeg command: ffmpeg -f dshow -i audio="IN 1-2 (BEHRINGER UMC 202HD 192k)" -map_channel 0.0.0 -c:a pcm_s24le first_channel.wav -map_channel 0.0.1 -c:a pcm_s24le second_channel.wav

但是我无法使用 ffmpeg 将音频发送到声卡的 output,有什么办法吗? 如果有,我该怎么做?

我在 Windows 中尝试做的 Linux 版本(伪命令):

ffmpeg -i my_input.wav -f alsa alsa.behringer_out

我找不到使用 ffmpeg.exe 的方法,但是,我用 ffplay 找到了一个简单的方法:

  • Set the system's output to sound card from Windows sound settings and turn on mono audio option, simply run this code for send the output audio card's channel 1:

  • ffplay -i input.mp4 -af pan="stereo|c1=c1" -nodisp

  • 对于通道 0 和通道 1:

  • ffplay -i input.mp4 -af pan="stereo|c0=c0|c1=c1" -nodisp

暂无
暂无

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

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