hamei wrote:
The part you might like to experiment with is the video. Supposedly Irix supports IIDC video input through firewire. The Apple firewire webcam does not work. I got a Texas Instruments firewire webcam that is seen but doesn't work. The Canopus ADVC cards are supposed to work, but I've never heard of anyone who made it happen. They should - they are "supported" after all, maybe a support contract with SGI would be worthwhile
ClassicHasClass wrote:
I have two IIDC cams here, an iSight (which I believe makes Irix crash, according to the aggregator), and an Orange Micro iBOT. The iBOT is different enough that I might give it a shot......I have a Canopus ADVC-300 here too. Is that what you mean by "card"? It's an external FireWire device. I have ADS Pyro A/Vs coming out my ears, but I see Neko tried and failed with those.
Firewire video won't use any of the classic IRIX video tools (e.g. Media Recorder and videod, et al) that you may have experienced on your Indy. Instead FW video use DM10 specific ML video libraries - which
aren't
included with a default install of the DM10 software package.
After you install the DM10 software package (see below for more on that subject), the DM10, IIDC and AV/C man pages will give you a better idea of which protocols are supported, the software tools provided, and some (basic) hints are to how they're used. Don't mean to bury you in tech notes, but they give the best clues as to what's need to get all the software bits you'll need to get FW video working. None of the DM10 related man pages are available through TechPubs, so I've quoted them here:
Code:
% man dm10
dm10(7) dm10(7)
NAME
dm10, - DMediapro(tm) DM10
DESCRIPTION
The DMediapro(tm) DM10 product is a PCI-based IEEE-1394 (FireWire) option
card for Silicon Graphics systems.
Supported Systems
The DMediapro(tm) DM10 is supported on the following systems:
o Silicon Graphics Fuel
o Silicon Graphics Tezro
o Silicon Graphics O2
o Silicon Graphics Octane/Octane2
o Onyx 350 InfiniteReality
o Onyx 350 InfinitePerformance
o Onyx 4 UltimateVision
Supported Protocols
The DMediapro(tm) DM10 supports the following protocols:
o libfw (userspace FireWire interface library)
o IIDC
o AV/C
o SBP2
Supported Devices
While any device compliant with the above protocols should work, the
DMediapro(tm) DM10 has been tested by SGI with the following devices:
IIDC
o Kritter Digital Camera
o PointGrey Firefly2
AV/C
o Canopus ADVC-100
SBP2
o LaCie D2
o Maxtor OneTouch
o Enclosures using Oxford 911 Chipsets
o Enclosures using Oxford 912 Chipsets (with 9p to 6p cable)
NOTES
The IIDC and AV/C protocols requires that the ML software subsystems be
installed for proper operation.
See the DM10 libfw manpage for libfw programming information.
See the DM10 IIDC manpage for DM control parameters.
See the DM10 AV/C manpage for DM control parameters.
See the dksc manpage for SBP2 mount points.
FILES
/usr/share/src/dmedia/firewire/*
Example source code for programming libfw.
/usr/share/src/dmedia/video/iidc/*
Example source code for programming IIDC.
/usr/share/src/dmedia/video/avc/*
Example source code for programming AV/C.
SEE ALSO
DMediaPro DM10 Release Notes, fwprobe(1)
Code:
% man IIDC
iidc(7) iidc(7)
NAME
iidc - DMediapro(tm) DM10 IIDC Protocol
DESCRIPTION
The DMediapro(tm) DM10 IIDC Protocol is a method for controlling and
transferring data from IIDC video devices.
This protocol allows real-time input of a wide array of video formats.
The DM10 IIDC Video Protocol Option requires that the ML software
subsystems be installed for proper operation.
Supported Video Formats
The IIDC Protocol supports video formats defined by the 1394 Trade
Organization. These formats include support for:
o 160x120, 320x240, 640x480, 800x600, 1024x768, 1280x960, and 1600x1200
video formats
o 1.875, 3.75, 7.5, 15, 30, and 60 Hz vertical rates
o 4 x 3 aspect ratio
Supported Video Component Sampling
4:1:1, 4:2:2, and 4:4:4 modes are supported.
Color Representations
The IIDC Protocol uses three components with eight bits of precision at
all steps of its internal pipeline.
Control Parameters
IIDC specific control parameters are identified in ml_iidc.h which is
included with the IIDC subsystem. Other controls can be found through
standard ML methods, or by using mlquery as:
mlquery -d <iidc device> -v all
FILES
/usr/share/src/dmedia/video/iidc/*
Example source code for programming IIDC.
SEE ALSO
DMediaPro DM10 Release Notes
Code:
% man AVC
avc(7) avc(7)
NAME
avc - DMediapro(tm) DM10 AV/C Protocol
DESCRIPTION
The DMediapro(tm) DM10 AV/C Protocol is a method for controlling and
transferring data to and from AV/C video devices.
This protocol allows real-time output and input to and from of a wide
array of video formats.
The DM10 AV/C Video Protocol Option requires that the ML software
subsystems be installed for proper operation.
Supported Video Formats
The AV/C Protocol supports video formats defined by the 1394 Trade
Organization. These formats include support for:
o (NTSC) 720x480 @ 30fps, (PAL) 720 x 576 @ 25fps video formats
o DVC and DVCPRO Compression
o Audio support for 48kHz (16-bit) or 32KHz (12-bit)
Supported Video Component Sampling
4:1:1 mode (DVC standard) is supported.
Color Representations
The AV/C Protocol uses three components with eight bits of precision at
all steps of its internal pipeline.
Control Parameters
AV/C specific control parameters are identified in ml_avc.h which is
included with the AV/C subsystem. Other controls can be found through
standard ML methods, or by using mlquery as:
mlquery -d <avc device> -v all
FILES
/usr/share/src/dmedia/video/avc/*
Example source code for programming AV/C.
SEE ALSO
DMediaPro DM10 Release Notes
As mentioned earlier, if you do a "Default Installation" of the DM10 software package,
you *won't* get the IIDC and AV/C software
. To get around that select the "Custom Installation ..." tab, open the drop arrows next each of the DM10 selections and manually select
ALL
of the subsystems, including/especially the DM10 Dev stuff.
Attachment:
DM10_Install.jpg [ 97.55 KiB | Viewed 78 times ]
That sould give you the IIDC and AV/C source code samples nekonoko mentioned using (
read down starting here
. The acv_vidtogfx or iidc_vidtogfx executables sound like a reasonable place to start testing your FW cameras. To do much more than that, or take advantage of the avc_vidtomemory/iidc_vidtomemory program stubs you'll likely have to code your own app.
Attachment:
fw_video_source_code.jpg [ 132.65 KiB | Viewed 78 times ]
ClassicHasClass wrote:
More importantly, do these all work with 6.5.22?
There weren't any release notes included with
the DM10 1.1 package
, but the release notes for
the previous version (DM10 1.0.1)
mention:
Code:
2.2 Prerequisites
o The DM10 1.0.1 system software requires Irix 6.5.21 or
greater.
o On Irix 6.5.21, patchSG0005442 is required and it is
also recommended to use patchSG0005243 and
patchSG0005226.
o On Irix 6.5.22, patchSG0005442 is required and it is
also recommended to use patchSG0005409.
o On Irix 6.5.23, no patches are required.
There are some notes on installing the DM10 software
in this post
.
If you have the chance to try it out please let us know what you discover.