[MPlayer-users] Screenshot from specific frame number

Marlon Smith marlon.smith10 at gmail.com
Tue Mar 6 23:53:05 CET 2012


Thanks Lobster!  That was exactly what I needed; I can deal with it
taking a minute to speed through the file.

Much appreciated!

Marlon

On Wed, 2012-03-07 at 08:28 +1300, Lobster wrote:

> On 7/03/2012 8:15 a.m., Marlon Smith wrote:
> > Does anyone else have any thoughts on this?  I'd really appreciate it.
> >
> > Marlon
> >
> > On Mon, 2012-03-05 at 01:31 +0200, Onur Küçük wrote:
> >
> >> On Sun, 04 Mar 2012 15:26:49 -0800
> >> Marlon Smith<marlon.smith10 at gmail.com>  wrote:
> >>
> >>> Hi everyone,
> >>>
> >>> I have a raw h.264 video file, and I'd like to take a screenshot of
> >>> one of the frames.  I know the video is encoded at 30fps.  Normally,
> >>> I can use the -ss option to seek to the time location I want, but
> >>> since this is a raw h.264 file that doesn't seem to be an option.
> >>>
> >>> Can anyone think of a way for me to seek to a specific frame, and
> >>> take a screenshot of that frame?  That way I can still take a
> >>> screenshot at the time I want.
> 
> You could try using the framestep vf,
> i.e `mplayer -nosound -benchmark -vf framestep=2800 -frames 1 -vo png 
> input.h264`
> 
> be aware, every frame until the frame you want will be decoded,
> meaning if it is a long way into the file it may take a while.
> I have not tested this myself so cant confirm it will work.
> 
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users




More information about the MPlayer-users mailing list