how read video and audio stream in any format file multimedia

25 views (last 30 days)
I try to read and play (include audio and video) in mp4 file but cant who knew how, please guide me
thank you a lot

Accepted Answer

Walter Roberson
Walter Roberson on 28 Mar 2017
However, you will not be able to meet your goal of supporting "any format file multimedia".
  4 Comments
xuan hau nguyen
xuan hau nguyen on 29 Mar 2017
I want read, play MP4 file (include video and audio data), but VideoFileReader cant read audio from this file. (dont support read audio in mp4 file, this note from matlab document) Do you have any other method for read, play mp4 file with video and audio the same time
Walter Roberson
Walter Roberson on 29 Mar 2017
The limitation is not on all .mp4, it is on compressed .mp4
"Do you have any other method for read, play mp4 file with video and audio the same time"
No. VideoFileReader is the only supported method, and as best I can recall at the moment there are no relevant methods in the File Exchange.

Sign in to comment.

More Answers (2)

KSSV
KSSV on 27 Mar 2017
doc vision.VideoPlayer
  3 Comments
xuan hau nguyen
xuan hau nguyen on 28 Mar 2017
i want display video and audio in the same file, but videoreader and videoplayer only read video (meaning have synchonisation between video and audio)

Sign in to comment.


Sevthia Nugraha
Sevthia Nugraha on 23 Jun 2018
i've the same problem, please help

Community Treasure Hunt

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

Start Hunting!