How to extract audio from mp4 video file with Matlab?
14 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a video file and I want to extract the video and audio into separate objects for writing to disk separately. I know how to deal with the video, but the audio is not so simple, it seems. This does not work, so is there another approach to solving this problem?
>> [input_file, Fs] = audioread('Home_Made_Video.mp4','native');
Error using audioread (line 88)
The file type is not supported
Any hints would be appreciated.
0 Kommentare
Antworten (1)
Walter Roberson
am 29 Nov. 2020
or use audioread without 'native'
provided you are using Windows 7 or later.
You might have to install a codec package; https://www.mathworks.com/matlabcentral/answers/218237-unable-to-determine-the-codec-required#answer_428005
2 Kommentare
Siehe auch
Kategorien
Mehr zu Audio and Video Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!