up vote 1 down vote favorite
share [g+] share [fb]

I am trying to capture a certain region of the screen (actually its specifically a number of visible windows) on Windows XP with FFMPEG but I can only find options to capture from X11:

http://ffmpeg.org/ffmpeg-doc.html#SEC4

Is there any way to do it using the win32 binaries on Windows XP? If it can't I am open to any hacks like making various windows X11 accessible some how?

link|improve this question
feedback

3 Answers

Check this page.

  1. Use ffmpeg -version to check that you have a version with --enable-x11grab.

  2. Use xwininfo -frame to find information about your window (position etc). Finally you do something like:

    ffmpeg -f x11grab -s 1600x1200 -b 512k -r 24 -i :0.0+30,20 out.avi
    

    (assuming you have a window at 30x20 on screen with size 1600x1200 and you want 24fps and 512kbps for your video)

link|improve this answer
feedback

I was searching for the same thing. I found that ffmpeg can't capture from the Windows screen.

However, you could try ImageMagick which works on all platforms.

link|improve this answer
feedback

http://betterlogic.com/roger/2011/08/ffmpeg-screen-capture-directshow/ describes how basically use a directshow screen capture device. (for windows anyway).

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.