How to plot video frames along with entire audio and corresponding spectrogram for comparison in one graph?

I have three signals namely video, audio and its spectrogram. Need to display result in one graph for analysis

 Accepted Answer

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)

Community Treasure Hunt

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

Start Hunting!