File Exchange

image thumbnail

Save a video to images

version 1.0.0.0 (1.98 KB) by Shiquan Wang
%VIDEO2PIC converts viedo frames into pictures.

1 Download

Updated 19 Oct 2009

View License

%VIDEO2PIC converts viedo frames into pictures.
% This function uses mmreader to read videos. Thus video format supported
% by system can be converted to pictures. Output file name follows the
% format: VideoName_FrameNumber.PicSuffix.
%
% VIDEO2PIC input parameters interactively.
% VIDEO2PIC( VIDEOFILE, OUTPUTPATH, PICFORMAT ) runs as a
% function.
%
% videoFile: full path of video to convert.
% outputPath: pictures will be saved under outputPath/videoname/.
% picFormat: check 'help imwrite'
%
% Shiquan Wang @ CASIA
% sqwang@nlpr.ia.ac.cn
% http://www.cbsr.ia.ac.cn/users/sqwang/
% revised on 2009/10/19

Comments and Ratings (3)

Lukas

hello. it is possible to edit program if i want only for example every 5. frame?
thank you

Sinh Tran

Manuel

tanks you

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux