Need help with VLS configuration and streaming
Posted: 02 Aug 2006 15:42
Hey everyone...
I've installed VLS on my Fedora server. I tried to install VLC, but ran into dependency HELL. After some research I decided VLS was the option I wanted to try for ease of set up.
Well, I have VLS running on my server now. I've configured my vls.cfg file correctly (or so I thought).
I'm trying to send a ASF stream to the server via VLC client on my home computer. I use the streaming via HTTP option and send it to the port I'm running VLS on (1234 in this case for testing purposes) but when i complete the wizard, VLC "plays" for a second or 2 and then stops. This tells me either my stream is not hitting the server, or the server does not know what do do with the stream once it gets it.
Here is a copy of my vls.cfg file...
Does anyone see any errors in my configuration that I've somehow missed? I'm sure I'm making a 'dumb' mistake here someplace, but would appreciate it if some of the old hands might be able to take a look at this.
Thanks in advance for your help!
I've installed VLS on my Fedora server. I tried to install VLC, but ran into dependency HELL. After some research I decided VLS was the option I wanted to try for ease of set up.
Well, I have VLS running on my server now. I've configured my vls.cfg file correctly (or so I thought).
I'm trying to send a ASF stream to the server via VLC client on my home computer. I use the streaming via HTTP option and send it to the port I'm running VLS on (1234 in this case for testing purposes) but when i complete the wizard, VLC "plays" for a second or 2 and then stops. This tells me either my stream is not hitting the server, or the server does not know what do do with the stream once it gets it.
Here is a copy of my vls.cfg file...
Code: Select all
# vls configuration file (Example)
# Application wide settings
#BEGIN "Vls"
# LogFile = "vls.log" # log file
# ScreenLog = "enable" # log to the console
# SystemLog = "disable" # log to the systemlog
#END
BEGIN "Vls"
LogFile = ""
SystemLog = "enabled"
ScreenLog = "disabled"
END
# Security informations :
#
# The section "Groups" describes which group is allowed to use which command.
# Each user who belongs to the 'master" group has all the power on the server.
# Each one who belongs to the "monitor" group is a "read-only" user.
BEGIN "Groups"
# --- Format:
# groupname = "cmd1|cmd2|..."
# --- Example:
monitor = "help|browse|logout"
master = "help|browse|start|resume|suspend|stop|shutdown|logout|config|program|input|channel|show"
END
# The section "Users" describes each user
# Use "mkpasswd" to generate the encrypted password.
BEGIN "Users"
# --- Format:
# username = "encryptedpassword:group"
# --- Example:
XXXXXXXXX= "XXXXXXXXX:monitor" # password is ''
XXXXXXXXXX = "XXXXXXXXX:master" # password is ''
END
# Telnet Administration
BEGIN "Telnet"
# Domain = "Inet6" # Inet4 or Inet6
LocalPort = "9999" # Port to use for that purpose
Use = "true"
END
# Streams sources declaration
BEGIN "Inputs"
# --- Format:
# InputName = "Type"
# --- Example:
local1 = "local" # Local input example
# kfir = "video" # Video input example (mpeg encoder)
# dvb = "dvb" # Video input example (DVB card)
END
# --- Format:
# BEGIN "program_number"
# Name = "program_name"
# Type = "type" # can be Mpeg1-PS, Mpeg2-PS, Mpeg2-TS, or Dvd
# FileName = "path" # use this variable if Type is not "Dvd"
# Device = "device" # use this variable with type "Dvd"
# END
# --- Example:
BEGIN "Local1"
ProgramCount = "1"
TrickPlay = "normal"
END
# Video input configuration
BEGIN "kfir"
# --- Example:
# Device = "/dev/video" # Video4linux device (default is /dev/video)
# Type = "Mpeg2-PS" # Stream type (default is "Mpeg2-PS")
END
# Video input (DVB) configuration
BEGIN "dvb"
# --- Example:
# DeviceNumber = "0" # /dev/dvb/adapter<i>
# SendMethod = "0" # 0 - Send All Pids
# 1 - Send only MPEG2 datas
END
# Channel (outputs) declaration
BEGIN "Channels"
# --- Format:
# ChannelName = "Type"
# --- Example:
localhost = "network"
# client1 = "network"
# client2 = "network"
multicast = "network"
# localfile = "file"
END
# Channels configuration
BEGIN "localhost" # The client is on the same host as the server
# DstHost = "127.0.0.1"
# DstPort = "1234"
END
#BEGIN "client1" # unicast example
# DstHost = "192.168.1.2" # destination host
# DstPort = "1234" # destination port
#END
#BEGIN "client2" # unicast with IPv6 example
# Domain = "inet6"
# DstHost = "3ffe:ffff::2:12:42" # destination host
# DstPort = "1234" # destination port
#END
#BEGIN "multicast" # multicast example
Type = "multicast"
TTL = "1" # Time To Live
# DstHost = "239.2.12.42" # multicast address
DstPort = "1234" # destination port
#END
#BEGIN "localfile" # file output example
# FileName = "stream.ts"
# Append = "no" # rewrite the file if it exists
#END
# Commands automatically lanched on Startup
# Commands shall be like they would be typed in a telnet console.
BEGIN "LaunchOnStartUp"
# command1 = "start dolby localhost local1 --loop"
# command2 = "start 28009 client1 dvb"
END
Thanks in advance for your help!