How can I start a video in a new window from Matlab?

2 ビュー (過去 30 日間)
Rached
Rached 2013 年 2 月 4 日
To start or run a pdf file in a new window It is possible to use the code: open('filename.pdf').
I have a video (.avi or other format) and I want top start it (from Matlab) to run in a new window.
I habe a Mac OS X with "QuickTime player".
How ca i use the commande system of Matlab to do that?
code: system( ? )
[Merged from duplicate]
The solution using the commands VideoWriter() and movie() is too slow and generates lots of memory.
I look for a solution similar to open('filenale.pdf') which exists in Matlab and which starts "Adobe Reader" on filename.pdf in a new window.
It seems that the solution is to use the command "system" of Matlab to execute the application (as QuickTime Player) devoted to the reading of a video in a new video,
but I don't find what command I have to write.
I have tried
system('QuickTime Player myvideo.avi');
without success.
(I have a MAC with OS X)

回答 (1 件)

John Petersen
John Petersen 2013 年 2 月 4 日
Use VideoReader() to import the movie, then movie() to play the movie in another window.

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by