How to extract audio from mp4 video file with Matlab?
조회 수: 14 (최근 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!