Screen capture and making movies

Greetings fellow cybersquatters!
Came across an annoying problem today that had me stumped for a while. I wanted to do two specific things:
1. I wanted to capture a portion of the screen but, since I wanted to capture the same area repeatedly so that I could make a sequence of pictures, I needed to find a way to capture that did *not* involve me selecting a region of the screen for each picture over and over again because that would have been too time consuming.
2. Once I had a sequence of screen captures, I wanted to turn them into a movie.
Do I hear someone say "Linux to the rescue?". If so, I couldn't agree more!
Linux tip alert......
To capture a portion of the screen - in my case, a browser window - I decided to use good old *ImageMagick*. ImageMagick's *import* command can be used to capture an area of the screen AND it can also be given command-line parameters. For those of you who go slightly queasy at the mere mention of the words "command" and "line", stick around, this really is not a difficult tip to implement at all....
Since I wanted *import* to capture only a specific portion of the screen, I began with the following command:
import -window root -crop 100x200+100+200 example001.jpg
Hitting enter on that will cause import to take a picture of the root window and crop it down to 100 by 200 pixels at the co-ordinates 100 from the left of the screen and 200 from the top of the screen. The parameter "-window root" tells import to capture the entire screen. You could also tell import to capture a specific window, if you like.
My problem was, I didn't want to capture an entire window, just a part of a window. And I didn't want to capture the entire screen, just a part of the screen. That's what the second half of my command line accomplished. By using the parameters:
100x200+100+200
I was telling capture that AFTER taking a picture of the whole screen, it should move 100 pixels to the right, and 200 pixels down (+100+200) and then select an area 100 pixels by 200 pixels in size (100x200). The final argument to import is the filename you want to save to, in my case "example001.jpg".
The best way to get a feel for what I described above is to try it out yourself, just use my command line and mess around with the 4 size parameters (AxB+C+D) and see what effect it has on the output file "example001.jpg".
After tinkering with the size parameters myself, I finally succeeded in selecting an area that was exactly right for my purposes: It covered the area of interest, but not the window dressings, borders, scrollbars, banner ads, etc.
And after that it was just a matter of advancing to the next page in the browser, and then invoking the command line command above again, except this time with a filename +1 (i.e. example001.jpg, example002.jpg, etc). No selecting capture sizes, no dragging or clicking with the mouse, just arrow up to get the previous command, change the filename, and hit enter. One second later, your picture is saved!
Making movies
What the above paragraphs left me with was a series of sequentially numbered jpg files which I then needed to turn into a movie. This was easily accomplished by using the program "images2mpg". On my distro (Fedora 10), images2mpg is part of the "kipi-plugins" package. Before using it in the manner described below, I also had to install the "mpg123" and "mjpegtools" packages.
Once all that was in place, I moved into the directory that held my jpeg files and entered the following command (from a console, of course):
images2mpg -M /usr/bin -f SVCD -d 2 -S 420mpeg2 -o MyMovie.mpg -i *.jpg
What does all that MEAN? Okay, the "-M" flag shows images2mpg where the mjpegtools programs are located. I had to use this flag with the parameter "/usr/bin" because images2mpg wasn't apparently able to find the mjpegtools programs by itself. The "-f" flag tells images2mpg which format to encode to. In my case, SVCD was fine. If you want to know what other formats images2mpg supports, just enter "man images2mpg" from the command line. The "-d" flag stands for duration. I set my duration to two seconds, which means that each jpeg picture is displayed for two seconds in your movie, before the next picture is displayed. The "-S" parameter determines - wait for it - the "Chroma subsampling mode". I used 420mpeg2 which seems to be a reasonable default for an mpeg2 movie. "-o" is the name of the output file and "-i" is the name, or names, of your input file or files. In my case, I just used "*.jpg" since my jpeg files were sequentially numbered, thereby ensuring that they would be used in the correct order by images2mpg without any further tinkering.
And there you have it: Your very own movie, constructed from multiple jpeg images.
Tux lives.



Reader Comments (5)
This is a good article,thank you for your share,I like it very much.Our products are superior in quality and moderate in price and are sure to be saleable in your market,by virtue of this superior quality, this product is often sold out in many areas. This new product is really much better than the previous one. You have to try it to believe it.replica hermes|
Thanks for taking the time to talk about this, I feel fervently about this and I take pleasure in learning about this topic. Please, as you gain information, please update this blog with more information. I have found it very useful
Cheap Positano Gucci Handbags
collection designerchanel bags online store wallets
Free shopping walletsLouis Vuitton bagsGucci Offers replica
Offers replica Gucci handbags fromgucci bags louis vuitton ladies
women in our louis vuitton ladiesgucci 2010 designer wallets
wallets Gucci Browngucci bags Free shopping our gucci
wallets walletsgucci outlet toWelcome
handbag comes purseslouis vuitton bags and other collection
break. buy cheapgucci handbagsa cappuccino Leather 211944
louis vuitton ladies you arelv wallet This authentic louis vuitton ladies
As for Word 2010, Microsoft Office I really like the ribbon effect Microsoft Office 2007. The only really annoying thing so far is Micro office 2010 that once a document is closed, it doesn't show up on the "Recent Documents" list if it is download Office 2010 saved in the temp directory (for example). So, 2010 office if you forget to save your doc to the Office 2007 right place, it may be hard to find. For me, being on the set of the Martha Stewart television show Office Microsoft 2010 was a treat. It was the Office 2010 download second time, actually, because back in October Anduin showcased Office Microsoft Microsoft OneNote on the air for how it was office 2010 professional helping her keep track of everything from her daughter's school information to her holiday gift list to her complete set of Thanksgiving plans. This was simple to install, early loaded onto my new Windows 7 program. Office 2010 I had no problem MS office 2007 linking over old files from my MS office 2010 old computer. Old file information was easy absorbed by the 'New' versions of the various office products and Microsoft outlook 2010 in just a few minutes all my Office 2007 key old data was reasonable so I had very minimal down time. Last week, the Martha Stewart show featured Microsoft office professional 2010 Word in a television segment about office 2010 pro how to make personal holiday cards quickly and easily. As the product guy responsible for most of the Office Microsoft outlook apps, of course I was Office 2007 download tickled by the fact that Office 2010 Microsoft Word was going to be on TV. Word doesn't get much stage time, you understand. She's definitely the behind-the-scenes kind of girl; much like Anduin Havens, who is the art director for the Microsoft Office 2010 Martha Stewart show download Office 2007. Anduin has got to be one of the 2010 Office Microsoft most creative people I've ever met. She's brilliant, she's won an Emmy for her work on creating the Outlook 2010 set of the show, and she made Office 2010 key these beautiful holiday cards office 2010 home in Word, which were featured on the air.
It’s really a nice and helpful piece of information.!~!~!~!~!~~~~~~~~~~~~~~~~~!!
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie uk
Abercrombie Fitch uk
Abercrombie & Fitch uk
Abercrombie and Fitch uk
Abercrombie outlet
Abercrombie online
Abercrcrombie store
Abercrombie shop
Abercrombie
I’m glad that you shared this helpful info with us. Please keep us informed like this. Thanks for sharing.
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie uk
Abercrombie Fitch uk
Abercrombie & Fitch uk
Abercrombie and Fitch uk
Abercrombie outlet
Abercrombie online
Abercrcrombie store
Abercrombie shop
Abercrombie
What a fun pattern! It's great to hear from you and see what you've sent up to.
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Milano
Abercrombie Fitch Milano
Abercrombie & Fitch Milano
Abercrombie and Fitch Milano
Abercrombie Italia
Abercrombie Fitch Italia
Abercrombie and Fitch Italia
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Milano
Abercrombie Fitch Milano
Abercrombie & Fitch Milano
Abercrombie and Fitch Milano
Abercrombie Italia
Abercrombie Fitch Italia
Abercrombie and Fitch Italia
Abercrombie
Abercrombie & Fitch
All of the projects look great! You make it so simple to this. Thanks
Abercrombie and Fitch
Abercrombie Deutschland
Abercrombie Fitch Deutschland
Abercrombie & Fitch Deutschland
Abercrombie and Fitch Deutschland
Hollister Deutschland
Hollister Frankfurt
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Deutschland
Abercrombie Fitch Deutschland
Abercrombie & Fitch Deutschland
Abercrombie and Fitch Deutschland
Hollister Deutschland
Hollister Frankfurt
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie London
Abercrombie Fitch London
Abercrombie & Fitch London
Abercrombie and Fitch London
Abercrombie outlet
Abercrombie online
Abercrcrombie hoodies
Abercrombie men
Abercrombie women
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie London
Abercrombie Fitch London
Abercrombie & Fitch London
Abercrombie and Fitch London
Abercrombie outlet
Abercrombie online
Abercrcrombie hoodies
I am often to blogging and i really appreciate your content.
Abercrombie men
Abercrombie women
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Paris
Abercrombie Fitch Paris
Abercrombie & Fitch Paris
Abercrombie and Fitch Paris
Abercrombie France
Abercrombie Fitch France
Abercrombie and Fitch France
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Paris
Abercrombie Fitch Paris
Abercrombie & Fitch Paris
Abercrombie and Fitch Paris
Abercrombie France
Abercrombie Fitch France
Abercrombie and Fitch France
Hollister
Hollister UK
Hollister London
Hollister outlet
Hollister online
Hollister clothing
Hollister clothes
Hollister sale
Hollister
Hollister UK
Hollister London
Hollister outlet
Hollister online
Hollister clothing
Hollister clothes
Hollister sale
Hollister
Hollister UK
Hollister London
Hollister outlet
Hollister online
Hollister clothing
Hollister clothes
Hollister sale
Hollister
Hollister outlet
Hollister online
Hollister clothing
Hollister clothes
Hollister sale
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie Deutschland
Abercrombie Fitch Deutschland
Abercrombie & Fitch Deutschland
Abercrombie and Fitch Deutschland
Hollister Deutschland
Hollister Frankfurt
tiffany uk
tiffany London
tiffany outlet
tiffany online
The article has really peaks my interest. I am going to bookmark your site and keep checking for new information.
tiffany jewelry
tiffany co
Hollister
Hollister UK
Hollister London
Hollister outlet
Hollister online
Hollister clothing
Hollister clothes
Hollister sale
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie London
Abercrombie Fitch London
Abercrombie & Fitch London
Abercrombie and Fitch London
Abercrombie outlet
Abercrombie online
Abercrcrombie hoodies
Abercrombie men
Abercrombie women
Abercrombie
Abercrombie & Fitch
Abercrombie and Fitch
Abercrombie uk
Abercrombie Fitch uk
Abercrombie & Fitch uk
Abercrombie and Fitch uk
Abercrombie outlet
Abercrombie online
Abercrcrombie store
Abercrombie shop
jack wills
jack wills outlet
jack wills online
jack wills clothing
jack wills uk
jack wills clearance
jack wills sale
A unique discussion merits a comment. I LOVE YOU