Composite video streaming - Fedora

About encoding, codec settings, muxers and filter usage
rajuptb
New Cone
New Cone
Posts: 3
Joined: 20 Aug 2004 14:19

Composite video streaming - Fedora

Postby rajuptb » 20 Aug 2004 14:57

Hello

I am a newbe to videolan . I am trying to stream composite video from my tv tuner card (pixel view play tv pro) . I had installed the card and i can see the video coming through the composite video interface using xawtv. i configured video lan as follows

cd vls-0.5.6
./configure --enable-v4l --with-ffmpeg=/usr/sbin
make
make install

everything went fine here


But whenever iam running the server using the command
vls -vv -f /usr/local/etc/videolan/vls/vls.cfg

iam geting the following messages

VideoLAN Server v 0.5.6 (Aug 20 2004) - (c)1999-2003 VideoLAN
2004-08-20 18:00:38 [INFO/Vls] Module "channel:file" registered
2004-08-20 18:00:38 [INFO/Vls] Module "channel:network" registered
2004-08-20 18:00:38 [INFO/Vls] Module "mpegreader:file" registered
2004-08-20 18:00:38 [INFO/Vls] Module "mpegconverter:ts2ts" registered
2004-08-20 18:00:38 [INFO/Vls] Module "mpegconverter:ps2ts" registered
2004-08-20 18:00:38 [INFO/Vls] Module "input:local" registered
2004-08-20 18:00:38 [INFO/Vls] Module "input:video" registered
2004-08-20 18:00:38 [INFO/Vls] Browsing modules in directory "."
2004-08-20 18:00:38 [INFO/Vls] Browsing modules in directory "/usr/local/lib/videolan/vls"
2004-08-20 18:00:38 [INFO/Vls] Module "mpegreader:dvd" registered
2004-08-20 18:00:38 [INFO/Vls] Channel 'channel1' created
2004-08-20 18:00:38 [ERROR/Vls] Input type "v4l" invalid
2004-08-20 18:00:39 [INFO/Vls] Executing command1 : 'start video channel1 webcam'
2004-08-20 18:00:39 [WARN/Vls] Unknown pgrm video
2004-08-20 18:00:39 [WARN/Vls] input doesn't exist




this is my /usr/local/etc/videolan/vls/vls.cfg

# vls.cfg (VLS configuration file)
# Example of the VideoLAN HOWTO for the Video for Linux input

BEGIN "Inputs"
webcam = "v4l"
#webcam = "video"
END

BEGIN "webcam"
# V4L device
Device = "/dev/video"
# Channel Source : Webcam is often "0"
# TV Card, may be Tuner(0), Composite(1), Svideo(2)
Channel = "1"
# Norm: PAL=0, NTSC=1, SECAM=2
Norm = "0"
# Frequency of the channel in Mhz, multiplied by 16 (tuner cards only)
Frequency = "7668"
# Size possibilities: can be either:
# - empty string : default size
# - width x height
# - subQCIF(128x96), QSIF(160x120), QCIF(176x144), SIF(320x240),
# CIF(352x288), VGA (640x480)
Size = ""

# DeInterlace: "0" = no ; "1" = yes
DeInterlace = "0"

# Video compression format: "mpeg1" or "mpeg4"
Compression = "mpeg4"

# Video bitrate (approx.) in kbps
Bitrate = "500"

# Quality: "1.0" (good) to "31.0" (bad)
Quality = "1.0"

# Sound device
AudioDevice = "/dev/dsp"

# Audio compression format: "mp2", "mp3" or "ogg"
AudioCompression = "mp2"

# Audio bitrate in kpbs
AudioBitrate = "64"

# Audio frequency ("16000", "22050", "24000", "32000", "44100" or "48000")
AudioFreq = "16000"

# Audio channel: "1" = mono ; "2" = stereo
AudioChannel = "2"

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 webcam"

END


I am using Fedora core 2 kernel 2.6.5-1.358 on i686
Is anyboady can help me in solving this problem.
also tell me how i can stream the same through http

Thanks in advance
Raju

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 11 guests