How to extract audio from mp4 video file with Matlab?
24 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Walter Roberson
2020-11-29
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!