instarobe_support
KINET_support

wygenabled

ASIO

Home | Forum | MADRIX - lighting controller software | Experiences and 'How To' questions | benötige Hilfe bei einem Storage Place Macro
View unanswered posts | View active topics It is currently Tue May 22, 2012 12:04 am



Post new topic Reply to topic  [ 3 posts ] 
 benötige Hilfe bei einem Storage Place Macro 
Author Message

Joined: Thu Sep 23, 2010 2:47 am
Posts: 6
Post benötige Hilfe bei einem Storage Place Macro
Moin
ich hab das Problem, das ich am Ende eines Clips das entsprechende Layer gerne automatisch auf "Blind" stellen möchte, allerdings hab ich noch nicht soviel Erfahrung mit Madrix Script


Mon Dec 26, 2011 12:13 am
Profile

Joined: Wed Dec 02, 2009 10:23 am
Posts: 3
Post Re: benötige Hilfe bei einem Storage Place Macro
Hallo

Für das Storage Macro kenn ich leider keine Lösung, da man von Storage Macro meines achtens nach nicht die Position des Videos abfragen kann.

Anderseits kann laut Dokumentation den Solobutton nicht aus dem Effect Macro bedient werden. Aber dafür kann man die Opacity bedienen.

Probiere mal folgendes Script für das Video Effect Macro.
Es setzt die Opacity in der letzten Sekunde des Videos auf 0, wenn das Video nicht auf Loop steht.

Code:
@scriptname="EndVideoSetOpacity";
@author="jaekel";
@version="1.0";
@description="12/28/2011 if video at last seconds then change the opacity to zero. Run only with video if greater or equal 1 second";

time TimeEnd;
void InitEffect()
{
   TimeEnd=GetVideoLength();
   if(GetLoop()==0)
      WriteText("Script run and wait for end time of video");
   else
       WriteText("Warning script has no effect, because loop is enable");

   SetOpacity(255); // at start set opacity to 255
}

void PreRenderEffect()
{
}

void PostRenderEffect()
{
    if(GetVideoLoaded()!=0 && GetLoop()==0)
   {
      time TimeCurrent=GetVideoTime();      
      if(TimeEnd.hour==TimeCurrent.hour &&
          TimeEnd.min==TimeCurrent.min &&
          TimeEnd.sec==TimeCurrent.sec)
         SetOpacity(0);
   }
}

void MatrixSizeChanged()
{
   InitEffect();
}


Wed Dec 28, 2011 8:48 pm
Profile

Joined: Thu Sep 23, 2010 2:47 am
Posts: 6
Post Re: benötige Hilfe bei einem Storage Place Macro
Danke für den Lösungsvorschlag, hatte es erst über die "blind" Funktion probiert, aber deine Lösung sieht besser aus
mfg
Lowyr


Fri Dec 30, 2011 11:13 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.