Tuesday, August 18, 2015

Extracting complete image frames from video file using VLC

If you wish to extract the entire image frames from a video and if you have vlc player installed in your PC, the following command can be useful.

C:\VideoLAN\VLC>vlc "path\to\video\file.avi"
--video-filter=scene --vout=dummy --start-time=1
--stop-time=5 --scene-ratio=1 --scene-prefix=img-
--scene-path=path\to\destination\ vlc://quit

Since vlc supports most of the popular video formats you can simply change the video file extension and use it directly.

No comments:

Post a Comment

Followers