[FFmpeg-user] Large Video Project

andrei ka andrei.k.gml at gmail.com
Fri Jan 25 17:06:41 EET 2019


i'd think about adding scene change detection to your fixed number of
frames extact, lot's of things may happen during 4 secs. i bet you can add
this just as an extra filter to that simple mod 240  filter, so everything
will be done in 1 pass

On Fri, Jan 25, 2019 at 3:55 PM Dennis Mungai <dmngaie at gmail.com> wrote:

> On Fri, 25 Jan 2019 at 17:32, Joshua Barnard <
> Joshua.Barnard at lawrencedavid.co.uk> wrote:
>
> > Hi all,
> >
> > Thank you for taking the time to read this.
> >
> > I'm working on a project for my company that involves creating a time
> > lapse video.
> >
> > The issue I'm having is that I have 6TB of raw video recorded at
> > 1080p/60FPS and I need to condense this down to 5-10 minutes of video
> > footage.
> >
> > Is it possible to use FFMPEG to create a still image every 240 frames?
> >
> > Kind Regards,
> >
> >
> > Joshua Barnard
> > Group Marketing Manager
> >
> >
> > Lawrence David Limited
> >
> >
> >
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
>
> Hello there,
>
> It's possible.
>
> For a single image every 240 frames, assuming a frame rate of 60, you can
> exploit the select filter as shown:
>
> ffmpeg -i input -filter:v 'select=not(mod(n\,240))' image%02d.png
>
> To use time-based selection which will also include the first frame:
>
> ffmpeg -i input -filter:v
> 'select=isnan(prev_selected_t)+gte(t-prev_selected_t\,4),setpts=N/(60*TB)'
> image%02d.png
>
> For documentation, see the select and the setpts filters:
>
> 1. Select: http://ffmpeg.org/ffmpeg-filters.html#select_002c-aselect
>
> 2. setpts filter:
> http://ffmpeg.org/ffmpeg-filters.html#asetpts_002c-setpts
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list