Play video in APP
이전 댓글 표시
How can I play video with sound in APP Designer? Like mp4 or other type
I tried to put video in HTML but it couldn't play
답변 (1개)
Hi Keming,
I understand that you want to play video with sound in App Designer.
To play video files within MATLAB, follow the steps :
- Use MATLAB's multimedia function “VideoReader” which is designed to work with MATLAB's graphical and data processing capabilities.
- Provide a callback to this function while playing in App Designer.
Please refer to the following MATLAB answers and documentation to learn more about the VideoReader function and how to use it with the app designer :
- https://in.mathworks.com/matlabcentral/answers/409913-videoreader-in-app-designer?s_tid=prof_contriblnk
- https://in.mathworks.com/matlabcentral/answers/332090-how-read-video-and-audio-stream-in-any-format-file-multimedia
- https://in.mathworks.com/help/matlab/ref/videoreader.html#busqe2j-1_1
Hope it helps!
Best Regards,
Simar
카테고리
도움말 센터 및 File Exchange에서 Audio and Video Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!