[MPlayer-users] Create JPEG thumbnails of every second of a m4v file
Oliver Seitz
info at vtnd.de
Tue Aug 25 08:54:02 CEST 2009
> Hi There,
>
> We are using mencoder to change a video from mp4 to mv4, plus
> resize/encode
> it etc. What I need to do is create a JPEG of each second of the video
> once
> it is converted to mv4. Ive seen lots of examples that create a thumbnail
> of
> a specific time within the video... my we want to do all of the video,
> every
> second.
>
> Is this doable? and if so - any direction here is very appreciated please!
I think it can be done. Perhaps like this...
#!/bin/bash
mplayer $1 -vf framestep=$(mplayer $1 -frames 0 -identify | grep
ID_VIDEO_FPS= | cut -f 2 -d =) -vo jpeg
And it is all nicely described in the man page(s).
Greets,
Kiste
More information about the MPlayer-users
mailing list