Re: [FFmpeg-user] extract frames every n frames

2019-04-28 Thread Carl Eugen Hoyos
2019-04-26 22:02 GMT+02:00, francesco piasentini : > Is working fine. > I'm working on a video that's a basically a slideshow of images morphing > through different steps. > frame 1: step 1 > frame +8: step 2 > +7 frames: step 3 > +6: step 4 > +8: step 5 > .. > +7: step n > > So the number of

Re: [FFmpeg-user] extract frames every n frames

2019-04-26 Thread francesco piasentini
Is working fine. I'm working on a video that's a basically a slideshow of images morphing through different steps. frame 1: step 1 frame +8: step 2 +7 frames: step 3 +6: step 4 +8: step 5 .. +7: step n So the number of frames between animation steps is variable, randomly, with a media of 7. If I

Re: [FFmpeg-user] extract frames every n frames

2019-04-26 Thread Moritz Barsnick
On Fri, Apr 26, 2019 at 14:54:07 +0200, francesco piasentini wrote: > Thanks Moritz! > it worked out very well: Nice! > .\ffmpeg -i input.wmv -ss 00:00:12.000 -vf select='not(mod(n\,7))' -vsync > vfr -compression_algo raw -pix_fmt rgb24 output.tiff -hide_banner > > is there the possibility to

Re: [FFmpeg-user] extract frames every n frames

2019-04-26 Thread francesco piasentini
Thanks Moritz! it worked out very well: .\ffmpeg -i input.wmv -ss 00:00:12.000 -vf select='not(mod(n\,7))' -vsync vfr -compression_algo raw -pix_fmt rgb24 output.tiff -hide_banner is there the possibility to have a grayscale 8bit output? best wishes f Il giorno gio 25 apr 2019 alle ore 00:57

Re: [FFmpeg-user] extract frames every n frames

2019-04-24 Thread Moritz Barsnick
Hi Francesco, On Wed, Apr 24, 2019 at 16:14:56 +0200, Francesco Piasentini wrote: > I need to extract frames every n frames. > Is there an option in ffmpeg? Sure. There's the "select" filter, which can take any kind of complex expression. Your requirement is even documented among the examples:

Re: [FFmpeg-user] extract frames every n frames

2019-04-24 Thread Carl Eugen Hoyos
2019-04-24 16:14 GMT+02:00, Francesco Piasentini : > I need to extract frames every n frames. > > Is there an option in ffmpeg? Please test the select filter: https://ffmpeg.org/ffmpeg-filters.html#select_002c-aselect Carl Eugen ___ ffmpeg-user

[FFmpeg-user] extract frames every n frames

2019-04-24 Thread Francesco Piasentini
Hi there. I saw many examples on how to extract frames every n seconds. I need to extract frames every n frames. Is there an option in ffmpeg? thanks fra ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org