How to read audio and video frame of avi file?

조회 수: 7 (최근 30일)
Shilpa Sonawane
Shilpa Sonawane 2021년 4월 20일
댓글: Shilpa Sonawane 2021년 4월 27일
Input to program is avi file. i am using videoFReader function to read audio and respective video frame from avi file. But i got error
Warning: The AudioOutputPort property is not relevant in this configuration of the System object.
Warning: When video stream is compressed, reading of audio stream is not supported on non-Windows platforms.

채택된 답변

Pratheek Punchathody
Pratheek Punchathody 2021년 4월 23일
When you are using videoFReader function, AudioOutputPort property has to be set to "true" or "false". This property is to control the audio output only when the input file contains audio and video streams.
As a workaround "audioread" audioread can extract audio from MPEG-4 (.mp4, .m4v) video files on Windows 7 or later, Macintosh, and Linux, and from Windows Media Video (.wmv) and AVI (.avi) files on Windows 7 (or later) and Linux platforms.
  댓글 수: 4
Shilpa Sonawane
Shilpa Sonawane 2021년 4월 27일
WINDOWS 10 OS
Shilpa Sonawane
Shilpa Sonawane 2021년 4월 27일
How to read audio of each video frame as audio and video frame rate are different

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by