Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
recording audio output ffmpeg[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Fri Aug 22, 2014 9:36 am    Post subject: recording audio output ffmpeg[solved] Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat Aug 23, 2014 1:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Sun Aug 24, 2014 6:39 am    Post subject: Reply with quote

works like a charm

thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum