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

webcam



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello im having a little trouble with webcam/proftpd

I get this output from "webcam" when running in debug mode:

(dont bother about the first few lines i got to set that up still accept 
ofcourse if that could be the problem but earlyer i had those too and it 
didnt matter)

$ webcam
reading config file: /home/kernell32/.webcamrc
dlopen failed for /usr/lib/libquicktime/lqt_vorbis.so: libvorbisenc.so.0: 
cannot open shared object file: No such file or directory
ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=4): Invalid argument
ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=7): Invalid argument
ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=13): Invalid 
argument
[ftp]<< ftp>
[ftp]>> pass
[ftp]<< pass
[ftp]<< Passive mode on.
[ftp]<< ftp>
[ftp]>> close
[ftp]<< close
[ftp]<< Not connected.
ftp: lost connection
[ftp]<< ftp>
[ftp]>> open 192.168.0.3
[ftp]<< open 192.168.0.3
[ftp]<< Connected to 192.168.0.3.
[ftp]<< 220 ProFTPD 1.2.6 Server (Debian) [server.localdomain.struck]
[ftp]<< ftp>
ftp: connected to 192.168.0.3
[ftp]>> user webcam PASSWORD
[ftp]<< user webcam PASSWORD
[ftp]<< 331 Password required for webcam.
[ftp]<< 230 User webcam logged in.
[ftp]<< Remote system type is UNIX.
[ftp]<< Using binary mode to transfer files.
[ftp]<< ftp>
[ftp]>> cd ~/public_html/
[ftp]<< cd ~/public_html/
[ftp]<< 250 CWD command successful.
[ftp]<< ftp>
[ftp]>> bin
[ftp]<< bin
[ftp]<< 200 Type set to I.
[ftp]<< ftp>
[ftp]>> umask 022
[ftp]<< umask 022
[ftp]<< 500 'SITE UMASK' not understood.
[ftp]<< ftp>
video4linux webcam v1.5 - (c) 1998-2002 Gerd Knorr
grabber config:
  size 320x240 [12 bit YUV 4:2:0 (planar)]
  input webcam, norm pal, jpeg quality 75
  rotate=0, top=0, left=0, bottom=240, right=320
ftp config [ftp]:
  webcam@192.168.0.3:~/public_html/
  uploading.jpeg => webcam.jpeg
"webcam 2003-01-11 18:31:41"
[ftp]>> close
[ftp]<< close
[ftp]<< 221 Goodbye.
[ftp]<< ftp>
[ftp]>> open 192.168.0.3
[ftp]<< open 192.168.0.3
[ftp]<< Connected to 192.168.0.3.
[ftp]<< 220 ProFTPD 1.2.6 Server (Debian) [server.localdomain.struck]
[ftp]<< ftp>
ftp: connected to 192.168.0.3
[ftp]>> user webcam PASSWORD
[ftp]<< user webcam PASSWORD
[ftp]<< 331 Password required for webcam.
[ftp]<< 230 User webcam logged in.
[ftp]<< Remote system type is UNIX.
[ftp]<< Using binary mode to transfer files.
[ftp]<< ftp>
[ftp]>> cd ~/public_html/
[ftp]<< cd ~/public_html/
[ftp]<< 250 CWD command successful.
[ftp]<< ftp>
[ftp]>> bin
[ftp]<< bin
[ftp]<< 200 Type set to I.
[ftp]<< ftp>
[ftp]>> umask 022
[ftp]<< umask 022
[ftp]<< 500 'SITE UMASK' not understood.
[ftp]<< ftp>
[ftp]>> put /tmp/webcam11mXsm uploading.jpeg
[ftp]<< put /tmp/webcam11mXsm uploading.jpeg
[ftp]<< local: /tmp/webcam11mXsm remote: uploading.jpeg
[ftp]<< 227 Entering Passive Mode (192,168,0,3,4,9).
[ftp]<< 150 Opening BINARY mode data connection for uploading.jpeg
[ftp]<< 226 Transfer complete.
[ftp]<< 14499 bytes sent in 0.01 secs (2352.4 kB/s)
[ftp]<< ftp>
[ftp]>> rename uploading.jpeg webcam.jpeg
[ftp]<< rename uploading.jpeg webcam.jpeg
[ftp]<< 350 File or directory exists, ready for destination name.
[ftp]<< 250 rename successful.
[ftp]<< ftp>
[ftp]>> bye
[ftp]<< bye
[ftp]<< 221 Goodbye.
ftp: read error: Input/output error

The output without debug option:

$ webcam
reading config file: /home/kernell32/.webcamrc
dlopen failed for /usr/lib/libquicktime/lqt_vorbis.so: libvorbisenc.so.0: 
cannot open shared object file: No such file or directory
ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=4): Invalid argument
ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=7): Invalid argument
ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=13): Invalid 
argument
ftp: lost connection
ftp: connected to 192.168.0.3
video4linux webcam v1.5 - (c) 1998-2002 Gerd Knorr
grabber config:
  size 320x240 [12 bit YUV 4:2:0 (planar)]
  input webcam, norm pal, jpeg quality 75
  rotate=0, top=0, left=0, bottom=240, right=320
ftp config [ftp]:
  webcam@192.168.0.3:~/public_html/
  uploading.jpeg => webcam.jpeg
"webcam 2003-01-11 18:47:07"
ftp: connected to 192.168.0.3
ftp: read error: Input/output error

It puts the first picture perfectly.
Now i dont know too much about ftp.
Any suggestions?
It worked earlyer with same configs.
Both Workstation (where the webcam is attached to) and server are Debian SID 
machines the server running proftpd in unmodified standart configuration.
No problems with normal ftp usage.
Thanx for any help on this.
Florian

ps: the webcam is a logitech quickcam 3000 working perfectly using pwc and 
pwcx modules.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+IF1brB0qxPd0kAgRAtwzAJ9T3r/25wgd5sMUo2qoDM7sbhswegCgiFYb
7+E76p9P4awn3cv2pBGrHEs=
=1S8f
-----END PGP SIGNATURE-----



Reply to: