分页: 1 / 1
需要选取屏幕区域坐标
发表于 : 2007-09-15 18:16
由 eexpress
似乎没什么软件可以。就像import截图那样,仅仅需要选取区域的尺寸坐标。
写一个监视xev的脚本?在fvwm下。xev都输出不正常。读import源码?已经看晕了。xrandr?不知道是什么。gtk调用iconview的abi?剩下读xev源码了。
谁知道,赶紧说说。
通俗点描述需要。
执行一个东西。鼠标变+字,选择一个屏幕区域。结束。输出geometry。
发表于 : 2007-09-15 18:57
由 86Ubuntu
支持一下
发表于 : 2007-09-16 19:38
由 eexpress
tab补全了x命令。一个一个看。蛮多惊喜的。
xmag xli xlito xrandr 取屏幕,放大的。测试X参数的。什么都有。看晕了。
发表于 : 2007-09-24 11:20
由 drivel
Kubuntu下的默认带的截图软件可以选择区域,不知道是不是import做back的
发表于 : 2007-09-24 11:37
由 eexpress
哦。我是要CLI的,可以输出这个geometry参数的。要调用到recordmydesk。
import是独立软件呢。
发表于 : 2007-09-24 11:48
由 bones7456
ee一天到晚在捣鼓些啥玩意啊?
顺便问个问题,纯文本界面下有办法截图没?
发表于 : 2007-09-24 12:07
由 eexpress
tty下有。我用过的不是截屏,是鼠标截文字的,都不记得发过帖子没。谁谁说过有截图片的。tty下,搞这个,太生僻了啊。
发表于 : 2007-09-24 12:18
由 bones7456
呃,那先告诉我,tty下怎么启用鼠标....
发表于 : 2007-09-24 12:19
由 eexpress
☎ aw gpm
软件包: gpm
状态: 未安装
版本号: 1.19.6-23build1
优先级: 可选
部分: universe/misc
维护者: Ubuntu Core Developers <
[email protected]>
未压缩尺寸: 676k
依赖于: libc6 (>= 2.5-0ubuntu1), debconf (>= 0.5) | debconf-2.0, debianutils (>=
1.7), ucf (>= 0.28), lsb-base
描述: General Purpose Mouse Interface
This package provides a daemon that captures mouse events when the system
console is active, and delivers events to applications through a library.
The default when no application is running is to emulate "selection", that is,
to allow cut-and-paste with the mouse on the console the same way as it is done
under X.
发表于 : 2007-09-24 12:29
由 bones7456
恩,学习了,回去实验下...哈哈
发表于 : 2007-09-24 13:16
由 eexpress
代码: 全选
☎ cat srecord.bash
#!/bin/bash
xwininfo >tmp
w=`grep Width tmp`; w=${w#*:};
h=`grep Height tmp`; h=${h#*:};
x=`grep 'Absolute.*X' tmp`; x=${x#*:};
y=`grep 'Absolute.*Y' tmp`; y=${y#*:};
NOW=`date '+%Y-%m-%d-%H-%M-%S'`
[ $x -lt 1 ] && x=1;
[ $y -lt 1 ] && y=1;
s="recordmydesktop -x $x -y $y -width $w -height $h -o ${NOW}.ogg"
echo $s
read ok
echo execute now
eval $s
找不到了。没办法了。出一个ugly的方法。放好一个窗口,执行bash,点窗口,移开窗口,回终端按下回车,开始录制。
@@@@@@@@@@@@@@@@@@@@@@@啊。
发表于 : 2007-09-24 15:02
由 eexpress
其实有这样的。
ffmpeg can also grab the screen
2007-08-11 20:54:00 AndresVia [Reply | View]
As of version 3 (2007-AGO-01) ffmpeg can grab from X11.
From the man page:
ffmpeg -f x11grab -s cif -i :0.0 /tmp/out.mpg
Which is a *lot* easier.
vnc2swf creates flash movies from vnc streams.
vncrec records vnc sessions for later playback to a vnc client, but there is a 'transcode' plugin for vncrec files which allow conversion to movie formats (theres even a movie showing this done).
xvidcap没multi-frame功能了。ffmpeg都有安装。还有时崩溃。
发表于 : 2007-09-30 0:42
由 myst_tt
是说和 command: xwininfo
相似的功能么? 额外要作的是鼠标截取一个区域
发表于 : 2007-09-30 9:27
由 eexpress
就是那xgrab的功能。有人写了这个功能,在一个工具内部调用。1楼是要求。
其实,可以从scrot里面剔出来的。那源码看了。只是奇怪,没现成的?