Re: Create JPEG thumbnails of every second of a m4v file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



> 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

_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux