Forum

Problem with fullscreen on a secondary monitor

hi

i just started to use vvvv_33beta13.1, so i am new to all this. i encountered a problem: when dragging renderer (dx9) to the secondary monitor, all action stops. i am working with videotextures and quads to play two video files simultaneously. after reloading the patch i couldn’t find the renderer module in it at all. trying to put it in a patch again did nothing. so i am totally confused. my gfx adapter is ati mobility radeon 7500.

are u using the same videotexture in another renderer in your main screen? once you drag your video to the external screen one of the renderers will freeze, no matter it is in fullscreen or in window. i was told that this is the limitation of directx.

no, i use one renderer for crossfading two videofiles. so i have 2 videotextures, 2 quads, group, setalpha and 2 filestreams.

tried to replicate your patch and it works well on my Nvidia. my experience on dealing with video on different heads is, try saving your patch and quit vvvv, reload it and it could behave normally.

i have once patching something with a video in a renderer, deleted it afterwards as i changed my mind. The later renderer with that video always freeze in the external output. that told me half a day to figure out until i save my patch and reload again. everything works fine @_@

thank you, foxonfire! that worked just fine! next thing, i want to figure out is what is the best way to stretch the video to the full screen? i.e. when i press alt+enter, renderer goes full screen, but video occupies only half of the screen area, even if file resolution is the same as screen resolution, i set. i used scale module, connected to the view transform pin of the renderer. is this a good way?

for 2d video rendering, i usually make a scale on the transform pin of the quad. set scale to 2 on both x and y always make your video fits the whole renderer.

if you are going to deal with 3d and you need to set the projection and view transform on the renderer. your quad will be displayed relative to your camera/view. if you want your video quad always stick to your renderer as a background, you need to set your quad to projection space from the inspector. and you probably also need to turn off the zWriteEnable of the quad renderstate.

thanks again for the fast reply. it is really nice to meet such support here.

maybe i am going offtopic now, but i have one more question. i need to crossfade between two videofiles and to attach new files to do something like video djing with completely prepared data. files play smoothly, but when i open new file, the other, that is visible at the moment, freezes for a second. how to avoid this freezing? i know, this is possible with my hardware setup, because it worked well in one commercial programm, i tried. btw, some other programms had exactly the same freezing situation, doesn’t matter what codecs and resolutions i used.

also, i noticed one issue - if i close vvvv while video is playing, my computer stops completely, not reacting to any keypresses except reset. it is easily avoidable by stopping video before quit, so i don’t know is it a bug or a feature ;)

it is easily avoidable by stopping video before quit, so i don’t know is it a bug or a feature ;)

i never experienced that feature in vvvv. i bet its a driver bug.

but when i open new file, the other, that is visible at the moment, freezes for a second.

sory, thats the way it is. loading of videofiles is not threaded and therefore causes stuttering.

what you could try: prepare all your material in one long file. load/play that file twice and fade between two quads. always seek to a new position in the quad that is not currently visible. with the right codec this may work without stutters.

if i close vvvv while video is playing, my computer stops completely

i have also never experienced this. please update your graphiccard driver and try again. also try with different codecs. anybody else with this behaviour?

thanks for advice joreg. i think i’ll try preparing an avisynth script for this. also it is interesting, how avisynth can crossfade videofiles without glitches? but i can’t change scripts in realtime there, maybe thats the point.

to clarify this: it is very obvious that other software can load/crossfade files without glitches. it is only the way vvvv is loading new videofiles in the main thread which causes everything else to pause until the file is loaded.

if i close vvvv while video is playing, my computer stops completely

problem solved by updating video drivers.

btw @joreg: did you ever thought of what do we need to do to support avisynth scripts in the Filestream node?

nope, i’ve always considered it as interesting but am still lacking a personal usecase…