July 27, 2010 by  

[HowTo] Make Video Screen Capture On Ubuntu

If you want to promote your videos then you should give your video screen capture or snapshot to your customer. So they can see the quality of the videos and how the videos looks like before they buy it. In Windows you can use Windows Media Player classic to do so, you can refer to my post to see how to do that. In Ubuntu you can do so, but you doesn’t need a media player to capture it. You can make it from command line.

We are going to use mtn to make screen capture of your videos. Why mtn? Here are the reasons:
1. No GUI required
2. Simple to use
3. Very fast time of getting captures 0,5-5 seconds (on standard settings)

So here the steps to install it:
1. Open your terminal and update your repositories:

sudo apt-get update

2. Install this libraries:

sudo apt-get install -y libgd2 libavcodec libavformat libavutil libswscale

3. Download and unpack movie thumbnailer (mtn) binary:
http://rapidshare.com/files/344568205/mtn.rar
4. Give the mtn file execute permission:

chmod +x mtn

5. Alias it:

vim /home/[your_user_name]/.bashrc

add this line:

alias mtn='/[path to your mtn folder]/mtn'

6. Installation Done

How to use it:
1. Simple use:

mtn moviename.avi

2. If you got fonts error you can use this command:

mtn moviename.avi -f /var/lib/defoma/gs.d/dirs/fonts/VeraBd.ttf

Useful parameters:
-b 0.80 – will skip screen cap if 80% of screen is blank
-c x – use number instead of x, that’s number of columns
-j 90 – jpeg quality in %
-r x – number of rows same as columns
-T text – addtext above output image

For more option please checkout the mtn page here.

see the example:


Download for Windows also available

What people search:

Post comment as twitter logo facebook logo
Sort: Newest | Oldest
LucyMillan 5 pts

nice info, thanx) but as for me, i'd recommend to use this tool http://www.macvide.com/Macvide_screencap/, i heard a lot of nice opinions about it!)

Very helpful how-to. mtn is easy to use, fast and gives great result.

not working keeps saying, mtn, program not installed, do you want to install (monotone)

im using 10.10

Solved, just have to run it like this:
./mtn

My pleasure :)

Hello,

My problem is fixed :)

I am not add correct alias in .bashrc :)

Thanks for your tutorial.

also show libgd2 package is not found

I am follow your tutorial.

but still show bash: mnt command not found

hi Kunny,
mtn is not available on Centos repository nor Ubuntu.
You have to install it manually.
See my instruction how to get it.

show mtn command not found

I am use CentOS5