Video Format Compiler on iR

New Message Reply Date view Thread view Subject view Author view

Sylvain Mayer (mayer++at++poster.cae.ca)
Thu, 28 May 1998 20:12:26 -0400


hi,

I want to output a video signal matching the RS343 spec
out of an Infinite Reality. The Reality Engine used to offer the
following vof which matches RS343 exactly:

VOF 960x802_30i.u:
  Active Line Length: 960 pixels, 30.99 usec.
  Vertical Active Height: 802 lines
  Nominal Line Period (total width): 1180 pixels, 38.10 usec.
  Lines Per Frame: 875 lines
  Pixel Clock: 30.975000 MHz, period = 32.284100 nsec.
  Horizontal Line Frequency: 26.250 KHz
  Horizontal Sync Duration: 85 pixels, 2.74 usec.
  Horizontal Back Porch Duration: 105 pixels, 3.39 usec.
  Horizontal Front Porch Duration: 30 pixels, 0.97 usec.
  Vertical Front Porch Duration: 3540 pixels, 3.0 lines, 0.11 msec
  Vertical Sync Duration: 3540 pixels, 3.0 lines, 0.11 msec
    Sync Pulse Duration: 530 pixels, 17.11 usec
    Sync Pulse Count: 6
  Vertical Back Porch Duration: 36580 pixels, 31.0 lines, 1.18 msec
  VWALK to ACTIVID duration: 10640 pixels, 9.016949 lines
  Frame Frequency: 30 Hz Interlaced, 2 Fields
  Flags: (None)

I have tried to used the VFC (Video Format Compiler) to create something
very similar to this but I'm getting some errors when compiling the format.

I know this is probably some misunderstanding about the FIELD definition
but I can't find what is wrong. AFAIK, the number of lines defined in
the field definition is equal to the TotalLinesPerFrame but I'm still
getting an error telling me that I'm defining too much lines.

I've included my vfs file as well as the errors generated by the compiler.

If someone can help, I would appreciate.

thanks

following is the what I called rs343.vfs

General
{
    FieldsPerFrame = 2;
    FramesPerSecond = 30.0;
    TotalLinesPerFrame = 875;
    TotalPixelsPerLine = 1180;
    ActiveLinesPerFrame = 802;
    ActivePixelsPerLine = 960;
     
    FormatName = "RS343";
}

Active Line
{
    HorizontalFrontPorch = 0.97 usec;
    HorizontalBackPorch = 3.39 usec;
    HorizontalSync = 2.74 usec;
}

Field
{
    offset = 0;

    Vertical Sync =
    {
        repeat 3
        {
            Length = 1.0H;
            Low = 0 usec;
            High = 0.11 msec;
        }
    }
     
    Vertical Back Porch =
    {
        repeat 31
        {
            Length = 1.0H;
            Low = 0 usec;
            High = 1.18 msec;
        }
    }

    Active =
    {
        repeat 401
        {
            Length = 1.0H;
            Low = 0 usec;
            High = HorizontalSync;
        }
    }

    Vertical Front Porch =
    {
        repeat 3
        {
            Length = 1.0H;
            Low = 0 usec;
            High = 0.11 msec;
        }
    }
}

Field
{
    offset = 1;

    Vertical Sync =
    {
        repeat 3
        {
            Length = 1.0H;
            Low = 0 usec;
            High = 0.11 msec;
        }
    }

    Vertical Back Porch =
    {
        repeat 31
        {
            Length = 1.0H;
            Low = 0 usec;
            High = 1.18 msec;
        }
    }

    Active =
    {
        repeat 401
        {
            Length = 1.0H;
            Low = 0 usec;
            High = HorizontalSync;
        }
    }

    Vertical Front Porch =
    {
        repeat 3
        {
            Length = 1.0H;
            Low = 0 usec;
            High = 0.11 msec;
        }
    }
}

And following is the errors I got from the compilation

[sgioms] ~/vfc> /usr/sbin/vfc -a ascii=rs343MAYER2.txt -c chip=voc1.def,board=dg4.def -o rs343.vfo /usr/people/mayer/vfc/rs343.vfs
"/usr/people/mayer/vfc/rs343.vfs", line 105: You specified sync on line 876.888 but the format has only 875 lines per frame.
Shorten your format definition.
"/usr/people/mayer/vfc/rs343.vfs", line 105: You specified sync on line 877.888 but the format has only 875 lines per frame.
Shorten your format definition.
"/usr/people/mayer/vfc/rs343.vfs", line 104: You specified sync on line 876 but the format has only 875 lines per frame.
Shorten your format definition.
"/usr/people/mayer/vfc/rs343.vfs", line 105: You specified sync on line 878.888 but the format has only 875 lines per frame.
Shorten your format definition.
Compilation completed with errors. No video format created.
[sgioms] ~/vfc>

AGAIN, thanks a lot

-- 

Sylvain Mayer, 3D Graphics Developer Visual Database Tools CAE Electronics Ltd. (http://www.cae.ca)

======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:27 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.