How can I capture the audio output with GStreamer?
来源:互联网 发布:时标网络计划图软件 编辑:程序博客网 时间:2024/05/13 10:45
1down votefavorite
I’d like to capture only the output of a machine using GStreamer.
Using the following command:
gst-launch-1.0 -v alsasrc ! wavenc ! filesink location="output.wav"
I can record the microphone, but how can I record/capture just the audio output?
audio audio-recording gstreamer
add a comment
1 Answer
activeoldestvotes
up vote0down vote
If you're looking to capture the output of your soundcard, you'll have to use pulsesrc and set the device property to your soundcard's analog-stereo monitor source. Have a look here.
Here the relevant source would be alsa_output.pci-0000_80_01.0.analog-stereo.monitor
and you'd change your pipeline's input to
pulsesrc device = "alsa_output.pci-0000_80_01.0.analog-stereo.monitor"
0 0
- How can I capture the audio output with GStreamer?
- How can I output simple debugging messages
- Audio Capture with DirectShow
- How can I display the chevron for toolbar and open dropdowned popup menu with invisible buttons?
- How can I work around hidesBottomBarWhenPushed acting weird with the iOS 6 SDK?
- How can i change the title?
- Dealing with Audio Output Hardware
- How to mock the function with output parameter by cppumock?
- How can I capture raw 802.11 frames, including non-data (management, beacon) frames?
- How can I extract the SIGHASH flags from the signature?
- How can I connect to Android with ADB over TCP?
- How can I change a file's encoding with vim?
- How can I get file extensions with JavaScript?
- How can I autologin to desktop with systemd?
- How can I display the chevron button for toolbar?
- How can I change the TCP/IP tuning parameters?
- How can I run Perl system commands in the background
- Windows SDK Registry: How can I access the registry?
- AngularJS 表单
- 教你变换下蹲法 减肥塑形效果好
- fpga出来的 clock的幅度有问题
- The connection to adb is down, and a severe error has occured.
- page
- How can I capture the audio output with GStreamer?
- Android Studio把代码注释提出成为文档
- 大数据学习之Scala中数组(Array)与循环控制for联合使用学习(4)
- linux 批量删除目录下的文件夹,包含子文件
- menuToolBar.jsp(基于ext和echarts的前台展现)
- Hadoop零基础高端实战培训视频教程|2016最新Hadoop教程
- 安卓接入支付宝(demo遇到的问题)
- PHP 7.0 For Linux的安装使用与性能监测
- bash bad interpreter: 没有那个文件或目录