tell me, comrades, I have a MJPEG stream.

Now I write it ffmpeg `3 k / s, but so I eat a big stream, which I do not need

I need to grab just 1 frame per minute.

Who-thread faced with such tasks? Do you have to write pribluda or can you do with the ffmpegʻa command line?

  • Look at the -r option, suddenly what you need. - lampa
  • Unfortunately, it is not enough ... - Afftobus

1 answer 1

-r in this case, you must put in front of -i as an input stream parameter. Frames that do not satisfy this will be ignored.