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 drivers download page of the LinuxTV web site .
Uncompress the tarball and follow the instructions written in the INSTALL file to compile and install the drivers .
If you have a VIA chipset, you need to disable USB in the BIOS . |
% vlc -vvv kfir:/dev/video --sout udp:192.168.0.42 --ttl 12 |
where :
/dev/video is the device corresponding to the Kfir card ,
192.168.0.42 is either :
the IP address of the machine you want to unicast to ;
or the DNS name the machine you want to unicast to ;
or a multicast IP address .
12 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) .
There is no command line interface for this input for the moment, so you will have to use the configuration file .
Here is a typical configuration file vls.cfgto run VLS with a VisionTech Kfir encoding card :
# 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 |
Once you have adapted the configuration file above, run VLS :
% vls -vv -f vls.cfg |