How to use ffmpeg to grab images from video files in a folder sequentially in MATLAB and save them in another folder
4 views (last 30 days)
Show older comments
SAMUEL EZICHI
on 23 Mar 2019
Answered: Image Analyst
on 23 Mar 2019
my_Dir = 'S1_GALLERY_BODY'; % curret directory. my_folder = dir(fullfile(my_Dir,'*.mp4')); for j = 1:numel(my_folder) G = system('ffmpeg -i fullfile(my_Dir,my_folder(j).name) -r 10 S1_%04dB.jpg'); my_folder(j).data = G ; %filename; end
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!