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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...