Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: jedione on June 21, 2020, 01:47:01 PM

Title: bg, video stuttering Q:
Post by: jedione on June 21, 2020, 01:47:01 PM
was woundering if any one might have a fix for this,

when artwork is on screen,  with background video playing,  with the games that i can see on screen,  can select the game i want
and the bg vid is nice and will loop just fine,

but.

when i select to far left or right,   it updates to the new game artwork to be seen,  and the bg vid will stutter, momentarily
the more you go the faster the stuttering wil be..

i think most peaple here kind of know what i mean.....

so is their somthing that can be done,  to keep the bg vid smooth and not say update,  or what ever it is doing?

thanks guys..
Title: Re: bg, video stuttering Q:
Post by: jedione on June 21, 2020, 01:52:55 PM
note:  from the layout.txt

#### `fe.add_image()` ####

    fe.add_image( name )
    fe.add_image( name, x, y )
    fe.add_image( name, x, y, w, h )

Adds an image or video to the end of Attract-Mode's draw list.

[Magic Tokens](#magic) can be used in the supplied "name", in which case
Attract-Mode will dynamically update the image in response to navigation.

i dont want it to dynamicley up date,,,just play regardless...
Title: Re: bg, video stuttering Q:
Post by: Oomek on July 26, 2020, 04:55:44 AM
Unfortunately artwork reloading is still blocking operation, so if it takes longer than 16ms to load new artwork files the screen update will be stalled, that includes static video redraw.