From Wiki.cyring.fr
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.
....
xwininfo: Window id: 0x3c00002 "Application Title Name"
...
Corners: +642+203 -638+203 -638-157 +642-157
-geometry 1280x1080+640+180
$ recordmydesktop --no-sound --on-the-fly-encoding --windowid 0x3c00002
Initial recording window is set to:
X:642 Y:203 Width:1280 Height:1080
Adjusted recording window is set to:
X:642 Y:198 Width:1280 Height:1088
...
Initializing...
Output file: out.ogv
Capturing!
Shutting down....
Done.
Written 24619675 bytes
(24619675 of which were video data and 0 audio data)
..
Goodbye!
$ ffmpeg -i out.ogv -vcodec libvpx -an -sn -vb 2500k MyVideo.webm
Output #0, webm, to 'MyVideo.webm':
Metadata:
encoder : Lavf55.19.104
Stream #0:0: Video: vp8 (libvpx), yuv420p, 1280x1088 [SAR 1:1 DAR 20:17], q=-1--1, 2500 kb/s, 1k tbn, 15 tbc
...
frame= 690 fps= 17 q=0.0 Lsize= 14809kB time=00:00:50.13 bitrate=2419.8kbits/s
video:14803kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.040664%