Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept region geometry on command line #3

Open
ropery opened this issue Oct 8, 2016 · 0 comments
Open

Accept region geometry on command line #3

ropery opened this issue Oct 8, 2016 · 0 comments

Comments

@ropery
Copy link

ropery commented Oct 8, 2016

Hey, pretty neat idea using xinput + dzen2 to overlay keystrokes.

However, xscast currently only allows selecting a window via xwininfo. I'd like to request an option -g, for passing simple X-style geometry on the command line,

xscast -g 640x480+300+100 o.gif

You may wonder how that would ever be useful.
Well, with FFcast it can be very useful. The following will record a free selection (drag the mouse):

ffcast -s xscast -g %g o.gif

A side effect of this is that the user no longer has the window frame to indicate the recording area.
This is easy to fix by passing -f x11grab -show_region 1 to ffmpeg.


An unrelated side note:
Try adding -layers Optimize before $outfile in the convert command.
It can seriously reduce the file size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant