You are not logged in.

#1 2010-01-31 02:22:20

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Capturing desktop

I need to capture the desktop into a video stream, preferably recording audio input from the mic at the same time. I know there are programs to do this, but surely there's an awesome command line way with ffmpeg or something.


Personally, I'd rather be back in Hobbiton.

Offline

#2 2010-01-31 03:18:52

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Capturing desktop

man ffmpeg

Search for x11grab. FFmpeg supports both oss and alsa by default, but I'm not sure if the man page covers alsa.

Offline

#3 2010-01-31 03:22:39

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Re: Capturing desktop

Is it possible to get it straight off the graphics card, rather than X11?


Personally, I'd rather be back in Hobbiton.

Offline

#4 2010-01-31 03:24:41

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Capturing desktop

Anikom15 wrote:

Is it possible to get it straight off the graphics card, rather than X11?

Interesting question. Do you want to record from outside of X, like in the console, or directly from the video card itself?

Offline

#5 2010-01-31 03:27:01

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Re: Capturing desktop

Directly from the card.


Personally, I'd rather be back in Hobbiton.

Offline

#6 2010-01-31 03:32:28

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Capturing desktop

You can capture from /dev/video{0,1,2...etc} with some sort of format like x11grab or video4linux (1 or 2), but whether or not you can grab directly from the device is beyond me.

Offline

#7 2010-01-31 05:22:01

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Re: Capturing desktop

Maybe I can trick the card into thinking it's running 2 cloned displays, when the second display is a video container. Hmm . . . maybe some gnarly C hacker could do this one.


Personally, I'd rather be back in Hobbiton.

Offline

Board footer

Powered by FluxBB