using two movie windows

조회 수: 2 (최근 30일)
Douglas
Douglas 2016년 8월 10일
댓글: Walter Roberson 2016년 8월 16일
I have an external .avi file (a movie) and an .avi file constructed using writeVideo. I want to play them in two separate windows. I'm using implay but that puts both files into the same movie player which I can only use to play one at a time. Suggestions?
  댓글 수: 4
Walter Roberson
Walter Roberson 2016년 8월 13일
Douglas posted:
According to the implay documentation "You can open multiple Video Viewers to view different movies simultaneously". How?
Douglas
Douglas 2016년 8월 13일
According to the implay documentation, I can. The quote is right out of it. However, I am not restricted to implay. How would you play two movies at the same time?

댓글을 달려면 로그인하십시오.

답변 (2개)

Walter Roberson
Walter Roberson 2016년 8월 10일
  댓글 수: 2
Walter Roberson
Walter Roberson 2016년 8월 11일
See also the videofig File Exchange contribution.
Walter Roberson
Walter Roberson 2016년 8월 13일
Just call implay multiple times with different movies. Each call creates a new viewer. For example,
play1 = implay('shuttle.avi'); play2 = implay('rhinos.avi');
and then click the play button on each of the viewers.
Note: implay() does not offer any obvious method to start playing, though it does offer methods to stop playing. There might be a programmable way to start playing; someone would have to dig further into that.

댓글을 달려면 로그인하십시오.


Douglas
Douglas 2016년 8월 14일
편집: Walter Roberson 2016년 8월 14일
Implay opened up two movie players as before but each one was displaying the same movie and movie order under File.
vision.VideoFileReader produced an error.
/Users/douglasbrenner/Documents/Rosen/AOSLO_MA_AVIs/media3.avi
Undefined variable "vision" or class "vision.VideoFileReader".
  댓글 수: 3
Douglas
Douglas 2016년 8월 16일
I am running 2014a on a OS X mac. I still have not been successful in getting two different movies to play simultaneously.
Walter Roberson
Walter Roberson 2016년 8월 16일
Which OS-X? I just installed R2014a on El Capitan and had no difficulty (after applying the Java patch to get it to run at all.)
I am not sure if I have any PowerPC based system at hand; the earliest OS-X that I am sure that I can install to test with is Maverick.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by