live streaming webcam problems ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi

What I'm trying to do is to stream pictures from a webcam  -or movies-  to a
webpage on another
server.

I use kernel 2.4.20
the camera is a USB Philips Toucam XS 720k/20 with the *right* ov511 &
ov518_decomp modules

I have tried camserv and xawtv and both work on the localhost
http://localhost:9192      (which is 192.168.110.20)

but when I want to access to the page where the picture should be from
another machine (192.168.110.7) all it says is "loading ... "    but speed
quickly drops to
13b/sec and  its a 100 Mb link

Camserv says "Accepted new socket 192.168.110.7"

I really can't figure out what I'm doing wrong, so any help would be greatly
appreciated

thanks

<--------------- camserv.cfg --------------->
# video_basic: The 'basic' color-changing video module.
[video_basic]
path  /usr/local/lib/camserv/libvideo_basic.so

[video_v4l_qcam]
path  /usr/local/lib/camserv/libvideo_v4l.so
device_path /dev/video0
port  0
color  30000
hue  30000
contrast 30000
brightness 30000
whiteness 30000
autobright 0



[jpg_filter]
path            /usr/local/lib/camserv/libjpg_filter.so
quality  30

# text_filters:  Text filters are used to provide text on your webcam
# bg,fg          == #RRGGBB if RGB camera, #CC if B&W camera,else
'transparent'
# x,y            == Coordinates for the text
# mangle         == 0 turns off mangling of the 'text', 1 turns it on
# text           == Text to display.  If mangling == 1, special metachars
#                   such as '%X' will be expanded -- see date(1) for lots of
#                   flags
# fontname       == 6x11 or 8x8 for the fontsize.

[hello_world_banner]
path            /usr/local/lib/camserv/libtext_filter.so
text  Hello World
bg  #000000
fg  #ffffff
x  0
y  0
mangle  0
fontname 6x11

[time_stamp]
path            /usr/local/lib/camserv/libtext_filter.so
text  Time: %X
bg  #000000
fg  #ffffff
x  0
y  11
mangle  1
fontname 8x8

[static_filter]
path  /usr/local/lib/camserv/librand_filter.so
num_perline 20
coloredpix 0

#
# You can add the imlib2_filter to your filters list to display pictures
# over your own, or small regions, or whatever your heart desires.
[imlib2_filter]
path  /usr/local/lib/camserv/libimlib2_filter.so
file  /tmp/my_nasty_picture.png
x  0
y  0

##########################################
#  Begin Fixed Sections                  #
##########################################

# socket parameters:
# listen_port = port the camserv program listens on
#       max_frames  = Maximum # of frames to send to the client before
#                     closing the connection (0 disables)
#       max_bytes   = Maximum # of bytes to send to a client before
#                     closing the connection (0 disables)
#       max_seconds = Maximum # of seconds a client can be connected before
#                     being closed (0 disables)

[socket]
listen_port  9192
max_frames  0
max_bytes  0
max_seconds  0

[filters]
num_filters           2
filter0_section  time_stamp
filter1_section  jpg_filter


# [video] - This section is devoted to all things dealing with the pictures
#           taken by the input video module.  These are general things which
#           should be used by all video modules.

[video]
video_section  video_v4l_qcam
width   340
height   240
maxfps         0
memhack   1

[main]
# To do a single time invocation of the output from the camserv,
# use output_snapfile which designates the output location, and
# output_presnaps to take a number of pictures before finally outputting
# the final image.
#output_snapfile  foo.jpg
#output_presnaps  100




[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux