[MPlayer-dev-eng] key frame extractor / vo_jpeg use YV12 instead of RGB patch

RC rcooley at spamcop.net
Sat Mar 17 07:47:34 CET 2007


On Fri, 16 Mar 2007 21:29:32 +0100
Andreas Krebs <andreas.krebs at web.de> wrote:

> I didn't find any setting to get e.g. the 20 most representative
> frames in a movie - how can this be done?

First you'll have to define what the "most representative frames" are...

I would start with something simple, like outputting every 10th
keyframe, and tweaking things from there. 

> from what I understand -vf decimate does only remove near duplicates,
> but I guess it can be modified to keep only really different frames.

Whether it's near duplicates or entirely different frames just depends
on the metrics you supply it.

> the only problem I see, is that I need the frame number from the input
> movie (so that I later can use the file name with the frame number for
> seeking in the video). is this information globally available, so that
> I can modify vo_jpeg to use this number instead of counting the frames
> itself?

Try: 
  priv->frame_cur




More information about the MPlayer-dev-eng mailing list