FFMPEG- Convert video to images

后端 未结 3 468
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-31 08:03

how can i convert a video to images using ffmpeg? Example am having a video with total duration 60 seconds. I want images between different set of duration like between 2-6 seco

3条回答
  •  佛祖请我去吃肉
    2021-01-31 08:39

    You can use the select filter for a set of custom ranges:

    ffmpeg -i in.mp4 -vf select='between(t,2,6)+between(t,15,24)' -vsync 0 out%d.png
    

提交回复
热议问题