html_menu

Sunday, July 12, 2015

ffmpeg - extract images from video and use another filter at the same time

Extract images from any video and scale it down by 2 at the same time

ffmpeg -i 20150711164121.m2ts -vf "fps=5, scale=iw/2:ih/2" -qscale:v 2 img%03d.jpg

Scaling (resizing) with ffmpeg
https://trac.ffmpeg.org/wiki/Scaling%20(resizing)%20with%20ffmpeg

Create a thumbnail image every X seconds of the video
https://trac.ffmpeg.org/wiki/Create%20a%20thumbnail%20image%20every%20X%20seconds%20of%20the%20video

http://superuser.com/questions/682826/ffmpeg-trying-to-take-thumbnail-fps-fps-1-60-works-but-not-fps-fps-1-600

No comments:

Post a Comment