View previous topic :: View next topic |
Author |
Message |
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Fri Aug 22, 2014 9:36 am Post subject: recording audio output ffmpeg[solved] |
|
|
I'm trying to record my laptop's audio using ffmpeg
here's what I have so far:
ffmpeg -f alsa -i default /tmp/out.flac
I've also tried -i hw0 and hw0,0, and pulse
all I get is a blank file unfortunately
I have no idea where to start debugging tbh
thanks
Last edited by Adel Ahmed on Sun Aug 24, 2014 6:40 am; edited 1 time in total |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat Aug 23, 2014 1:08 am Post subject: |
|
|
Some sound cards can record output, but the majority of modern hda-intel ones deliberately omit that feature (it's an idiotic form of copy protection invented in the windows vista era).
With -f pulse you need to tell ffmpeg to record from "Monitor of <device name>", pavucontrol will let you set that and it should remember the setting. |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Sun Aug 24, 2014 6:39 am Post subject: |
|
|
works like a charm
thanks |
|
Back to top |
|
|
|