Playing IMPLAY Video programmatically

13 ビュー (過去 30 日間)
Sreedhar karunakran
Sreedhar karunakran 2014 年 5 月 6 日
編集済み: Rotem Mairon 2018 年 7 月 29 日
Dear all,
I composed a movie using WriteVideo after capturing the still-pictures through Getframe. Now I want run the movie programmatically in IMPLAY, rather than directly on implayer's GUI.
I searched all sources but to avail. There is no documentation available about IMPLAY.
I tried using Movie command. There were two problems, that I can not merge audio file and secondly, it was prone to frame size errors when no of frames are more.
I want to 'play', 'stop','pause' implay video by the commands from command window. How that would be possible?. Any help would be appreciated

回答 (1 件)

Rotem Mairon
Rotem Mairon 2018 年 7 月 29 日
編集済み: Rotem Mairon 2018 年 7 月 29 日
I realize that this was asked years ago, but for the sake of other users: You can control IMPLAY programmatically, if you have access to its handle. E.g., by running:
myHandle = implay('someVideo.avi');
Using this handle, you can access the GIU's PlaybackControlsTimer object as follows:
myControls = myHandle.DataSource.Controls;
At this point you can call 'play', 'stepFwd' and others to control the video. E.g., in order to advance the player one frame forward, use:
stepFwd(myControls)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by