Audio input stream unresponsive

I'm doing a project that gives the output of a video and its sound. this is my code:
videoFReader = vision.VideoFileReader('kids.mp4','AudioOutputPort',true);
videoPlayer = vision.VideoPlayer;
while ~isDone(videoFReader)
[videoFrame] = step(videoFReader);
step(videoPlayer, videoFrame);
end
release(videoPlayer);
release(videoFReader);
When I run the program, it states that
Error using VideoFileReader/step
the audio input stream has become unresponsive.
Error in one (line 62)
[videoFrame] = step(videoFReader);
What does it mean by audio input unresponsive? why does it happen? Hope someone can explain to me,thanks

1 个评论

I have the same error message when reading a large audio file in simulink with the "From Multimedia File" block.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Computer Vision with Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by