LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-20-2012, 10:58 AM   #1
Mike_V
Member
 
Registered: Apr 2009
Location: Boston MA
Distribution: CentOS 6.2 x86_64 GNU/Linux
Posts: 59

Rep: Reputation: 19
Using ffmpeg to grab movie of a part of my screen and not the whole screen


Hi there,

I'm trying to capture a part of my screen as movie. From other sites I've found this:
Code:
ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq output.mpg -t 20
and it nicely captures a movie of my whole screen for 20 seconds, but I now want to restict the movie to only capture a part of the screen.

Does anybody have experience doing this with ffmpeg?

I have already played with the flags -padleft (which will give a black area on the left in the output and does not "restrict" the movie to capture a smaller area), and -cropleft ("error cropping picture").

I have been searching for a linux version of Capture Me that I use on my mac. Capture Me has a nice gui with a box that I can simply lay over a part of my screen that will then be recorded.

Thanks,
Mike

Edit: I'm currently working on linux CentOS 6.2 RedHat

Last edited by Mike_V; 06-20-2012 at 12:46 PM.
 
Old 06-20-2012, 04:34 PM   #2
mjolnir
Member
 
Registered: Apr 2003
Posts: 763

Rep: Reputation: 87
I don't use centos so your on your own with this. I use recordmydesktop with ubuntu and it works well.

From here: https://sites.google.com/site/develo...-on-centos-6-2

'How to install recordmydesktop on centos 6.2 Download the source tar.gz from http://recordmydesktop.sourceforge.net/downloads.php
Open terminal and cd into the directory which contains the tar.gz file
execute "tar -xvzf <filename>.tar.gz". This will create a new folder.
ecexute "cd <new folder name>"'

Code:
yum install zlib-devel
yum install libICE-devel
yum install libSM-devel
yum install libX11-devel
yum install libX11-devel
yum install libXext-devel
yum install libXfixes-devel
yum install libXdamage-devel
yum install libvorbis-devel
yum install libtheora-devel



make
make install
I do have some ffmpeg scriptlets somewhere on another box that will do this but recordmydesktop is much easier for just occasional use. I have a bad habit of forgetting how the heck I did something if I don't use it often. :-)

Last edited by mjolnir; 06-20-2012 at 04:44 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg screen capture with (video+sound) Stragonian Slackware 15 11-26-2011 08:11 AM
Screen grab software Paul_Lee Linux - Software 2 06-08-2010 09:01 PM
The movie screen appeared incorrectly thone Linux - General 1 08-11-2004 11:49 PM
grab - Simply a useless bash script to take a screen shot; Required command: import micxz Programming 2 10-08-2003 08:59 PM
Screen Movie Makers/Recorders Paul12 Linux - General 3 08-14-2001 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration