[email protected] wrote:

> I've a file taken with a mobile phone.
>
> The detail is execrable.
>
> It's important to identify a couple of faces in the file.
>
> I've asked around. The best I have is to go through the file, select a
> critical frame, download it and use The Gimp to sharpen a given face.
>
> First off, can this be done?

I haven't tried loading video files into gimp (I'm assuming you mean
some sort of video file right?).
I know that you can convert frames to pictures using mplayer:

  mplayer video_file  -vo png -ss 1:00:00 -endpos 4

This will approximately play from 1hr to 1:00:04 and capture the
frames as png images in the current directory (I haven't actually
tested it so you might need to add the compression option in (-vo
png:z=0 etc).  There's also jpeg which has more options in my version
of mplayer.

You may need to check which -vo's are supported:
  mplayer -vo help


I think you can also apply filters on the video using -vf including
unsharp mask:
  mplayer -vf help
A random example:
  mplayer video_file  -vo png -vf unsharp=l7x7:1.5 -ss 1:00:00 -endpos
4

See the man page for mplayer.

Other ways of sharpening the resulting images might include: getting
gimp to batch process them (haven't done this); or using imagemagick's
'convert' to sharpen the images using something like the -sharpen
option in a simple shell script.


--
Daniel Bush
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to