DLF Resources

 

How to : live stream

Page history last edited by Phil Lavery 2 months, 2 weeks ago

Very Draft :-)

 

I've not documented anything on the OSG wiki yet but below is how

the result was achieved on Windows XP. The demo/example is really just a quad with

your live feed playing - so a I've just tweaked osgmovie here

to force load the plug-in from a ".live" association and then

interpret the file basename to get a device and input ID -

ugly but working...

 

0. If you have NO QuickTime driver for your device then install

<http://www.abstractplane.com/products/vdig.jsp>

Use the latest version and do the manual install from the zip.

You will jave to live with the demo mode or fork out some $$$.

If your capture device has a QuickTime driver then you do not

need this VDIG for Windows thing eg BlackMagic Intensity Pro.

 

1. Modify the osgmovie.cpp and make sure that the .live

extension is associated with the osgdb_qt plugin:

osgDB::Registry::instance()->addFileExtensionAlias("live","qt");

 

2. run osgmovie --devices

 

If you have any live feed devices associated with a QuickTime

driver then this will spit out some command line options and

associations.

It will also spit out any pseudo Windows VDIG wrapped Direct

Show devices in the same way

 

eg: ...

4:1.live Blackmagic HDTV 720 Intensity HDTV 720p 59.94

...

1:4.live Hauppauge WinTV 418 Video Capture

(4&E384A6E&0&48F0) S-Video 3 UYVY @ 720x480

...

 

3. run osgmovie and pass it a "pseudo" file name that will be

translated by the plug-in to point at an input device eg

$ osgmovie x:y.live

 

This will force load the osgdb_qt plug-in, and then attempt to

decode the x:y.live where x and y are the input and channel of

your input - eg 5:0.live

Comments (0)

You don't have permission to comment on this page.