{"id":65,"date":"2008-12-12T04:56:24","date_gmt":"2008-12-12T10:56:24","guid":{"rendered":"http:\/\/www.imed.ws\/blog\/2008\/12\/12\/using-ffmpeg-to-extract-or-convert-videos-to-images\/"},"modified":"2008-12-12T04:56:24","modified_gmt":"2008-12-12T10:56:24","slug":"using-ffmpeg-to-extract-or-convert-videos-to-images","status":"publish","type":"post","link":"https:\/\/www.imed.ws\/blog\/2008\/12\/12\/using-ffmpeg-to-extract-or-convert-videos-to-images\/","title":{"rendered":"Using FFMPEG to extract or convert videos to Images"},"content":{"rendered":"<p>The simple command to use to convert a given video video.ext to a set of images preferably with the naming format XXXX.png is :<\/p>\n<p><code>ffmpeg -i video.ext %4d.png<\/code><\/p>\n<p>It will produce images with the  naming : 0001.png 0002.png and so on. You can try different image format if needed ( Jpeg, bmp&#8230;)<\/p>\n<p>In case you want to extract and convert only a specific portion of the video :<\/p>\n<p><code>ffmpeg -ss hh:mm:ss -t hh:mm:ss -i video.ext %4d.png<\/code><br \/>\n-ss option is the starting point whilst -t option is the duration to be converted.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The simple command to use to convert a given video video.ext to a set of images preferably with the naming format XXXX.png is : ffmpeg -i video.ext %4d.png It will produce images with the naming : 0001.png 0002.png and so on. You can try different image format if needed ( Jpeg, bmp&#8230;) In case you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,8,1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/posts\/65"}],"collection":[{"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/comments?post=65"}],"version-history":[{"count":0,"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/posts\/65\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/media?parent=65"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/categories?post=65"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.imed.ws\/blog\/wp-json\/wp\/v2\/tags?post=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}