<HTML ><HEAD ><TITLE > Stream with the Visiontech Kfir card </TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="VideoLAN HOWTO" HREF="index.html"><LINK REL="UP" TITLE=" Stream from an MPEG encoding card " HREF="hardencoding.html"><LINK REL="PREVIOUS" TITLE=" Stream with the Hauppauge WinTV-PVR-250 card " HREF="x867.html"><LINK REL="NEXT" TITLE=" Stream from an acquisition card or a webcam " HREF="softencoding.html"></HEAD ><BODY CLASS="sect1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >VideoLAN HOWTO</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="x867.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 7. Stream from an MPEG encoding card</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="softencoding.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="sect1" ><H1 CLASS="sect1" ><A NAME="AEN932" ></A >7.2. Stream with the Visiontech Kfir card</H1 ><DIV CLASS="sect2" ><H2 CLASS="sect2" ><A NAME="AEN934" ></A >7.2.1. Install the drivers</H2 ><P > If you want to be able to stream from a Visiontech Kfir card, you need to install its Linux drivers. Download the latest release of the drivers from the <A HREF="http://www.linuxtv.org/download/mpeg2/" TARGET="_top" >drivers download page</A > of the <A HREF="http://www.linuxtv.org/" TARGET="_top" >LinuxTV web site</A > .</P ><P > Uncompress the tarball and follow the instructions written in the <TT CLASS="filename" >INSTALL</TT > file to compile and install the drivers .</P ><DIV CLASS="note" ><P ></P ><TABLE CLASS="note" WIDTH="100%" BORDER="0" ><TR ><TD WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG SRC="../images/note.gif" HSPACE="5" ALT="Note"></TD ><TD ALIGN="LEFT" VALIGN="TOP" ><P > If you have a VIA chipset, you need to disable USB in the BIOS .</P ></TD ></TR ></TABLE ></DIV ></DIV ><DIV CLASS="sect2" ><H2 CLASS="sect2" ><A NAME="AEN943" ></A >7.2.2. Stream with VLC</H2 ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="screen" > <TT CLASS="prompt" >% </TT ><TT CLASS="userinput" ><B >vlc -vvv kfir:/dev/video --sout udp:192.168.0.42 --ttl 12</B ></TT > </PRE ></FONT ></TD ></TR ></TABLE ><P >where :</P ><P ></P ><UL ><LI ><P ><TT CLASS="filename" >/dev/video</TT > is the device corresponding to the Kfir card ,</P ></LI ><LI ><P ><EM >192.168.0.42</EM > is either :</P ><P ></P ><UL ><LI ><P > the IP address of the machine you want to unicast to ;</P ></LI ><LI ><P > or the DNS name the machine you want to unicast to ;</P ></LI ><LI ><P > or a multicast IP address .</P ></LI ></UL ></LI ><LI ><P ><EM >12</EM > is the value of the TTL (Time To Live) of your IP packets (which means that the stream will be able to cross 11 routers) .</P ></LI ></UL ></DIV ><DIV CLASS="sect2" ><H2 CLASS="sect2" ><A NAME="AEN966" ></A >7.2.3. Stream with VLS</H2 ><P > There is no command line interface for this input for the moment, so you will have to use the configuration file .</P ><P > Here is a typical configuration file <TT CLASS="filename" >vls.cfg</TT >to run VLS with a VisionTech Kfir encoding card :</P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="programlisting" > # vls.cfg (VLS configuration file) # Example of the VideoLAN HOWTO for the Visiontech Kfir encoding card BEGIN "Inputs" kfir = "video" END BEGIN "kfir" # Visiontech Kfir device Device = "/dev/video" # Stream type (default is "Mpeg2-PS") Type = "Mpeg2-PS" END BEGIN "Channels" channel1 = "network" END BEGIN "channel1" # Unicast or multicast IP address DstHost = "192.168.0.42" # Destination port DstPort = "1234" # If it's a multicast IP address, uncomment the line below #Type = "multicast" # If it's a multicast IP address, set the "Time To Live" below #TTL = "12" END BEGIN "LaunchOnStartUp" command1 = "start video channel1 kfir" END </PRE ></FONT ></TD ></TR ></TABLE ><P > Once you have adapted the configuration file above, run VLS :</P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="screen" > <TT CLASS="prompt" >% </TT ><TT CLASS="userinput" ><B >vls -vv -f vls.cfg</B ></TT > </PRE ></FONT ></TD ></TR ></TABLE ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="x867.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="softencoding.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Stream with the Hauppauge WinTV-PVR-250 card</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="hardencoding.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Stream from an acquisition card or a webcam</TD ></TR ></TABLE ></DIV ></BODY ></HTML >