How to read audio and video frame of avi file?
8 views (last 30 days)
Show older comments
Shilpa Sonawane
on 20 Apr 2021
Commented: Shilpa Sonawane
on 27 Apr 2021
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.
0 Comments
Accepted Answer
Pratheek Punchathody
on 23 Apr 2021
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 Comments
More Answers (0)
See Also
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!