How to extract audio from mp4 video file with Matlab?
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Walter Roberson
le 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 commentaires
Voir également
Catégories
En savoir plus sur Audio and Video Data dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!