Filter löschen
Filter löschen

Where can I find video files with the avi extension ?

5 Ansichten (letzte 30 Tage)
abood kasim
abood kasim am 13 Jan. 2024
Beantwortet: Image Analyst am 15 Jan. 2024
Hi, I want to do research on video encryption. Where can I find the original video of
flamingo.avi , rhinos.avi ,train.avi ,viptrain.avi , foreman.avi that used by researchers always for encryption
thank you

Antworten (3)

Walter Roberson
Walter Roberson am 13 Jan. 2024
Verschoben: Image Analyst am 15 Jan. 2024
which viptrain.avi
/MATLAB/toolbox/vision/visiondata/viptrain.avi
I do not know where the others are at the moment.

Sulaymon Eshkabilov
Sulaymon Eshkabilov am 14 Jan. 2024
Bearbeitet: Sulaymon Eshkabilov am 15 Jan. 2024
If you want to find out what .avi files are resiging in a specific directory/folder, then this is how to do it:
Folder = '\OneDrive\Documents\MATLAB'; % Specify the address where the *.avi files are residing
Avi_Files = dir(fullfile(folder, '*.avi')); % Find all the *.avi ext files inside a specified directory
% Display the names of all the *.avi files:
for jj = 1:numel(Avi_Files)
disp(Avi_Files(jj).name)
end
  4 Kommentare
abood kasim
abood kasim am 15 Jan. 2024
i am find two videos, with your maner rhinos,viptrain thank you agin
Sulaymon Eshkabilov
Sulaymon Eshkabilov am 15 Jan. 2024
Hi Abood,
The point here is that you should accept the proposed anwer by me or Walter, and not your comment "Thank you sir". And if you like the proposed answer, you can also vote "Thumb up"
All the best.

Melden Sie sich an, um zu kommentieren.


Image Analyst
Image Analyst am 15 Jan. 2024
To find all files under a top level folder, you can do it like this:
% Specify the top level folder where the *.avi files are residing
folder = 'C:/Program Files/MATLAB';
% Find all the *.avi ext files inside the specified folder and its subfolders.
searchPattern = fullfile(folder, '**/*.avi')
fileList = dir(searchPattern)
numberOfFiles = numel(fileList)
% Display the names of all the *.avi files:
for k = 1: numberOfFiles
fullFileName = fullfile(fileList(k).folder, fileList(k).name);
fprintf('#%d of %d : "%s"\n', k, numberOfFiles, fullFileName)
end
Depending on how many toolboxes you have, the dir() call may take a minute or two.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by