Pic Snatcher?

Paul Rumelhart godshatter at yahoo.com
Sun Feb 15 17:11:49 UTC 2009


Dotan Cohen wrote:
> 2009/2/15 Bill Vance <kbun at xpresso.seaslug.org>:
>   
>> Howdy folks;
>>
>> Does anyone know of a utitily that can play a video file, pause at a point
>> you choose, continuing one frame at a time till you get to the one you want,
>> and then save that frame as a std picture_file.jpg, or whatever?
>>
>> Bill
>>
>>     
>
> mplayer
>
>   

To do this, run the command "mplayer video_file.whatever -vf 
screenshot".  You may also need other switches to get the proper 
audio/video feedback and synchronization.  The following keys will help:

s - takes a screenshot, called shotnnnn.png, located in the current 
directory.
S - starts taking screenshots every frame until it is pressed again
SPACE - pauses the movie
.. - moves forward one frame when viewing

It doesn't seem to want to take a screenshot of the frame you are paused 
on, so your best bet is to grab a range using S or to just try your luck 
hitting s at the right time.  Maybe it's just my system that has this 
problem.

mplayer is not too user-friendly, but it has a huge range of options.  
Once you get a set of command-line parameters that work, you can put 
them in a config file.

Paul





More information about the kubuntu-users mailing list