[FFmpeg-user] scene cut doesn't output to image?

Clément Bœsch ubitux at gmail.com
Fri Sep 7 22:24:26 CEST 2012


On Fri, Sep 07, 2012 at 01:58:34PM -0600, Roger Pack wrote:
> Hello all.
> 
> I noticed that this works:
> 
> ffmpeg -i sintel.mpg -vf select="gt(scene\,0.4)",scale=160:120,tile
> -frames:v 1 preview.png
> 
> (creates a single tiled frame with the first frame of each scene).
> 
> However, a user pointed out [1] that if you try and extract
> "thumbnails" one per scene, using the same filter, it seems to create
> "the normal number" of image files, but each is a duplicate of the
> first frame in that scene:
> 
> $ ffmpeg -i sintel.mpg -vf select="gt(scene\,0.4)" preview%04d.png
> 
> Anybody know what I'm doing wrong here?
> 

It looks like the same issue as https://ffmpeg.org/trac/ffmpeg/ticket/1644

Using -vsync vfr as stated in the first comment should help.

> Thanks!
> -roger-
> 
> [1] http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=7&t=680

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20120907/0117d2c4/attachment.asc>


More information about the ffmpeg-user mailing list