Page 1 of 2

video engine freeze?

Posted: Mon Sep 29, 2014 21:18
by Zoltán
I am having a weird problem happening.

sometimes I am getting a lot of "No Samples buffered when trying to get Audio " messages in log,
and some like "Buffer doesn't have index44977, have till 44000"....
when launching clips without audio while playing back wave file on another layer
the video engine seems to freeze, audio keeps playing,
I can not clear preview, output, or actual output with disconnect all.
Launching other clips do not work except audio files.

Saving composition is not happening after video freeze I think.

tried to switch "disable global blend modes" on /off to reset engine, did not solve,
reloaded composition, did not solve,
resolume restart solves the problem

I am using 2-3 layers of video, 4600x1080 resolution downsized to 1920x1080, mapped out to about 14 slices.
playing files from SSD + HDD, all playing fine, no glitches.
audio is playing back just fine also, no glitches, or anything.

audio file is separate from video,
videos have no audio channel.
audio buffers set to 2048,
Arena 4.1.11, windows 7 x64
no driver updates in the last 6 months, othervise a stable system for arena.
seeing 600 MB free memory for Arena.(of 2GB) no out of memory messages.

(in the log ara some cable plug /unplug events, disregard these I know now that my sound driver kills headphone output when unplugged. that is not related to this issue I think)

the files where it happens are zipped here: https://www.dropbox.com/s/qdw9mv7pqfrfd ... r.zip?dl=0
Resolume Arena 4 log.zip
error log
(7.55 KiB) Downloaded 377 times
any ideas?

Re: video engine freeze?

Posted: Wed Oct 01, 2014 19:56
by Zoltán
anyone?

just had a freeze again.
fps counter stays still.

I am using osc, and sending transition times for each layer (10) on column triggering,
maybe the fast coming osc messages are causing an unhandled exception? (like the other problem with changing osc settings in preferences crash)

Re: video engine freeze?

Posted: Thu Oct 02, 2014 00:48
by Oaktown
What software are you using to send OSC messages?
Are you sending the OSC column triggers at the same time you are updating your transition times via OSC?
Have you tried sending the OSC transition times as soon as you take the previous column trigger as follows:
  • Cue 1: /track1/connect 1
    Cue 2 (taken right after Cue 1): /layer1/transitiontime 0.0fl-1.0fl, /layer2/transitiontime 0.0fl-1.0fl, ...... /layer10/transitiontime 0.0fl-1.0fl
    Cue 3: /track2/connect 1

Re: video engine freeze?

Posted: Thu Oct 02, 2014 02:14
by Zoltán
I am using oscp5 library to send messages
sending in bundles,
first the transitions, then the column trigger.
they act as one cue.

so 2 bundles, with 11 messages in total. that is not much.

I have reencoded-downsized all big resolution DXV-s, freezes still happened.

Re: video engine freeze?

Posted: Thu Oct 02, 2014 02:41
by Oaktown
Does it only happen when your trigger your OSC cues?

Re: video engine freeze?

Posted: Thu Oct 02, 2014 04:52
by drazkers
I've had issues with OSC changing lots of parameters via touch designer as i'm triggering several new clips in Resolume. Resolume locks up but wasn't as bad as this. I'd be interested to hear if you have the same issue. Mine would only happen on a laptop so I blamed the audio card/drivers.

Re: video engine freeze?

Posted: Thu Oct 02, 2014 07:08
by Oaktown
A few more questions:
Are you sending your two bundles back to back?
What's your frame rate in oscp5?
Have you tried to send your two bundles at least 5/60th of a second apart to set your transition times first, then trigger the next column?

Re: video engine freeze?

Posted: Fri Oct 03, 2014 11:10
by Zoltán
thanks for the replies.
drazkers wrote:I've had issues with OSC changing lots of parameters
turns out that I had a misplaced curly bracket in the code, resulting in transition times sent out in n bundles for n layers to the same destination.

but I had this since a while ago, and it did not cause problems.
I have resized almost all the clips yesterday (I have missed some :S), freeze only happened at a place where 2 large resolution files had to be triggered with one wave file in one column.
edit: this was before I corrected the code.

got in touch with Joris regarding an other issue, but they look like to be part of the same issue desribed here: viewtopic.php?f=12&t=10066
Oaktown wrote:Have you tried to send your two bundles at least 5/60th of a second apart to set your transition times first, then trigger the next column?
I will have a look at the possibility, and how much lag it will add to triggering.

Re: video engine freeze?

Posted: Fri Oct 03, 2014 21:17
by Zoltán
I was able to reproduce this without any OSC command, just Resolume running, audio file, playing and large res dxv.

Re: video engine freeze?

Posted: Mon Oct 13, 2014 16:31
by Zoltán
anyone want to try to freeze arena i have a 6000x3375 dxv file , which plays if composition is 640x480, and freezes the video playback when comp size is 1280x720 or above...

https://www.dropbox.com/s/wpjzmumeyj478 ... 5.mov?dl=0