Log in

View Full Version : Screenshotting avi files / mpeg etc..


shevegen
2nd December 2004, 17:01
Hey... i am embarassed to ask, but somehow i seem to be unable to make screenshots of an avi file.
At least while using xine.
I also use mplayer, but i dont know - someone knows how to make a screenshot of an avi-frame ? (Same for mpeg etc..)

akupenguin
2nd December 2004, 18:24
mplayer -vo x11 foo.avi
(play to the desired position, pause)
import -window MPlayer foo.png

echo
2nd December 2004, 18:27
I never used Xine so I don't know about it.
But with mplayer you should be able to have some screenshots if you use -vo png or jpeg or tga (check with -vo help). Combine that with -ss and have the video start a little before where you want the screenshot. You should be able to hear the sound of the movie. Quit mplayer when you like. There should be a screenshot of every frame in the same directory. Pick the one you like.
I know there should be a better way but I'm not that interested in taking screenshots so I haven't looked for other software to do this.

edit: akupenguin answered while I was typing. His method looks better! :D

shevegen
2nd December 2004, 21:35
Works, thanks!

Edit: I found it in xine too, its pressing the
t key, though you can edit this setting in keympa
in ~

Joe999
25th December 2004, 11:46
In Totem, there's also an option in the gui to save a frame as png.

DaveQB
4th January 2005, 13:21
Also in Ttoem there's the 'totem-video-thumbnailer' command

Don't know if thats what your after exactly.