7.3. Stream with VLS

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.cfg to run VLS with a kfir encoding card:

# vls.cfg (VLS configuration file)
# Example of the VideoLAN HOWTO for the Kfir encoding card

BEGIN "Inputs"

  kfir       = "video"

END

BEGIN "kfir"

  # 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