【发布时间】:2017-01-22 15:42:56
【问题描述】:
我需要使用一些documented pulseaudio options for ffmpeg 之类的设备。文档中的示例有效,但仅设置流名称:
ffmpeg -i INPUT -f pulse "stream name"
我想使用一个名为播放设备的接收器。根据文档和谷歌搜索,我尝试了各种选项来指定设备。他们都给出错误(或不工作):
ffmpeg -i INPUT -f pulse -device playback-device
# At least one output file must be specified
ffmpeg -i INPUT -f pulse -device=playback-device
# Unrecognized option 'device=playback-device'. Error splitting the argument list: Option not found
ffmpeg -i INPUT -f pulse device=playback-device
# Plays to default device not the specified one
ffmpeg -i INPUT -device playback-device -f pulse
# At least one output file must be specified
设备在那里:
$ pactl list short sinks | grep playback
3 playback-device module-null-sink.c s16le 2ch 48000Hz IDLE
【问题讨论】:
标签: ffmpeg pulseaudio