cytopia / ffscreencast

ffscreencast - ffmpeg screencast/desktop-recording with video overlay and multi monitor support
MIT License
1.77k stars 76 forks source link

[Feature] partial screencapture #5

Closed dimitrieh closed 7 years ago

dimitrieh commented 8 years ago

It would be great to select a part of the screen to record (to get it into another CLI or with within this app > for gif output)

cytopia commented 8 years ago

As this is a cli program, I still haven't figured out how to do that best to still be user friendly, but also not make too much use of the mouse.

Any recommendations for how it should be done are welcome... use window id or select window via mouse or select portion of screen via mouse...

Best would be an option to tell the program via parameter what to do... Any hints?

dimitrieh commented 8 years ago

hi, thanks for your reply.. the point is i have found similar programs such as your in the past, but never got them working due to X11 (always gave me errors while executing make).

See:

I believe they have an option to select a screen region using the mouse or select a running application and crop the region to it (with or without padding).

cytopia commented 8 years ago

Looks like there is still some work to be done on it. The cases I have identified so far are:

The examples you posted (especially, the original) are pretty good to get some ideas from.

Anyway I guess the whole thing will be a major change and requires some time for planning, as I also want to support others operating systems like osx, linux and bsd.

dimitrieh commented 8 years ago

Hi I thought back to this project when i saw a perfect implementation of this concept by cloudapp. This is ultimately how it should be ;)

see the following screencast!

screencast

btw is there an error with ffscreencast not casting the mouse? see #8

output to gif would be incredible! see #9

be able to start, pause and stop recording would add additional bling! see #10

cytopia commented 8 years ago

Added for future reference:

Get window dimensions:

dimitrieh commented 7 years ago

@cytopia btw if you can figure out how to get xrectsel installed on osx, you could use this: https://github.com/lolilolicon/xrectsel

it has problems with libx11

cytopia commented 7 years ago

@dimitrieh I guess it has to be something native on OSX, otherwise it will be too bothering for users to deal with it.

If somebody is willing to help with osascript or other native osx stuff, I can implement at least the select-window task.

cytopia commented 7 years ago

@dimitrieh This will be addressed in #23. Please have a look there.