Azzera filtri
Azzera filtri

How to display video in guide

3 visualizzazioni (ultimi 30 giorni)
Niraj
Niraj il 9 Set 2013
Hi, I want to display a video file in gui. I have a my own matlab function to read my video as it is not readable by inbuilt matlab functions. I am able to read specific frames in gui, but not the entire video. If I loop it and try to read then it takes a long time and at the end it only displays the last frame.
Can any body provide solution to this?
I am using axes to display my frames.

Risposte (1)

Sean de Wolski
Sean de Wolski il 9 Set 2013
  • Use a pause() between iterations of your for-loop to force it to display for x-amount of time.
  • If reading a frame takes longer than you want that frame to be displayed for, read in some or all of the frames before starting the video.

Community Treasure Hunt

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

Start Hunting!

Translated by