Welcome! Log In Create A New Profile

Advanced

GIF and movie not playing

Posted by Experimenter 
GIF and movie not playing
September 01, 2021 11:08PM
Hi,

When I try to incorporate a movie file such as AVI, MonkeyLogic gives me the following error
<<< MonkeyLogic >>> MOV: MovieGraphic, Unsupported media type! (AVI.avi) (mlconditions.parse_object, Line 134)
Error using mlconditions/parse_object (line 134)
MOV: MovieGraphic, Unsupported media type! (AVI.avi)

Error in mlconditions/load_file (line 79)
                a = parse_object(obj,cond{m+1}(~isnan(idx)));

Error in monkeylogic/UIcallback (line 649)
                        Conditions.load_file([p n],gcbo);
 
Error while evaluating UIControl Callback.
even though the file is in AVI format.

Also, when I upload a GIF file, the gif does not move. However opening it in window 10, the gif is working fine.

I was wondering if there some setting that I play within Monkeylogic to fix this problem?

Thanks for your help!
Re: GIF and movie not playing
September 02, 2021 08:00AM
AVI is just a container format. You need a right codec to decode the video contents. Install the codec or re-encode the movie with a different codec.

See if your MATLAB can load the GIF with imread().
Re: GIF and movie not playing
September 16, 2021 11:07PM
Thanks for the help!
Re: GIF and movie not playing
September 21, 2021 05:00PM
Is it possible to make the movie bigger or full screen? Can the touch radius be a square instead of a circle?

Thanks!
Re: GIF and movie not playing
September 21, 2021 05:07PM
Yes. And yes.

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.