It is currently 27 Mar 2017, 09:30



Virtually "Split" a Decklink Feed?

CasparCG Server, Client and development

Moderators: Macey, Jonas Hummelstrand, didikunz

Virtually "Split" a Decklink Feed?

Postby jackreynolds » 20 Feb 2017, 19:04

Hi, today we're working on two different applications on one computer. Both need the feed from the Decklink we're running, a Decklink SDI model. One application is CCG, the other is an augmented reality system. The issue we face - only one of these applications can use the Decklink feed at a time. Is there a way to virtually "split" the feed inside the computer so that both applications can receive feeds at once? Or is another computer required for the process? Thanks.
jackreynolds
 
Posts: 154
Joined: 02 Nov 2015, 18:02
Location: Pittsburgh, Pennsylvania, USA

Re: Virtually "Split" a Decklink Feed?

Postby hreinnbeck » 20 Feb 2017, 21:02

Just get a another DeckLink card (or get a Duo or Quad card) and have a DA split the SDI input to the cards. Total cost less than $250 and least amount of time spent on finding and testing a viable solution.
hreinnbeck
 
Posts: 294
Joined: 04 Aug 2009, 06:31

Re: Virtually "Split" a Decklink Feed?

Postby hreinnbeck » 20 Feb 2017, 21:06

But if someone wants to create the elements for this - here is how I would do it:
1) Create separate program that reads from the Decklink and moves the frames to shared memory
2) You need to read from SHM into Caspar so some of the work might be done in the SHM producer that was submitted as a patch in 2013 and never added to CCG (https://sourceforge.net/p/casparcg/mail ... /30404708/) - possibly the WASP producer might be doing SHM as well
3) Do the same for the AR system
hreinnbeck
 
Posts: 294
Joined: 04 Aug 2009, 06:31

Re: Virtually "Split" a Decklink Feed?

Postby itod » 22 Feb 2017, 00:37

Maybe the easier way would be to convert Decklink SDI signal to NDI source (free tool on NewTek site), and then input NDI source to CasparCG. After that you just have to use NDI SDK to input the NDI source into your augmented reality system.
itod
 
Posts: 95
Joined: 29 Oct 2011, 20:54

Re: Virtually "Split" a Decklink Feed?

Postby jackreynolds » 22 Feb 2017, 00:57

If we ignored the AR system for now:

We also need the feed to split to two layers inside CCG - one on layer eight as a clean feed, and one on layer ten for chroma keying. The AR feed would go in the middle of these. Is there a way to duplicate a feed like this in Caspar?
jackreynolds
 
Posts: 154
Joined: 02 Nov 2015, 18:02
Location: Pittsburgh, Pennsylvania, USA

Re: Virtually "Split" a Decklink Feed?

Postby vimlesh1975 » 22 Feb 2017, 07:17

Try layer producer.
Play the decklink feed on layer 1.
Code: Select all
play 1-1 decklink 1


Route this to layer 10 and 12.
Code: Select all
play 1-10 route://1-1
play 1-12 route://1-1
User avatar
vimlesh1975
 
Posts: 595
Joined: 29 Aug 2011, 11:42
Location: Doordarshan, Mumbai, India


Return to Tech and Development

Who is online

Users browsing this forum: didikunz, Yahoo [Bot] and 5 guests