logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
elshorbagy  
#1 Posted : Friday, May 15, 2015 6:50:22 AM(UTC)
elshorbagy

Rank: Member

Groups: Registered
Joined: 3/30/2015(UTC)
Posts: 18
Location: Egypt

Thanks: 1 times
Hello,

I want to show a fading image for few seconds on a live stream (commercial ad) and remove it through API or XAMPL not from xMix interface.

Thank you
ask  
#2 Posted : Saturday, May 16, 2015 2:14:02 AM(UTC)
ask

Rank: Advanced Member

Groups: Registered
Joined: 10/13/2012(UTC)
Posts: 1,161
Australia
Location: Melbourne

Thanks: 220 times
Was thanked: 199 time(s) in 181 post(s)
Set your commercials up as an input. Then call that input via the API or Keyboard shortcuts. Please read the HELP files as there is good documentation there on the method. Once you have done that come back to the forum for any further questions.
elshorbagy  
#3 Posted : Monday, May 18, 2015 9:07:59 AM(UTC)
elshorbagy

Rank: Member

Groups: Registered
Joined: 3/30/2015(UTC)
Posts: 18
Location: Egypt

Thanks: 1 times
I created an input and gave it a shortcut key (A key). When I press the A key on keyboard, the ad input plays over the video. The API help says
Quote:
Parameters

Function

Specify a function to execute.
This can be any of the functions provided for the Shortcuts feature.


So, I tried to use the API like this
http://127.0.0.1:8088/API/?Function=A&Input=0 , but I got this message No suitable Function could be found. Please Advice

Thank you
IceStream  
#4 Posted : Monday, May 18, 2015 3:25:55 PM(UTC)
IceStream

Rank: Advanced Member

Groups: Registered
Joined: 3/7/2012(UTC)
Posts: 2,603
Man
Location: Canada

Thanks: 33 times
Was thanked: 501 time(s) in 470 post(s)
@ elshorbagy

"A" is not a Function
Use "Fade" or "Cut"


Ice
elshorbagy  
#5 Posted : Tuesday, May 19, 2015 5:31:46 AM(UTC)
elshorbagy

Rank: Member

Groups: Registered
Joined: 3/30/2015(UTC)
Posts: 18
Location: Egypt

Thanks: 1 times
so, how can I call the shortcut from API?

Thanks
elshorbagy  
#6 Posted : Wednesday, May 20, 2015 7:08:15 AM(UTC)
elshorbagy

Rank: Member

Groups: Registered
Joined: 3/30/2015(UTC)
Posts: 18
Location: Egypt

Thanks: 1 times
I found it
Add input
http://127.0.0.1:8088/API/?Function=OverlayInput1&Input=4

Remove input:
http://127.0.0.1:8088/API/?Function=OverlayInput1Off&Input=4

Thank you
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.