Jump to content

ffmpeg screen record


javaguy
 Share

Recommended Posts

Like the title says. Sorry if this is a newbie question.

 

ffmpeg -f x11grab -r 30 -s 1280x1024 -i :0.0 -f alsa -i hw:1,1 -ac 2 screenrecord.avi

 

This records screenrecord.avi, and it looks good, but there's no sound.

 

I tried hw:0,0 (that was the first way I tried it) and got an error message.

 

aplay -l

gives me this:

 

**** List of PLAYBACK Hardware Devices ****
card 0: ICE1724 [iCEnsemble ICE1724], device 0: ICE1724 [iCE1724]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: ICE1724 [iCEnsemble ICE1724], device 1: ICE1724 IEC958 [iCE1724 IEC958]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 0: AD198x Analog [AD198x Analog]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 1: AD198x Digital [AD198x Digital]
 Subdevices: 1/1
 Subdevice #0: subdevice #0

 

What I'd really like is to be able to do a screencast that captures all the application sounds and mic input, but just the app sounds would be awesome.

 

Any suggestions?

 

Thanks!

Link to comment
Share on other sites

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...