How to plot video frames along with entire audio and corresponding spectrogram for comparison in one graph?
7 views (last 30 days)
Show older comments
Shilpa Sonawane
on 14 Dec 2023
Commented: Shilpa Sonawane
on 16 Dec 2023
I have three signals namely video, audio and its spectrogram. Need to display result in one graph for analysis
0 Comments
Accepted Answer
Walter Roberson
on 14 Dec 2023
There is a File Exchange contribution named VideoFig https://www.mathworks.com/matlabcentral/fileexchange/29544-figure-to-play-and-analyze-videos-with-custom-plots-on-top that provides the infrastructure for this.
Use https://www.mathworks.com/help/vision/ref/vision.videofilereader-system-object.html with 'AudioOutputPort', true . That will allow you to read audio and video at the same time. Display the video, display the audio, and display the spectrogram
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!