Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to play .avi in gui axes?

46 views
Skip to first unread message

Doug D

unread,
Nov 24, 2009, 7:52:19 PM11/24/09
to
I was playing around with GUIs, and I am stumped on something. I have a .avi file and wanted to play it in an axes in my GUI, how could I go about this with a loop?

I have read up on the funcitons like movie(m) and getframe, but this has only confused me more.

Any help is appreciated.

Doug D

unread,
Nov 24, 2009, 8:33:18 PM11/24/09
to
This is what I have so far:

axes(handles.axes1)

for j = 1:284
F(j) = getframe;
set(handles.axes1,'nextplot',movie(F))
end

Please help if you can.

Doug D

unread,
Nov 24, 2009, 9:06:03 PM11/24/09
to
Nevermind I got it, using a loop and move = aviread(file.avi) and mov(m)
0 new messages