I recently struggled with stuttering video playback when changing video files loaded trough the Filestream node. After some research here in the forum I read a sidenode about that smooth change of video streams from the harddrive is possible with the Filestream2 node.
I tried it and viola, works stutter free.
The first drawback I discovered was that it didn’t play any sound of the video through an AudioOut.
When I go fullscreen while having the Filestream2 node in a patch, the render window just turns grey and stays like that even when switching back to windowed mode. I attached a txt file containing the error messages that are put out by a TTY renderer.
I’m running the latest version of vvvv, Win XP SP3 on a MacBook Pro, the movie is an AVI file with picvideo mjpg and uncompressed audio.
Any guesses or suggestions?
error.txt (3.7 kB)
this is a sensitive topic… when it worked for me with picvideo mjpgs i was using the VideoTexture (EX9.Texture VMR9), not the YUVMixingMode one. also i think my audio was compressed. note that videostreams you are switching must all either have an audio channel or have none. you cannot switch between files with and without audio-channel. also the other specs (framerate, dimensions) should best be exactly the same.
hope that helps.
my files are all the same: size (480x270 pixels), codec, audio…
the thing why I was using the VideoTexture(YUVMixingMode) is because otherwise I don’t get any visual output from the filestream.
the problem with the crashing renderer has not occured to anybody else?
had some troubles too but was because of the codec. here’s the thread: http://vvvv.org/forum/failing-playing-mjpeg-with-filestream-(win7-64)
did you tried other codecs?
have you set the video texture to “NonPow2”?
Thanks for all the input!
I have not tried other codecs yet, no.
BTW I just tried the hint of Joreg, connecting a Filestream2 to a Videotexture (NON YUVMixingMode) again and this time it worked. Stable also when going fullscreen. But I still get no audio from a file when using Filestream2 instead of Filestream.
What should NonPow2 influence? I don’t get different results when switching between Pow2Stretched and NonPow2.
old thread here but I have the same problem with Filestream2 (DShow9). I wanna use this node to switch video files without hiccup but I noticed that it doesn’t play any sound of the video through an AudioOut (DShow9).
Filestream (DShow9) has the hiccup problem and Filestream (EX9.Texture VLC) has Position pin not precise.
only thing that comes to mind again is:
videostreams you are switching must all either have an audio channel or have none. you cannot switch between files with and without audio-channel. also the other specs (framerate, dimensions) should best be exactly the same.
also try different audio codecs.
@joreg: I can’t play any sound of any video with Filestream2 (DShow9). I tried with .avi and .wmv with different audio codecs.
I think it’s important for vvvv to have a Filestream node fully working without any problems.
Any hints for now?
Really struggling with this same issue 4 years later after the original post.
I have Motion Jpeg AVI’s with uncompressed audio (no option to compress audio in AfterEffects or Premiere) I need to play one after the other so using Filestream2.
I get video texture fine but no audio. However, both are fine when I play the same video with normal Filestream but get a flash when switching.
Can I not play 2 videos with audio one after the other in VVVV?!
(please don’t mention image sequences, DX11 or VLC because I have been down those dead ends…)
(Latest beta and win 8.1)
@wukid, filestream can playback avisynth scripts. otherwise i would just join the two videos into one and jump in the file.
Yeah - I’ve abandoned filestream2 and spliced the clips together. So rather than having a counter and changing the filename I now have a switch with various seek points to jump to.
(Would still like to do it the other way though…)