Hello, I have a script that plays a new .mpg file through a videoplex plus each time the script is looped. For example, it plays FILE 1, returns to start then plays FILE 2, returns to start then plays FILE 3 etc.
The problem is that the optibase card plays the first video clip each time, but the variables we have set for each file are advancing. It's like the optibase is not clearing cache.
The script works fine if we use ICD3's software playback for the mpg files, or if we just use still screens.
I have pasted the script following this message, thanks for your help.
!ScalaScript
:"TGC2004a.sca"
{
Group:
Integer(psanum, maxpsa, nucunum, maxnucu, electnum, maxelect, updatenum, maxupdate, tgcpronum, maxtgcpro);
BackgroundSettings(Size(640, 480));
Config.SaveOpts(SaveEditable(On));
Sequence:
:"INITIALIZE VARS"
{
Sequence:
:"Initialize Psa Num"
{
Group:
psanum = 0;
Display(Backdrop(Pen(16)), Margin(10, 10, 0, 0), Tabs(Explicit(80, 160, 240, 320, 400, 480, 560)), UserPalette(RGBPen(1, $0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200, $ff5a00, $ff9c00, $ffee00, $8800, $dd00, $cccc, $66ff, $aa, $777777, $bbbbbb, $dddddd)));
}
:"Initialize Max PSA"
{
Group:
maxpsa = 4;
Display(Backdrop(Pen(1)), Margin(10, 10, 0, 0), Tabs(Explicit(80, 160, 240, 320, 400, 480, 560)), UserPalette(RGBPen(1, $0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200, $ff5a00, $ff9c00, $ffee00, $8800, $dd00, $cccc, $66ff, $aa, $777777, $bbbbbb, $dddddd)));
}
}
:"START HERE"
Display(Backdrop(Pen(1)), Margin(10, 10, 0, 0), Tabs(Explicit(80, 160, 240, 320, 400, 480, 560)), UserPalette(RGBPen(1, $0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200, $ff5a00, $ff9c00, $ffee00, $8800, $dd00, $cccc, $66ff, $aa, $777777, $bbbbbb, $dddddd)));
{
Group:
Display(Wipe("MosaicFill", Direction(90)), Backdrop(Pen(12)), Margin(10, 10, 0, 0), Tabs(Explicit(80, 160, 240, 320, 400, 480, 560)), UserPalette(RGBPen(1, $0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200, $ff5a00, $ff9c00, $ffee00, $8800, $dd00, $cccc, $66ff, $aa, $777777, $bbbbbb, $dddddd)));
Text(20, 20, "psa num = !psanum", AntiAlias(On), Update(Normal), Font("Segoe Regular (Western [<Segoe>])", 50), Wrap(On, Width(610)));
Text(149, 171, "maxpsa = !maxpsa", AntiAlias(On), Update(Normal), Font("Segoe Regular (Western [<Segoe>])", 50), Wrap(On, Width(481)));
Duration(2000);
}
:"Insert PSA"
Goto("PSA START");
{
Group:
Display(Wipe("SpiralIn", Direction(90)), Backdrop(Pen(11)), Margin(10, 10, 0, 0), Tabs(Explicit(80, 160, 240, 320, 400, 480, 560)), UserPalette(RGBPen(1, $0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200, $ff5a00, $ff9c00, $ffee00, $8800, $dd00, $cccc, $66ff, $aa, $777777, $bbbbbb, $dddddd)));
Text(212, 188, "!psanum", Face(On, Pen(1)), AntiAlias(On), Update(Normal), Font("Segoe Regular (Western [<Segoe>])", 50), Wrap(On, Width(418)));
Duration(2000);
}
:"START OVER"
{
Group:
Display(Backdrop(Pen(1)), Margin(10, 10, 0, 0), Tabs(Explicit(80, 160, 240, 320, 400, 480, 560)), UserPalette(RGBPen(1, $0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200, $ff5a00, $ff9c00, $ffee00, $8800, $dd00, $cccc, $66ff, $aa, $777777, $bbbbbb, $dddddd)));
Goto("START HERE", Bookmark(Off));
}
:"PSA START"
{
Group:
psanum = psanum+1;
Display(Backdrop(Pen(16)), Margin(10, 10, 0, 0), Tabs(Explicit(80, 160, 240, 320, 400, 480, 560)), UserPalette(RGBPen(1, $0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200, $ff5a00, $ff9c00, $ffee00, $8800, $dd00, $cccc, $66ff, $aa, $777777, $bbbbbb, $dddddd)));
}
:"PSA's"
{
Sequence:
:"lions"
{
Group:
Display(Backdrop(Pen(16)), Margin(10, 10, 0, 0), Tabs(Explicit(80, 160, 240, 320, 400, 480, 560)), UserPalette(RGBPen(1, $0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200, $ff5a00, $ff9c00, $ffee00, $8800, $dd00, $cccc, $66ff, $aa, $777777, $bbbbbb, $dddddd)));
Text(167, 129, "1", AntiAlias(On), Update(Normal), Font("Segoe Regular (Western [<Segoe>])", 50), Wrap(On, Width(463)), Append("1", Font("Segoe Regular (Western [<Segoe>])", 200)));
Mixer.Volume(0, Master(255), LineIn(198), Wait(Off));
If(psanum=1);
Duration(2000);
OPTIBASE.Play("E:\Video Programming\Tgc\Promos\TGC_Bubbles.mp2", Wait(On), Loops(1));
}
:"lucie"
{
Group:
Display(Backdrop(Pen(16)), Margin(10, 10, 0, 0), Tabs(Explicit(80, 160, 240, 320, 400, 480, 560)), UserPalette(RGBPen(1, $0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200, $ff5a00, $ff9c00, $ffee00, $8800, $dd00, $cccc, $66ff, $aa, $777777, $bbbbbb, $dddddd)));
Text(20, 20, "2", AntiAlias(On), Update(Normal), Font("Segoe Regular (Western [<Segoe>])", 50), Wrap(On, Width(610)));
Mixer.Volume(0, Master(255), LineIn(198), Wait(Off));
If(psanum=2);
Duration(2000);
}
:"monsters"
{
Group:
Display(Backdrop(Pen(16)), Margin(10, 10, 0, 0), Tabs(Explicit(80, 160, 240, 320, 400, 480, 560)), UserPalette(RGBPen(1, $0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200, $ff5a00, $ff9c00, $ffee00, $8800, $dd00, $cccc, $66ff, $aa, $777777, $bbbbbb, $dddddd)));
Text(263, 148, "3", AntiAlias(On), Update(Normal), Font("Segoe Regular (Western [<Segoe>])", 50), Wrap(On, Width(367)));
Mixer.Volume(0, Master(255), LineIn(198), Wait(Off));
If(psanum=3);
Duration(2000);
OPTIBASE.Play("E:\Video Programming\Tgc\TGC Promos\TGC_Dragonfly.mp2", Wait(On), Loops(1));
}
:"Natalie"
{
Group:
Display(Backdrop(Pen(16)), Margin(10, 10, 0, 0), Tabs(Explicit(80, 160, 240, 320, 400, 480, 560)), UserPalette(RGBPen(1, $0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200, $ff5a00, $ff9c00, $ffee00, $8800, $dd00, $cccc, $66ff, $aa, $777777, $bbbbbb, $dddddd)));
Text(295, 129, "4", AntiAlias(On), Update(Normal), Font("Segoe Regular (Western [<Segoe>])", 50), Wrap(On, Width(335)));
Mixer.Volume(0, Master(255), LineIn(198), Wait(Off));
If(psanum=4);
Duration(2000);
}
:"PSA END"
{
Group:
psanum = 0;
Display(Backdrop(Pen(16)), Margin(10, 10, 0, 0), Tabs(Explicit(80, 160, 240, 320, 400, 480, 560)), UserPalette(RGBPen(1, $0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200, $ff5a00, $ff9c00, $ffee00, $8800, $dd00, $cccc, $66ff, $aa, $777777, $bbbbbb, $dddddd)));
If(psanum=maxpsa);
}
}
:"RETURN from PSA"
{
Group:
Display(Backdrop(Pen(1)), Margin(10, 10, 0, 0), Tabs(Explicit(80, 160, 240, 320, 400, 480, 560)), UserPalette(RGBPen(1, $0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200, $ff5a00, $ff9c00, $ffee00, $8800, $dd00, $cccc, $66ff, $aa, $777777, $bbbbbb, $dddddd)));
Return();
}
}
Discussions Index |
Contact Scala about your end-to-end software solutions for creating and controlling Electronic Display Networks, whether you call it Dynamic digital signage, Narrowcasting, Captive Audience Networks, Kiosks, Point-of-Purchase Displays, Digital In-Store Merchandising, Out-of-Home Media Networks, Place-based Advertising, Display Marketing, Retail Digital Media Networks, Datacasting, Electronic Billboards, The Outernet or any of the other terms in use today. Scala conducts business through a worldwide network of Value Added Resellers. For more information on what this emerging industry is coming to be named, you can see how other people found this page. ©1993-2008 Scala, Inc. Scala, InfoChannel, and the Exclamation Point Logo are registered trademarks of Scala, Inc. All other trademarks are the property of their respective organizations. To see all the content on our Website, click Sitemap or check our blog for the latest updates. Read our Privacy Policy.