Play video in APP
Afficher commentaires plus anciens
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
Réponses (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
Catégories
En savoir plus sur Audio and Video Data dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!