Split and broadcast video with VLC
March 16, 2012 9:52 AM Subscribe
VLC scripting help! I'd like to take the incoming video from a camera and split it into two feeds, where the first leg is broadcast over the LAN and the second leg is chroma keyed, then broadcast over the internet. I can't seem to figure out how to capture leg2, though.
Here's what I have so far: VLM Example. The chroma key works and the local broadcast works, but I can't for the life of me figure out where to dup the stream so I can get the chroma keyed output to broadcast. (Source files are here, by the way.)
Here's what I have so far: VLM Example. The chroma key works and the local broadcast works, but I can't for the life of me figure out where to dup the stream so I can get the chroma keyed output to broadcast. (Source files are here, by the way.)
Response by poster: I tried using multiple instances, but they're really, really sloooooooooooooooooooow.
I'm already duping the stream for the bluescreen: the question is how to get at that resulting stream for capture.
posted by eamondaly at 10:47 AM on March 16, 2012
I'm already duping the stream for the bluescreen: the question is how to get at that resulting stream for capture.
posted by eamondaly at 10:47 AM on March 16, 2012
This thread is closed to new comments.
A basic example.
I'll admit I'm grasping at docs, here -- and it could be the easiest way is to use multiple instances of VLC, where one does just a very basic split, like above, and the other two do the actual transcoding/keying you need.
posted by eriko at 10:44 AM on March 16, 2012