Results 1 to 3 of 3

Thread: Recording specific window with ffmpeg?

  1. #1
    Join Date
    Aug 2013
    Beans
    100

    Recording specific window with ffmpeg?

    I was wondering if it was possible to record a specific window while record with ffmpeg via terminal? I'm trying to record minecraft gameplay but it does the whole screen, which I don't want because I play windowed mode.

    I record using this command:
    Code:
    ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /home/josh/videoTitle.mpg
    Thanks to anyone who can help me out.

  2. #2
    Join Date
    Aug 2013
    Beans
    86
    Distro
    Xubuntu

    Re: Recording specific window with ffmpeg?

    Someone asked this almost exactly a year ago.

  3. #3
    Join Date
    Sep 2006
    Beans
    3,470

    Re: Recording specific window with ffmpeg?

    See HOWTO: Proper Screencasting on Linux, specifically the section "Q: How do I get the exact size and coordinates of a specific window I want to capture?" (use xwininfo).

    Do not use "-sameq": it does not mean "same quality".

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •