Dear Stefano, everybody,

In Ubuntu I had to install libxvmc-dev (which triggers the installation of libx11-dev, libxext-dev, x11proto-video-dev and libxv-dev).

The main problems is that the configure command does not complain when options are incompatible with the installed system. So, "configure --enable-x11grab" will SILENTLY proceed to build ffmpeg, WITHOUT x22grab input when some libraries are missing.

The problematic part:


enabled x11grab &&
check_header X11/Xlib.h &&
check_header X11/extensions/XShm.h &&
check_header X11/extensions/Xfixes.h &&
check_func XOpenDisplay -lX11 &&
check_func XShmCreateImage -lX11 -lXext &&
check_func XFixesGetCursorImage -lX11 -lXext -lXfixes

which, of course, is correct, but, IMHO, should STOP and give an ERROR message if such checkings fails,

Just a suggestion,

best regards,

Gabriel Huecas

On 07/27/2010 11:56 AM, Stefano Sabatini wrote:
On date Tuesday 2010-07-27 14:30:20 +0530, Sridhar Venkataraman encoded:
Hi All.

I am planning to use FFMpeg to record my screen actions(for a
screencast) for Windows and Mac. I have the following questions
regarding that and would be glad if someone could answer them.


1.  Can FFMpeg be used to do screen capture (I am looking at
recording my actions on my desktop as well as recording the audio
from Mic) ? After going through the internet felt that we can do
it. Can someone please confirm this
My quick answer is *no* at least for Windows, there is no screen
capturing device available for it, and I currently have no much ideas
about which capturing interface is used in Windows (and BTW that would
be possible implementing such an interface).

2.  I believe to do screen capture we have to enable -x11grab in the
configuration while compiling FFMpeg. Even after compiling FFMpeg
with -x11grab I was unable to use the command. Got an error saying
"Unknown input format - x11grab". Though I have compiled can someone
please share me some good URL that gives me step-by-step guide
explaining how to recompile FFMpeg on Windows and Mac?
There is a glitch in the configure, for which if you enabled
--enable-x11grab and the configure cannot find the lbraries/headers
required, it will not complain and x11grab will be disabled. Maybe
I'll have a look at that.

As for what regards Linux/Mac (I'm not sure x11grab is available there):
http://verb3k.wordpress.com/2010/01/26/how-to-do-proper-screencasts-on-linux/

I am pretty new to FFMpeg, so would appreciate if someone could
guide me over this. If you feel the questions asked have been
answered already in some other thread, would be great if you could
direct me over there.

Thanks in advance.
Regards.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to