unable to extract audio from MP4 video file
5 views (last 30 days)
Show older comments
i'm using R2015a. using the following, i receive error.
>> [y,Fs] = audioread('trialvideo.mp4')
Error using audioread (line 88)
Failed to initialize internal resources.
is there any other way to only extract audio from a MP4 video please?
thanks.
0 Comments
Answers (1)
Walter Roberson
on 6 Dec 2024
Moved: Walter Roberson
on 6 Dec 2024
If you happen to have the DSP Toolbox, then you could use dsp.AudioFileReader https://www.mathworks.com/help/dsp/ref/dsp.audiofilereader-system-object.html
2 Comments
Walter Roberson
on 8 Dec 2024
I just checked the R2015a documentation. dsp.AudioFileReader at the time was explicitly documented as handling
- MP3
- M4a
- MP4
- WAV
- FLAC
- OGG
See Also
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!