SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i did compile ffmpeg from
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
without any errors (as far as i am concerned)
and ffmpeg is also kind of working - i did some conversion of audiofiles ...
and got:
FFmpeg version SVN-r7676, Copyright (c) 2000-2006 Fabrice Bellard, et al.
configuration: --enable-libogg --enable-mp3lame --enable-vorbis --enable-x11grab --enable-gpl
libavutil version: 49.2.0
libavcodec version: 51.29.0
libavformat version: 51.8.0
built on Jan 23 2007 23:15:59, gcc: 3.4.6
Unknown input or output format: x11grab
do i have to configure my xserver?
i run Slackware 11.0 with dri according to http://dri.freedesktop.org/wiki/Building and my xserver is running with 1024x768 and Depth 16.
thank you for your reply, but this doesnt help - i did this allready ...
but with -s 1024x768 (i have this resolution)
i also tested the whole thing with Screen Depth 24 - no difference ...
do i need some extra libs, or do i have to patch the source?
What does it do when you run the line i posted (with -s 1024x768) ? Exactly the same as it did before, or a different error?
If it compiled without failure (and it sounds like it did) then you shouldn't need any extra libs, because they're already there. And the source-patching malarky is only if you have old ffmpeg verions (it got included into the newer ones) - so no, no need to patch the source.
I'm just rebuilding ffmpeg with my setup and the extra x11grab option, so, i'll let you know how I get on ...
Thank you again, i really appreciate your help.
So now i'm back and did a svn update - thought maybe its this shared/static thing so compiled it a little more like you:
here is my try same as before ...
Code:
user@darkstar:~/src/ffmpeg$ ./ffmpeg -f x11grab -vd x11:0.0 -s 1024x768 out.mpg
FFmpeg version SVN-r7751, Copyright (c) 2000-2006 Fabrice Bellard, et al.
configuration: --enable-x11grab --enable-gpl --enable-shared --disable-static
libavutil version: 49.2.0
libavcodec version: 51.29.0
libavformat version: 51.8.0
built on Jan 28 2007 20:21:00, gcc: 3.4.6
Unknown input or output format: x11grab
it compiled without any errors i think
here is what it says after configure (i dont see any x11grab?):
PHP Code:
user@darkstar:~/src/ffmpeg$ ./configure --enable-x11grab --enable-gpl --enable-shared --disable-static install prefix /usr/local source path /home/hiro/src/ffmpeg C compiler gcc make make .align is power-of-two no ARCH x86_32 (generic) big-endian no MMX enabled yes CMOV enabled no CMOV is fast no gprof enabled no debug symbols yes strip symbols yes optimize yes static no shared yes postprocessing support no software scaler enabled no video hooking yes Imlib2 support yes FreeType support yes network support yes IPv6 support yes threading support no SDL support yes Sun medialib support no AVISynth enabled no liba52 support no liba52 dlopened no libdts support no libfaac enabled no libfaad enabled no faadbin enabled no libgsm enabled no libmp3lame enabled no libnut enabled no libogg enabled no libtheora enabled no libvorbis enabled no x264 enabled no XviD enabled no zlib enabled yes AMR-NB float support no AMR-NB fixed support no AMR-WB float support no AMR-WB IF2 support no License: GPL Creating config.mak and config.h...
i'm some how lost ...
edit:
sry forgot this one:
Code:
user@darkstar:~/src/ffmpeg$ ./ffmpeg -vcodec mpeg4 -b 1000 -r 10 -g 300 -vd x11:0,0 -s 1024x768 test.avi
FFmpeg version SVN-r7751, Copyright (c) 2000-2006 Fabrice Bellard, et al.
configuration: --enable-x11grab --enable-gpl --enable-shared --disable-static
libavutil version: 49.2.0
libavcodec version: 51.29.0
libavformat version: 51.8.0
built on Jan 28 2007 20:21:00, gcc: 3.4.6
Could not find video grab device
The only thing left I can think of is that I'm using the nVidia drivers (i have an xv video driver), which have some extra headers. I think these are for opengl, however.
What video driver are using?
[Edit]
Two more things ...
1. I don't have x11grab in the final ./configure report
2. I *DO* have video formats compiled in, although why that would affect any raw grab idk.
Thought I'd post this for the poor folks like me trying to get this to work; After a few hours digging, I finally got this to work.
I was missing libxext-dev, X11 miscellaneous extensions library (development headers). Once I added that pkg, the ./configure output gave me these "indevs"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.