Hello, I have read multiple previous posts on how to display a video file on a GUI axes but none of them seem to work. I have already wrote the sequence of images to an avi video file. In my GUI I have a menu bar that has open. I have successfully written the code to select a video file to open but it will not display on the axes in the GUI.
So far I have this under openmenuselected function:
[file, path] = uigetfile('.avi', 'Select Video File');
if isequal(file, 0)
disp('User selected cancel');
disp(['User selected ', fullfile(path,file)]);
input_video_file = fullfile(path,file);
video = vision.VideoFileReader(input_video_file);
... I have also tried VideoReader without vision. and a few other methods such as screenshot and frames
****I am stuck on how to display the avi file on Axes1. Can someone help?
Currently my video is 20fps and only has 50 frames but i dont want to limit to 50 frames incase there is a larger file read to be displayed.