Audio input stream unresponsive

4 次查看(过去 30 天)
Nur Syafiqah
Nur Syafiqah 2013-7-28
评论: Bernhard 2013-11-8
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 个评论
Bernhard
Bernhard 2013-11-8
I have the same error message when reading a large audio file in simulink with the "From Multimedia File" block.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile 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