Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Displaying video in matlab

Subject: Displaying video in matlab

From: Dwight Memphis

Date: 18 Mar, 2008 14:05:36

Message: 1 of 5

Hey guys!

I've got a problem! I'd like to read an avi-file and display it in matlab.
I used the function aviread to import the video and the function movie to display it - but here is the problem:

only the left lower part of the video is displayed in the figure and the video is played at a very slow pace!

do you have any idea what the problem is?

thanks for help

Subject: Displaying video in matlab

From: Vihang Patil

Date: 18 Mar, 2008 14:19:01

Message: 2 of 5

Dwight Memphis <dwight@hello.com> wrote in message
<12840434.1205849167187.JavaMail.jakarta@nitrogen.mathforum
.org>...
> Hey guys!
>
> I've got a problem! I'd like to read an avi-file and
display it in matlab.
> I used the function aviread to import the video and the
function movie to display it - but here is the problem:
>
> only the left lower part of the video is displayed in
the figure and the video is played at a very slow pace!
>
> do you have any idea what the problem is?
>
> thanks for help
What function are you using to display the movie?

Have you tried using movie()

Vihang

Subject: Displaying video in matlab

From: Dwight Memphis

Date: 18 Mar, 2008 14:56:05

Message: 3 of 5

Hi!

I am using movie() to display the video clip and aviread() to load the video clip.

Subject: Displaying video in matlab

From: Dai Nish

Date: 27 Sep, 2008 07:38:02

Message: 4 of 5

Dwight Memphis <dwight@hello.com> wrote in message <32730382.1205852203507.JavaMail.jakarta@nitrogen.mathforum.org>...
> Hi!
>
> I am using movie() to display the video clip and aviread() to load the video clip.

I have got the same problem with an AVI file that I imported from my camcorder and worse, my movie looks very green.

Subject: Displaying video in matlab

From: Dai

Date: 27 Sep, 2008 11:33:01

Message: 5 of 5

"Dai Nish" <relax2809@hotmail.com> wrote in message <gbknsp$eq4$1@fred.mathworks.com>...
> Dwight Memphis <dwight@hello.com> wrote in message <32730382.1205852203507.JavaMail.jakarta@nitrogen.mathforum.org>...
> > Hi!
> >
> > I am using movie() to display the video clip and aviread() to load the video clip.
>
> I have got the same problem with an AVI file that I imported from my camcorder and worse, my movie looks very green.

I have just realised that on playing an AVI file, the plot window appears in a reduced size. This is quickly fixed if you maximise the window.

Cheers

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us