Quote Originally Posted by n3had View Post
Code:
ffmpeg -f alsa -i plughw:0 -f x11grab -s 1920x1080 -r 24 -b 100k -bf 2 -g 300 -i :0.0 -ar 22050 -ab 128k -acodec libmp3lame -vcodec libxvid -aspect 1.77777778 -sameq MyScreencast.avi
using the above command gives me very low fps around 5 i guess.

Using the opensource Ati drivers for HD4200
Not working for me and this is getting me insane!!!

First of all, I had to adapt that command since it simply didn't work.
ffmpeg didn't knew what "alsa" was :s
> Unknown input or output format: alsa

I'm using ffmpeg SVN-r19468 built on Jul 20 2009 20:26:33, gcc: 4.3.3

I tried the following but only got a black screen and no sound:
ffmpeg -f oss -i /dev/audio -f x11grab -s 1280x1024 -r 24 -b 100k -bf 2 -g 300 -i :0.0 -ar 22050 -ab 128k -acodec libmp3lame -vcodec libxvid -aspect 1.6 -sameq MyScreencast.avi
Note that I'm trying to capture output audio.
That is, I want to open a video file and capture what is played to the speakers.
Ideally I would like to record both output and input audio streams.

I have nVidia proprietary drivers.

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0


$ cat /proc/asound/devices
0: [ 0] : control
1: : sequencer
16: [ 0- 0]: digital audio playback
17: [ 0- 1]: digital audio playback
24: [ 0- 0]: digital audio capture
25: [ 0- 1]: digital audio capture
33: : timer

$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf3ff8000 irq 22
Any ideas?


gnu/linux makes me :'(