Videoplayer and audioplayer makes the patch to stop

Howdy everyone!

In my patch, I am accessing a folder with bunch of videos picked from internet.
I basically chain all the videos, and play them randomly with a videoplayer
but. to get some audio frequencies to play with, I have an audioplayer in parallel

well, after 2 or 3 videos, the entire patches freezes with the following error :

COMException 0xC00D36B3
The stream number provided was invalid.

I guess I am not using the right technique
I thought it would happen when the video was not containing any audio data.
But it also occurs with video which has data in it…
Also, it usually can read 2 to 3 videos. and then it stops…??

what would you suggest?

here is my over-simplified patch where I could reproduce the situation :

Could it be that the AudioPlayer simply can’t deal with a specific file? Try to play each of those files using a patch with only the AudioPlayer.

1 Like

@Elias

Good idea!

Is there a way to check the files in vvvv? Like check if there is some audio in it etc, so that I can turn off the audio player before it gets loaded

@Elias

You were right. Some codecs don’t work in videoplayer.
I also figured that when the video doesn’t contain an audio track, it just messes the videoplayer

thank you!