Skip to main content

crop a dual monitor desktop screencast recording in Linux using mencoder

I used the Linux screencasting software RecordMyDesktop to make a screencast in a dual monitor environment.

Here's how I extracted out the relevant portion of the desktop screencast video.

How to crop a video using mencoder and Linux.


I could not enable RecordMyDesktop to record a screencast of set dimensions of 1900x1000 from 3840x1080 of the total desktop dimension.

I resolved this issue by post processing the resultant screencast video, 3840x1080, using the mencoder software tool.

I extracted the pertinent content dimensions of 1900x1000 at an offset of 1921x10 from the left and from the top or the display of a total size of 3840x1080.

http://recordmydesktop.sourceforge.net/



Using mencoder to extract 1900x1000 from a video of dimensions of 3840x1080 from an offset position of 1921x10.

mencoder out-2.ogv -vf crop=1900:1000:1921:10,harddup -ovc xvid -xvidencopts bvhq=1:chroma_opt:quant_type=mpeg:bitrate=658:pass=2 -oac copy -o cropped.mp4

[ total screen size: 3840x1080 ]
The "crop=1900:1000:1921:10" argument to mencoder does the following:

1900:1000 resultant output video dimension will be 1900x1000.

1921:10 extract video from x pixels from the left and y pixels from the top

[ to install mencoder ]
sudo apt-get install mencoder

Comments

Popular posts from this blog

clonezilla - creating a wifi ad-hoc hotspot and running a ssh server

Here are some notes on connecting to a wifi-hotspot from a running clonezilla
live-cd.

[ target machine to save a backup hard-disk clone/image ]
[ target machine is also running a wifi hotspot and an ssh server ]
Ubuntu 11.04 - Natty Narwhal

terry@terry-HP:~$ uname -a
Linux terry-HP 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
terry@terry-HP:~$

[ Creating an 'ad-hoc' wifi spot ]
Click the 'up down arrow' icon ( or what have you )


[ choose menu item to create a wifi ad-hoc hotspot ]

[ create the ad-hoc wifi hotspot ]

[ the eth1 connection is the created ad-hoc network with an essid of 'terry' ]

[ the ad-hoc wifi hotspot is now visible on the 'host' computer and other computer as well now ]

[ enter the following on the machine being cloned with clonezilla
[ at the appropriate place in the clonezilla backup image step ]
terry@terry-HP:~$ ip link set wlan0 down
terry@terry-HP:~$ iwconfig wlan0 mode ad-hoc
terry@…

Translators, maps, conduits, and containers

Interpreters
The Amiga had a hardware emulator which transformed instruction to instruction to a dedicated x86 hardware interpreter in the Amiga could run Microsoft DOS spreadsheet programs in the Amiga OS.

MS-DOS on Amiga via Sidecar or Bridgeboard[edit]
MS-DOS compatibility was a major issue during the early years of the Amiga's lifespan in order to promote the machine as a serious business machine. In order to run the MS-DOS operating system, Commodore released the Sidecar for the Amiga 1000, basically a 8088 board in a closed case that connected to the side of the Amiga. Clever programming (a library named Janus, after the two-faced Roman god of doorways) made it possible to run PC software in an Amiga window without use of emulation. At the introduction of the Sidecar the crowd was stunned to see the MS-DOS version of Microsoft Flight Simulator running at full speed in an Amiga window on the Workbench.

Later the Sidecar was implemented on an expansion card named "Bridgebo…

Use Gwenview to upload images to picasaweb.google.com

Use Gwenview to upload images to https://picasaweb.google.com/

install the following KDE4 plugins:

terry@narwhal:~/download$ sudo apt-get install kipi-plugins
From Linux Clicks...
the Gwenview application...

From Linux Clicks...